-
Notifications
You must be signed in to change notification settings - Fork 405
/
package.json
134 lines (134 loc) · 7.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "salesforcedx-vscode",
"repository": "forcedotcom/salesforcedx-vscode",
"license": "BSD-3-Clause",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=20.9.0"
},
"dependencies": {
"@actions/core": "^1.11.0",
"@actions/github": "^5.1.1",
"node": "^20.9.0",
"npm": "^10",
"semver": "^7.5.4",
"ts-node": "10.9.2"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.4.4",
"@monorepo-utils/workspaces-to-typescript-project-references": "2.9.0",
"@octokit/core": "4.2.4",
"@octokit/webhooks-definitions": "^3.67.3",
"@salesforce/dev-config": "^3.1.0",
"@stylistic/eslint-plugin-ts": "2.10.1",
"@tony.ganchev/eslint-plugin-header": "3.1.2",
"@tsconfig/node20": "20.1.4",
"@types/cross-spawn": "6.0.6",
"@types/jest": "^29.5.5",
"@types/semver": "7.5.8",
"@types/shelljs": "0.8.11",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"@vscode/test-electron": "2.3.0",
"@vscode/vsce": "2.21.1",
"acorn": "8.8.2",
"ajv": "6.12.6",
"check-peer-dependencies": "4.1.0",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "3.3.0",
"depcheck": "1.4.3",
"esbuild": "0.15.10",
"eslint": "9.13.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest-formatting": "3.1.0",
"eslint-plugin-jsdoc": "50.4.3",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "5.2.1",
"husky": "1.3.1",
"jest": "^29.7.0",
"jest-junit": "14.0.1",
"jsdom": "^16.5.0",
"junit-report-merger": "7.0.0",
"lerna": "5.5.4",
"markdown-link-check": "^3.9.3",
"ncp": "^2.0.0",
"nyc": "15.1.0",
"ovsx": "0.8.0",
"prettier": "3.3.3",
"shelljs": "0.8.5",
"shx": "0.3.4",
"snyk": "^1.1017.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"ts-node": "10.9.2",
"typescript": "^5.6.2"
},
"scripts": {
"postinstall": "npm run bootstrap && npm run reformat && npm run check:peer-deps && npm run check:typescript-project-references",
"bootstrap": "lerna bootstrap --no-ci -- --no-package-lock",
"commit-init": "commitizen init cz-conventional-changelog --save-dev --save-exact --force",
"commit": "git-cz",
"changelog": "ts-node ./scripts/create-release-notes.ts",
"clean": "lerna run clean && git clean -xfd",
"reinstall": "git checkout -- package-lock.json && npm run clean && npm install",
"compile": "tsc --build",
"postcompile": "lerna run copy:files",
"compile:clean": "tsc --build --clean && npm run compile",
"compile:watch": "npm run compile && tsc --build --watch",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"test": "lerna exec --concurrency 1 --stream --bail=false -- npm run test --if-present",
"test:unit": "lerna run test:unit",
"test:ui": "lerna exec --concurrency 1 --stream --bail=false -- npm run test:ui --if-present",
"test:unit-and-system-tests": "lerna exec --ignore system-tests --concurrency 1 --stream --bail=false -- npm run test:unit --if-present && npm run coverage:system-tests",
"test:download-vscode": "node scripts/download-vscode",
"test:integration": "lerna run test:integration --concurrency 1 --stream -- --if-present",
"test:integration-tests-without-system-tests": "npm run test:download-vscode && lerna run test:integration && lerna run test:vscode-integration --concurrency 1",
"test:vscode-integration": "npm run test:download-vscode && lerna exec --concurrency 1 --stream --bail=false -- npm run test:vscode-integration --if-present",
"test:vscode-insiders-integration": "lerna exec --concurrency 1 --stream --bail=false -- npm run test:vscode-insiders-integration --if-present",
"test:without-system-tests": "lerna exec --ignore system-tests --concurrency 1 --stream --bail=false -- npm run test --if-present",
"test:system-tests": "lerna run test --scope system-tests --concurrency 1 --stream -- --if-present",
"test:vscode-insiders-system-tests": "lerna run test:vscode-insiders-system-tests --scope system-tests --concurrency 1 --stream",
"coverage:system-tests": "lerna exec --scope system-tests --concurrency 1 --stream --bail=false -- npm run coverage:system-tests",
"coverage:report": "shx mkdir -p ./test-results && npm run coverage:merge && nyc report --reporter=html --report-dir=./test-results/coverage-report --temp-dir=coverage",
"coverage:merge": "node scripts/mergeCoverageJson.js",
"junit:report": "shx mkdir -p ./test-results && jrm ./test-results/all-junit-custom-unitTests.xml \"packages/**/junit-custom-unitTests.xml\"",
"capture:results": "shx mkdir -p ./test-results && npm run junit:report && npm run coverage:report",
"check:links": "find . -name \\*.md -not -path '*/node_modules/*' -print0 | xargs -0 -n1 npx markdown-link-check --quiet --alive 200,206,429",
"check:deps": "lerna exec --no-bail --stream depcheck",
"check:peer-deps": "check-peer-dependencies",
"check:typescript-project-references": "workspaces-to-typescript-project-references --check",
"vscode:bundle": "npm run vscode:bundle:debugger && npm run vscode:bundle:extension",
"vscode:bundle:debugger": "lerna run bundle:debugger",
"vscode:bundle:extension": "lerna run bundle:extension",
"vscode:package": "node ./scripts/capture-esbuild-warnings.js && lerna run vscode:package --concurrency 1 && npm run reformat",
"vsix:install": "find ./packages -name '*.vsix' -exec code --install-extension {} \\;",
"vsix:install-insiders": "find ./packages -name '*.vsix' -exec code-insiders --install-extension {} \\;",
"vscode:sha256": "node ./scripts/generate-sha256.js >> ./SHA256",
"vscode:publish": "lerna run vscode:publish --concurrency 1",
"watch": "lerna run --parallel watch",
"eslint-check": "eslint --print-config .eslintrc.json | eslint-config-prettier-check",
"reformat": "node scripts/reformat-with-prettier.js",
"snyk:test": "lerna exec --bail=false --ignore salesforcedx-vscode -- snyk test --severity-threshold=medium --show-vulnerable-paths=false",
"snyk:monitor": "lerna exec --bail=false --ignore salesforcedx-vscode -- snyk monitor --severity-threshold=medium --show-vulnerable-paths=false --org=vazexqi",
"aggregateJUnit": "node scripts/aggregate-junit-xml.js",
"link-lsp": "yarn link @salesforce/aura-language-server @salesforce/lwc-language-server @salesforce/lightning-lsp-common && lerna exec yarn link @salesforce/aura-language-server @salesforce/lwc-language-server @salesforce/lightning-lsp-common --scope salesforcedx-vscode-lightning && lerna exec yarn link @salesforce/lwc-language-server @salesforce/lightning-lsp-common --scope salesforcedx-vscode-lwc",
"unlink-lsp": "yarn unlink @salesforce/aura-language-server @salesforce/lwc-language-server @salesforce/lightning-lsp-common && lerna exec yarn unlink @salesforce/aura-language-server @salesforce/lwc-language-server @salesforce/lightning-lsp-common --scope salesforcedx-vscode-lightning && lerna exec yarn unlink @salesforce/lwc-language-server @salesforce/lightning-lsp-common --scope salesforcedx-vscode-lwc",
"report:installs": "ts-node scripts/reportInstalls.ts"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run lint && npm run reformat"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}