Skip to content

Update .npmrc to disallow running install scripts#9219

Open
phil-allen-msft wants to merge 1 commit intomainfrom
dev/phil-allen-msft/disable-install-scripts
Open

Update .npmrc to disallow running install scripts#9219
phil-allen-msft wants to merge 1 commit intomainfrom
dev/phil-allen-msft/disable-install-scripts

Conversation

@phil-allen-msft
Copy link
Copy Markdown
Member

Update .npmrc to disallow running install scripts

@phil-allen-msft phil-allen-msft requested a review from a team as a code owner April 21, 2026 22:26
@WardenGnaw
Copy link
Copy Markdown
Contributor

WardenGnaw commented Apr 22, 2026

You are going to need to add a --ignore-scripts=false to the vsix publish command since they require scripts running.

E.g.
npm i -g @vscode/vsce --userconfig $(Build.SourcesDirectory)/.npmrc --ignore-scripts=false

I think its here:

export async function createPackageAsync(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants