Skip to content

Commit 2c41a38

Browse files
committed
switch to yarn
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent d875e4c commit 2c41a38

File tree

7 files changed

+18452
-33209
lines changed

7 files changed

+18452
-33209
lines changed

Diff for: package-lock.json

-7,337
This file was deleted.

Diff for: package.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"scripts": {
2727
"build": "./scripts/build.sh",
2828
"postinstall": "node ./node_modules/vscode/bin/install",
29+
"install-all": "yarn && cd web-app && yarn",
2930
"lint": "eslint src/**/*ts",
3031
"package": "./scripts/package.sh",
3132
"storybook": "cd web-app && npm run storybook",
@@ -37,20 +38,20 @@
3738
"@types/assert": "^1.4.6",
3839
"@types/jest": "^25.2.1",
3940
"@types/jsdom": "^16.2.1",
40-
"@types/node": "^13.11.1",
41+
"@types/node": "^13.13.0",
4142
"@types/semver": "^7.1.0",
42-
"@typescript-eslint/eslint-plugin": "^2.27.0",
43-
"@typescript-eslint/parser": "^2.27.0",
43+
"@typescript-eslint/eslint-plugin": "^2.28.0",
44+
"@typescript-eslint/parser": "^2.28.0",
4445
"chokidar": "^3.3.0",
4546
"dotenv": "^8.2.0",
4647
"eslint": "^6.8.0",
4748
"eslint-config-prettier": "^6.10.1",
48-
"eslint-plugin-prettier": "^3.1.2",
49+
"eslint-plugin-prettier": "^3.1.3",
4950
"jest": "^25.3.0",
5051
"jsdom": "^16.2.2",
5152
"prettier": "^2.0.4",
52-
"semver": "^7.2.2",
53-
"ts-jest": "^25.3.1",
53+
"semver": "^7.3.2",
54+
"ts-jest": "^25.4.0",
5455
"typescript": "^3.8.3"
5556
},
5657
"devDependencies": {

Diff for: scripts/package.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ OUTPUT_FILE=coderoad-$PACKAGE_VERSION.vsix
1212
echo "Creating $OUTPUT_FILE..."
1313

1414
echo "Building..."
15-
npm run build
15+
yarn build
1616

1717
echo "Packaging Extension..."
18-
vsce package --out ./$RELEASES_FOLDER
18+
vsce package --yarn --out ./$RELEASES_FOLDER
1919

2020
echo "Installing Extension..."
2121
code --install-extension ./$RELEASES_FOLDER/$OUTPUT_FILE

0 commit comments

Comments
 (0)