vsce package

Packages an extension

Options

NameDescription
-o, --out <path>Output .vsix extension file to <path> location (defaults to <name>-<version>.vsix)
-t, --target <target...>Target architecture
-m, --message <commit message>Commit message used when calling `npm version`
--no-git-tag-versionDo not create a version commit and tag when calling `npm version`. Valid only when [version] is provided
--no-update-package-jsonDo 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 overridden by --baseContentUrl and --baseImagesUrl
--gitlabBranch <branch>The GitLab branch used to infer relative links in README.md. Can be overridden by --baseContentUrl and --baseImagesUrl
--no-rewrite-relative-linksSkip 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
--yarnUse yarn instead of npm (default inferred from presence of yarn.lock or .yarnrc)
--no-yarnUse npm instead of yarn (default inferred from lack of yarn.lock or .yarnrc)
--ignoreFile <path>Indicate alternative .vscodeignore
--no-gitHubIssueLinkingDisable automatic expansion of GitHub-style issue syntax into links
--no-gitLabIssueLinkingDisable automatic expansion of GitLab-style issue syntax into links
--no-dependenciesDisable dependency detection via npm or yarn
--pre-releaseMark this package as a pre-release