-
Notifications
You must be signed in to change notification settings - Fork 414
/
Copy pathpackage.json
124 lines (124 loc) · 6.18 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
{
"name": "salesforcedx-vscode",
"repository": "forcedotcom/salesforcedx-vscode",
"license": "BSD-3-Clause",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=20.17.0"
},
"dependencies": {
"@actions/core": "^1.11.0",
"@actions/github": "^6.0.0",
"node": "^20.17.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.10.4",
"@octokit/core": "^5",
"@octokit/webhooks-types": "7.6.1",
"@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",
"@typescript-eslint/eslint-plugin": "8.30.1",
"@typescript-eslint/parser": "8.30.1",
"@vscode/test-electron": "2.3.0",
"@vscode/vsce": "2.21.1",
"acorn": "8.8.2",
"check-peer-dependencies": "4.1.0",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "3.3.0",
"depcheck": "1.4.3",
"esbuild": "0.25.0",
"eslint": "^9.25.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest-formatting": "3.1.0",
"eslint-plugin-jsdoc": "50.6.9",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-unicorn": "58.0.0",
"husky": "1.3.1",
"jest": "^29.7.0",
"jest-junit": "14.0.1",
"jsdom": "^16.5.0",
"junit-report-merger": "7.0.0",
"lerna": "8.2.2",
"markdown-link-check": "^3.9.3",
"mocha-multi-reporters": "^1.1.7",
"nyc": "15.1.0",
"ovsx": "0.8.0",
"prettier": "3.3.3",
"shx": "0.3.4",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"ts-node": "10.9.2",
"typescript": "^5.6.2",
"yaml": "2.6.0"
},
"scripts": {
"postinstall": "npm run reformat && npm run check:peer-deps && npm run check:typescript-project-references",
"bootstrap": "npm install",
"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": "lerna run compile",
"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:download-vscode": "node scripts/download-vscode",
"test:integration": "lerna run test:integration --concurrency 1 --stream -- --if-present",
"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",
"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",
"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-commit": "npm run reformat && npx lerna run compile,lint",
"pre-push": "npx lerna run compile,lint,test:unit"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}