
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
update-vscode-extension-cli
Advanced tools
update-vscode-extension-cliupdate-vscode-extension-cli 简称 uvec
uvec packageUsage:
$ uvec package [cwd]
Options:
--pkg-name 要发布的npm包的package.json中的name, 默认为vscode插件的package.json的name
--pkg-version 默认为package.json中的version, 可用值: [new-version] | major | minor | patch | premajor | preminor | prepatch | prerelease
--only-build (default: false)
--registry-url (default: https://registry.npmjs.org/)
--cache-dir 构建npm包的暂存区 (default: ~/.uvec)
--vsce vsce package的参数
--publish npm publish/yarn publish的参数
-h, --help Display this message
Examples:
onlyBuild模式(只构建npm包, 剩余部分自己实现): uvec package . --only-build --pkg-name='@hupu/vscode-extension' -vsce.out='hupu.vsix' --vsce.no-yarn --vsce.allow-star-activation
default模式(打包并发布npm包): uvec package . --registry-url='http://hnpm.hupu.io/' --pkg-name='@hupu/vscode-extension' -vsce.out='hupu.vsix' --vsce.no-yarn --vsce.allow-star-activation
更多详情请看:
https://juejin.cn/post/7141662937420136479/
--vsce 参数vsce不是本包的强制依赖, 本包已经将vsce@2作为peerDependencies
如果最新的vsce有什么问题, 可能是兼容没做好, 可以降级到 vsce@2.11.0
从
vsce package的参数中改造, 可能vsce支持了最新参数, 但是下面
--out <path> npm包中 (defaults to ./extension.vsix)
--target <target> Target architecture
--message <commit message> Commit message used when calling `npm version`.
--no-git-tag-version Do not create a version commit and tag when calling `npm version`. Valid only when
[version] is provided.
--no-update-package-json Do not update `package.json`. Valid only when [version] is provided.
--githubBranch <branch> The GitHub branch used to infer relative links in README.md. Can be overriden by
--baseContentUrl and --baseImagesUrl.
--gitlabBranch <branch> The GitLab branch used to infer relative links in README.md. Can be overriden by
--baseContentUrl and --baseImagesUrl.
--no-rewrite-relative-links Skip rewriting relative links.
--baseContentUrl <url> Prepend all relative links in README.md with this url.
--baseImagesUrl <url> Prepend all relative image links in README.md with this url.
--yarn Use yarn
--no-yarn Use npm
--ignoreFile <path> Indicate alternative .vscodeignore
--no-gitHubIssueLinking Disable automatic expansion of GitHub-style issue syntax into links
--no-gitLabIssueLinking Disable automatic expansion of GitLab-style issue syntax into links
--dependencies Enable dependency detection via npm or yarn
--no-dependencies Disable dependency detection via npm or yarn
--pre-release Mark this package as a pre-release
--allow-star-activation Allow using * in activation events
--allow-missing-repository Allow missing a repository URL in package.json
FAQs
update-vscode-extension-cli
We found that update-vscode-extension-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.