Skip to content

Commit b0023c0

Browse files
committed
Use --yarn from command line
1 parent e8b0932 commit b0023c0

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

DEVELOPMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ To enforce this consistently, both packaging and publishing use `scripts/vsce-re
7373
Use the following commands:
7474
7575
```sh
76-
> yarn package [--target <target>]
77-
> yarn publish [--target <target>]
76+
> yarn run package [--target <target>]
77+
> yarn run publish [--target <target>]
7878
```
7979
8080
## Developing

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@
403403
"lint": "eslint .",
404404
"test": "jest --reporters=default --reporters=./node_modules/jest-html-reporter",
405405
"all": "yarn && yarn download-tools && yarn test",
406-
"package": "node ./scripts/vsce-release.js package",
407-
"publish": "node ./scripts/vsce-release.js publish",
406+
"package": "node ./scripts/vsce-release.js package --yarn",
407+
"publish": "node ./scripts/vsce-release.js publish --yarn",
408408
"tpip:report": "tsx scripts/tpip-reporter --header docs/tpip-header.md docs/third-party-licenses.json TPIP.md",
409409
"lint:md": "markdownlint **/*.md -c ./.github/markdownlint.jsonc -i ./node_modules -i ./dist -i ./coverage -i ./tools",
410410
"check:links": "tsx scripts/check-links.ts -i ./node_modules/** -i ./.github/** -c ./.github/markdown-link-check.jsonc",

scripts/vsce-release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if (!allowedCommands.has(command)) {
3232
}
3333

3434
const passthroughArgs = process.argv.slice(3);
35-
const args = [command, '--yarn', ...passthroughArgs];
35+
const args = [command, ...passthroughArgs];
3636

3737
if (isPreReleaseChannel) {
3838
args.push('--pre-release');

0 commit comments

Comments
 (0)