Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 04a46f7

Browse files
committed
web: test pnpm
1 parent c182a5e commit 04a46f7

File tree

24 files changed

+173
-166
lines changed

24 files changed

+173
-166
lines changed

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Disabling pnpm [hoisting](https://pnpm.io/npmrc#hoist) by setting `hoist=false` is recommended on
22
# projects using rules_js so that pnpm outside of Bazel lays out a node_modules tree similar to what
33
# rules_js lays out under Bazel (without a hidden node_modules/.pnpm/node_modules)
4-
hoist=false
4+
hoist=true
5+
shamefully-hoist=true
56

67
# npm_translate_lock with the yarn.lock file will complain about missing/incorrect peer dependencies.
78
# Temporarily ignore warnings until we switch to pnpm and can user pnpm.packageExtensions to fix them.

client/branded/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"version": "1.0.0",
55
"license": "Apache-2.0",
66
"scripts": {
7-
"storybook": "STORIES_GLOB='client/branded/src/**/*.story.tsx' yarn workspace @sourcegraph/storybook run start",
8-
"lint:js": "yarn run -T eslint --cache '**/*.[jt]s?(x)'",
9-
"lint:css": "yarn run -T stylelint 'src/**/*.scss' --quiet",
10-
"test": "yarn run -T jest"
7+
"storybook": "STORIES_GLOB='client/branded/src/**/*.story.tsx' pnpm workspace @sourcegraph/storybook run start",
8+
"lint:js": "pnpm run -T eslint --cache '**/*.[jt]s?(x)'",
9+
"lint:css": "pnpm run -T stylelint 'src/**/*.scss' --quiet",
10+
"test": "pnpm run -T jest"
1111
}
1212
}

client/browser/package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,31 @@
44
"version": "1.0.0",
55
"license": "Apache-2.0",
66
"engines": {
7-
"yarn": ">1.10.0"
7+
"pnpm": ">1.10.0"
88
},
99
"scripts": {
10-
"storybook": "STORIES_GLOB='client/browser/src/**/*.story.tsx' yarn workspace @sourcegraph/storybook run start",
10+
"storybook": "STORIES_GLOB='client/browser/src/**/*.story.tsx' pnpm workspace @sourcegraph/storybook run start",
1111
"build-inline-extensions": "node scripts/build-inline-extensions",
12-
"predev": "yarn run build-inline-extensions",
13-
"dev": "yarn run predev && NODE_ENV=development NODE_OPTIONS=--max_old_space_size=8192 node -r ts-node/register scripts/development",
14-
"dev:no-reload": "AUTO_RELOAD=false yarn run dev",
15-
"dev:firefox": "if type web-ext 2>/dev/null; then yarn dev & web-ext run --source-dir ./build/firefox; else echo 'web-ext not found. Install it with: yarn global add web-ext'; exit 1; fi",
16-
"dev:chrome": "TARGETS=chrome yarn run dev",
17-
"dev:edge": "TARGETS=edge yarn run dev",
18-
"dev:safari": "TARGETS=safari yarn run build",
19-
"prebuild": "yarn -T run generate && yarn run build-inline-extensions",
20-
"build": "yarn run prebuild && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 node -r ts-node/register scripts/build",
21-
"release": "yarn release:chrome",
22-
"release:chrome": "yarn run -T webstore upload --auto-publish --source build/bundles/chrome-bundle.zip --extension-id dgjhfomjieaadpoljlnidmbgkdffpack --client-id $GOOGLE_CLIENT_ID --client-secret $GOOGLE_CLIENT_SECRET --refresh-token $GOOGLE_REFRESH_TOKEN",
12+
"predev": "pnpm run build-inline-extensions",
13+
"dev": "pnpm run predev && NODE_ENV=development NODE_OPTIONS=--max_old_space_size=8192 node -r ts-node/register scripts/development",
14+
"dev:no-reload": "AUTO_RELOAD=false pnpm run dev",
15+
"dev:firefox": "if type web-ext 2>/dev/null; then pnpm dev & web-ext run --source-dir ./build/firefox; else echo 'web-ext not found. Install it with: pnpm global add web-ext'; exit 1; fi",
16+
"dev:chrome": "TARGETS=chrome pnpm run dev",
17+
"dev:edge": "TARGETS=edge pnpm run dev",
18+
"dev:safari": "TARGETS=safari pnpm run build",
19+
"prebuild": "pnpm -T run generate && pnpm run build-inline-extensions",
20+
"build": "pnpm run prebuild && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 node -r ts-node/register scripts/build",
21+
"release": "pnpm release:chrome",
22+
"release:chrome": "pnpm run -T webstore upload --auto-publish --source build/bundles/chrome-bundle.zip --extension-id dgjhfomjieaadpoljlnidmbgkdffpack --client-id $GOOGLE_CLIENT_ID --client-secret $GOOGLE_CLIENT_SECRET --refresh-token $GOOGLE_REFRESH_TOKEN",
2323
"release:firefox": "./scripts/release-firefox.sh",
24-
"release:npm": "TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" yarn run -T ts-node ./scripts/publish-npm.ts",
25-
"lint": "yarn run -T eslint && yarn run -T stylelint",
26-
"lint:js": "yarn run -T eslint --cache '**/*.[jt]s?(x)'",
27-
"lint:css": "yarn run -T stylelint 'src/**/*.scss'",
24+
"release:npm": "TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" pnpm run -T ts-node ./scripts/publish-npm.ts",
25+
"lint": "pnpm run -T eslint && pnpm run -T stylelint",
26+
"lint:js": "pnpm run -T eslint --cache '**/*.[jt]s?(x)'",
27+
"lint:css": "pnpm run -T stylelint 'src/**/*.scss'",
2828
"clean": "rm -rf build/ dist/ *.zip *.xpi .checksum",
29-
"test": "yarn run -T jest --testPathIgnorePatterns end-to-end integration",
30-
"test-e2e": "yarn run -T mocha './src/end-to-end/**/*.test.ts'",
31-
"run-integration": "TS_NODE_PROJECT=src/integration/tsconfig.json SOURCEGRAPH_BASE_URL=https://sourcegraph.com yarn run -T mocha --parallel=${CI:-\"false\"} --retries=2 ./src/integration/**/*.test.ts",
29+
"test": "pnpm run -T jest --testPathIgnorePatterns end-to-end integration",
30+
"test-e2e": "pnpm run -T mocha './src/end-to-end/**/*.test.ts'",
31+
"run-integration": "TS_NODE_PROJECT=src/integration/tsconfig.json SOURCEGRAPH_BASE_URL=https://sourcegraph.com pnpm run -T mocha --parallel=${CI:-\"false\"} --retries=2 ./src/integration/**/*.test.ts",
3232
"test-integration": "node scripts/test-integration",
3333
"record-integration": "node scripts/record-integration",
3434
"create-source-zip": "node scripts/create-source-zip"

client/build-config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11-
"test": "yarn run -T jest"
10+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11+
"test": "pnpm run -T jest"
1212
}
1313
}

client/client-api/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11-
"test": "yarn run -T jest"
10+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11+
"test": "pnpm run -T jest"
1212
}
1313
}

client/codeintellify/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11-
"test": "yarn run -T jest"
10+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11+
"test": "pnpm run -T jest"
1212
}
1313
}

client/common/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11-
"test": "yarn run -T jest"
10+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11+
"test": "pnpm run -T jest"
1212
}
1313
}

client/extension-api-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
],
2020
"sideEffects": false,
2121
"scripts": {
22-
"lint:js": "yarn run -T eslint 'src/**/*.[jt]s?(x)'",
23-
"prepublish": "yarn run -T eslint"
22+
"lint:js": "pnpm run -T eslint 'src/**/*.[jt]s?(x)'",
23+
"prepublish": "pnpm run -T eslint"
2424
},
2525
"peerDependencies": {
2626
"sourcegraph": "*"

client/extension-api/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
],
2222
"sideEffects": false,
2323
"scripts": {
24-
"lint:js": "yarn run -T eslint 'src/*.[jt]s?(x)'",
25-
"docs": "yarn run -T typedoc",
26-
"prepublish": "yarn run -T eslint && yarn run docs"
24+
"lint:js": "pnpm run -T eslint 'src/*.[jt]s?(x)'",
25+
"docs": "pnpm run -T typedoc",
26+
"prepublish": "pnpm run -T eslint && pnpm run docs"
2727
},
2828
"devDependencies": {
2929
"typedoc": "^0.17.8"

client/http-client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11-
"test": "yarn run -T jest"
10+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11+
"test": "pnpm run -T jest"
1212
}
1313
}

client/jetbrains/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"directory": "client/jetbrains"
1414
},
1515
"scripts": {
16-
"build": "yarn task:gulp esbuild",
17-
"lint": "yarn run lint:js && yarn run lint:css",
18-
"lint:js": "yarn run -T eslint --cache 'webview/**/*.[jt]s?(x)'",
19-
"lint:css": "yarn run -T stylelint 'webview/**/*.scss'",
20-
"standalone": "yarn run -T ts-node standalone/src/server.ts",
21-
"storybook": "STORIES_GLOB='client/jetbrains/webview/src/**/*.story.tsx' yarn workspace @sourcegraph/storybook run start",
22-
"task:gulp": "yarn run -T cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" gulp",
23-
"typecheck": "yarn run -T tsc -b",
24-
"watch": "WATCH=true yarn task:gulp esbuild"
16+
"build": "pnpm task:gulp esbuild",
17+
"lint": "pnpm run lint:js && pnpm run lint:css",
18+
"lint:js": "pnpm run -T eslint --cache 'webview/**/*.[jt]s?(x)'",
19+
"lint:css": "pnpm run -T stylelint 'webview/**/*.scss'",
20+
"standalone": "pnpm run -T ts-node standalone/src/server.ts",
21+
"storybook": "STORIES_GLOB='client/jetbrains/webview/src/**/*.story.tsx' pnpm workspace @sourcegraph/storybook run start",
22+
"task:gulp": "pnpm run -T cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" gulp",
23+
"typecheck": "pnpm run -T tsc -b",
24+
"watch": "WATCH=true pnpm task:gulp esbuild"
2525
}
2626
}

client/observability-client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11-
"test": "yarn run -T jest"
10+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11+
"test": "pnpm run -T jest"
1212
}
1313
}

client/observability-server/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"bundlesize:web:upload": "NODE_ENV=production yarn run -T ts-node-transpile-only ./src/webBundleSize",
11-
"honeycomb:clone-boards": "yarn run -T ts-node-transpile-only ./src/honeycomb/clone-boards.ts",
12-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
13-
"test": "yarn run -T jest"
10+
"bundlesize:web:upload": "NODE_ENV=production pnpm run -T ts-node-transpile-only ./src/webBundleSize",
11+
"honeycomb:clone-boards": "pnpm run -T ts-node-transpile-only ./src/honeycomb/clone-boards.ts",
12+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
13+
"test": "pnpm run -T jest"
1414
}
1515
}

client/search-ui/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"storybook": "STORIES_GLOB='client/search-ui/src/**/*.story.tsx' yarn workspace @sourcegraph/storybook run start",
11-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
12-
"test": "yarn run -T jest"
10+
"storybook": "STORIES_GLOB='client/search-ui/src/**/*.story.tsx' pnpm workspace @sourcegraph/storybook run start",
11+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
12+
"test": "pnpm run -T jest"
1313
}
1414
}

client/shared/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"version": "1.0.0",
55
"license": "Apache-2.0",
66
"scripts": {
7-
"storybook": "STORIES_GLOB='client/shared/src/**/*.story.tsx' yarn workspace @sourcegraph/storybook run start",
8-
"lint:js": "yarn run -T eslint --cache '**/*.[jt]s?(x)'",
9-
"lint:css": "yarn run -T stylelint 'src/**/*.scss' --quiet",
10-
"test": "yarn run -T jest",
11-
"schema": "yarn run -T gulp schema",
12-
"graphql-operations": "yarn run -T gulp graphQlOperations",
13-
"watch-schema": "yarn run -T gulp watchSchema"
7+
"storybook": "STORIES_GLOB='client/shared/src/**/*.story.tsx' pnpm workspace @sourcegraph/storybook run start",
8+
"lint:js": "pnpm run -T eslint --cache '**/*.[jt]s?(x)'",
9+
"lint:css": "pnpm run -T stylelint 'src/**/*.scss' --quiet",
10+
"test": "pnpm run -T jest",
11+
"schema": "pnpm run -T gulp schema",
12+
"graphql-operations": "pnpm run -T gulp graphQlOperations",
13+
"watch-schema": "pnpm run -T gulp watchSchema"
1414
},
1515
"sideEffects": true
1616
}

client/storybook/package.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77
"license": "Apache-2.0",
88
"main": "./src/index.ts",
99
"scripts": {
10-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11-
"start": "TS_NODE_TRANSPILE_ONLY=true yarn run -T start-storybook -p 9001 -c ./src",
12-
"start:chromatic": "CHROMATIC=true TS_NODE_TRANSPILE_ONLY=true yarn run -T start-storybook -p 9001 -c ./src",
13-
"build": "TS_NODE_TRANSPILE_ONLY=true yarn run -T build-storybook -c ./src",
14-
"build:webpack-stats": "TS_NODE_TRANSPILE_ONLY=true WEBPACK_DLL_PLUGIN=false yarn run -T start-storybook -c ./src --smoke-test --webpack-stats-json ./storybook-static --loglevel warn",
15-
"build:dll-bundle": "TS_NODE_TRANSPILE_ONLY=true yarn run -T webpack --config ./src/webpack.config.dll.ts --no-stats",
16-
"start:dll": "TS_NODE_TRANSPILE_ONLY=true WEBPACK_DLL_PLUGIN=true yarn run -T start-storybook -p 9001 -c ./src",
10+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11+
"start": "TS_NODE_TRANSPILE_ONLY=true start-storybook -p 9001 -c ./src",
12+
"start:chromatic": "CHROMATIC=true TS_NODE_TRANSPILE_ONLY=true pnpm run -T start-storybook -p 9001 -c ./src",
13+
"build": "TS_NODE_TRANSPILE_ONLY=true pnpm run -T build-storybook -c ./src",
14+
"build:webpack-stats": "TS_NODE_TRANSPILE_ONLY=true WEBPACK_DLL_PLUGIN=false pnpm run -T start-storybook -c ./src --smoke-test --webpack-stats-json ./storybook-static --loglevel warn",
15+
"build:dll-bundle": "TS_NODE_TRANSPILE_ONLY=true pnpm run -T webpack --config ./src/webpack.config.dll.ts --no-stats",
16+
"start:dll": "TS_NODE_TRANSPILE_ONLY=true WEBPACK_DLL_PLUGIN=true pnpm run -T start-storybook -p 9001 -c ./src",
1717
"clean:dll": "rm -rf assets/dll-bundle storybook-static/*-stats.json",
18-
"test": "yarn run -T jest"
18+
"test": "pnpm run -T jest"
19+
},
20+
"devDependencies": {
21+
"@sourcegraph/build-config": "workspace:*"
1922
}
2023
}

client/template-parser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11-
"test": "yarn run -T jest"
10+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11+
"test": "pnpm run -T jest"
1212
}
1313
}

client/testing/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sideEffects": false,
88
"license": "Apache-2.0",
99
"scripts": {
10-
"lint:js": "yarn run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11-
"test": "yarn run -T jest"
10+
"lint:js": "pnpm run -T eslint --cache 'src/**/*.[jt]s?(x)'",
11+
"test": "pnpm run -T jest"
1212
}
1313
}

client/vscode/package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -259,30 +259,30 @@
259259
}
260260
},
261261
"scripts": {
262-
"lint:js": "yarn run -T eslint --cache '**/*.[jt]s?(x)'",
263-
"test": "yarn run -T ts-node ./tests/runTests.ts",
264-
"package": "yarn run -T ts-node ./scripts/package.ts",
265-
"prebuild": "yarn build-inline-extensions",
266-
"prewatch": "yarn build-inline-extensions",
262+
"lint:js": "pnpm run -T eslint --cache '**/*.[jt]s?(x)'",
263+
"test": "pnpm run -T ts-node ./tests/runTests.ts",
264+
"package": "pnpm run -T ts-node ./scripts/package.ts",
265+
"prebuild": "pnpm build-inline-extensions",
266+
"prewatch": "pnpm build-inline-extensions",
267267
"build-inline-extensions": "node scripts/build-inline-extensions",
268-
"task:gulp": "yarn run -T cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" gulp",
269-
"build:esbuild": "NODE_ENV=development yarn task:gulp esbuild",
270-
"build:esbuild:web": "NODE_ENV=development TARGET_TYPE=webworker yarn task:gulp esbuild",
271-
"watch:esbuild": "NODE_ENV=development WATCH=true yarn task:gulp esbuild",
272-
"build": "yarn run prebuild && NODE_ENV=production yarn task:gulp webpack",
273-
"build:node": "NODE_ENV=production TARGET_TYPE=node yarn task:gulp webpack",
274-
"build:web": "NODE_ENV=production TARGET_TYPE=webworker yarn task:gulp webpack",
275-
"build:test": "NODE_ENV=production TARGET_TYPE=webworker IS_TEST=true yarn task:gulp webpack",
276-
"watch": "yarn run prewatch && yarn task:gulp watchWebpack",
277-
"watch:node": "NODE_ENV=development TARGET_TYPE=node yarn run watch",
278-
"watch:web": "NODE_ENV=development TARGET_TYPE=webworker yarn run watch",
279-
"watch:test": "NODE_ENV=development TARGET_TYPE=webworker IS_TEST=true yarn run watch",
280-
"test-integration": "TS_NODE_PROJECT=tests/tsconfig.json yarn run -T mocha --parallel=${CI:-\"false\"} --retries=2 ./tests/**/*.test.ts",
281-
"release": "yarn run -T ts-node ./scripts/publish.ts",
282-
"release:major": "VSCE_RELEASE_TYPE=major yarn run -T ts-node ./scripts/release.ts",
283-
"release:minor": "VSCE_RELEASE_TYPE=minor yarn run -T ts-node ./scripts/release.ts",
284-
"release:patch": "VSCE_RELEASE_TYPE=patch yarn run -T ts-node ./scripts/release.ts",
285-
"release:pre": "VSCE_RELEASE_TYPE=prerelease yarn run -T ts-node ./scripts/release.ts"
268+
"task:gulp": "pnpm run -T cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" gulp",
269+
"build:esbuild": "NODE_ENV=development pnpm task:gulp esbuild",
270+
"build:esbuild:web": "NODE_ENV=development TARGET_TYPE=webworker pnpm task:gulp esbuild",
271+
"watch:esbuild": "NODE_ENV=development WATCH=true pnpm task:gulp esbuild",
272+
"build": "pnpm run prebuild && NODE_ENV=production pnpm task:gulp webpack",
273+
"build:node": "NODE_ENV=production TARGET_TYPE=node pnpm task:gulp webpack",
274+
"build:web": "NODE_ENV=production TARGET_TYPE=webworker pnpm task:gulp webpack",
275+
"build:test": "NODE_ENV=production TARGET_TYPE=webworker IS_TEST=true pnpm task:gulp webpack",
276+
"watch": "pnpm run prewatch && pnpm task:gulp watchWebpack",
277+
"watch:node": "NODE_ENV=development TARGET_TYPE=node pnpm run watch",
278+
"watch:web": "NODE_ENV=development TARGET_TYPE=webworker pnpm run watch",
279+
"watch:test": "NODE_ENV=development TARGET_TYPE=webworker IS_TEST=true pnpm run watch",
280+
"test-integration": "TS_NODE_PROJECT=tests/tsconfig.json pnpm run -T mocha --parallel=${CI:-\"false\"} --retries=2 ./tests/**/*.test.ts",
281+
"release": "pnpm run -T ts-node ./scripts/publish.ts",
282+
"release:major": "VSCE_RELEASE_TYPE=major pnpm run -T ts-node ./scripts/release.ts",
283+
"release:minor": "VSCE_RELEASE_TYPE=minor pnpm run -T ts-node ./scripts/release.ts",
284+
"release:patch": "VSCE_RELEASE_TYPE=patch pnpm run -T ts-node ./scripts/release.ts",
285+
"release:pre": "VSCE_RELEASE_TYPE=prerelease pnpm run -T ts-node ./scripts/release.ts"
286286
},
287287
"devDependencies": {
288288
"vsce": "^2.7.0"

0 commit comments

Comments
 (0)