forked from forcedotcom/salesforcedx-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 6.47 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": ">=18.11.0"
},
"dependencies": {
"node": "^18.11.0",
"npm": "^9",
"ts-node": "10.9.1",
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"semver": "^7.5.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.0.5",
"@octokit/webhooks-definitions": "^3.67.3",
"@salesforce/dev-config": "^3.1.0",
"@tsconfig/node18": "18.2.2",
"@types/cross-spawn": "6.0.2",
"@types/jest": "^29.5.5",
"@types/shelljs": "0.8.11",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.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.2.0",
"depcheck": "1.4.3",
"esbuild": "0.15.10",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jest-formatting": "3.1.0",
"eslint-plugin-jsdoc": "46.8.2",
"eslint-plugin-prefer-arrow": "1.2.3",
"husky": "1.3.1",
"jest": "^29.7.0",
"jest-junit": "14.0.1",
"jsdom": "^16.5.0",
"lerna": "5.5.4",
"markdown-link-check": "^3.9.3",
"ncp": "^2.0.0",
"ovsx": "latest",
"prettier": "3.0.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.1",
"typescript": "^5.2.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",
"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": "npm run vscode:bundle:debugger && npm run vscode:bundle:extension && lerna run vscode:package --concurrency 1 && npm run reformat",
"vsix:install": "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": "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": "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"
}
}
}