chore: fix to vsix
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# The VSIX manifest points at angular/angular, but the VS Code extension source
|
||||
# lives in angular/vscode-ng-language-service. There is no v20.3.3 tag there;
|
||||
# v20.3.0 is the nearest public tag for the 20.3 line.
|
||||
install_dependencies: "corepack enable && corepack prepare yarn@1.22.22 --activate && yarn install --frozen-lockfile"
|
||||
source_repository: "https://github.com/angular/vscode-ng-language-service.git"
|
||||
source_ref: "v20.3.0"
|
||||
build_vsix: "yarn package"
|
||||
run_tests: "yarn test"
|
||||
coverage:
|
||||
enabled: false
|
||||
threshold: 80
|
||||
@@ -0,0 +1,9 @@
|
||||
# Marketplace version 3.0.19 is tagged as pre-release/3.0.19 upstream.
|
||||
install_dependencies: "npm ci"
|
||||
source_ref: "pre-release/3.0.19"
|
||||
build_vsix: "npx @vscode/vsce package --out source.vsix"
|
||||
run_tests: "npx c8 --clean --temp-directory coverage/tmp npm test"
|
||||
coverage:
|
||||
enabled: true
|
||||
tool: "c8"
|
||||
threshold: 80
|
||||
@@ -0,0 +1,8 @@
|
||||
# Commands are executed from the cloned repository root.
|
||||
install_dependencies: "node -e 'const [major, minor] = process.versions.node.split(`.`).map(Number); if (major < 22 || (major === 22 && minor < 18)) { console.error(`GitLens 17.12.1 requires Node >=22.18.0; current=${process.versions.node}`); process.exit(1); }' && corepack enable && corepack prepare pnpm@10.33.0 --activate && pnpm install --frozen-lockfile"
|
||||
build_vsix: "pnpm exec vsce package --no-dependencies --out source.vsix"
|
||||
run_tests: "npx c8 --clean --temp-directory coverage/tmp node_modules/.bin/vscode-test"
|
||||
coverage:
|
||||
enabled: true
|
||||
tool: "c8"
|
||||
threshold: 80
|
||||
@@ -0,0 +1,6 @@
|
||||
install_dependencies: "npm ci"
|
||||
build_vsix: "npx vsce package --out source.vsix"
|
||||
run_tests: "npm test"
|
||||
coverage:
|
||||
enabled: false
|
||||
threshold: 80
|
||||
@@ -0,0 +1,6 @@
|
||||
install_dependencies: "corepack enable && corepack prepare yarn@1.22.22 --activate && yarn install --frozen-lockfile"
|
||||
build_vsix: "npx vsce package --out source.vsix"
|
||||
run_tests: "yarn test"
|
||||
coverage:
|
||||
enabled: false
|
||||
threshold: 80
|
||||
@@ -0,0 +1,7 @@
|
||||
install_dependencies: "npm ci"
|
||||
build_vsix: "npx vsce package --out source.vsix"
|
||||
run_tests: "npm run build-bundle && npm run jest -- --coverage"
|
||||
coverage:
|
||||
enabled: true
|
||||
tool: "jest"
|
||||
threshold: 80
|
||||
Reference in New Issue
Block a user