Commit 37bbde24 authored by liguangyu06's avatar liguangyu06
Browse files

Add TypeScript so Jenkins typecheck uses the real tsc, not the dummy npx package.

parent e2785215
...@@ -7,15 +7,17 @@ ...@@ -7,15 +7,17 @@
"": { "": {
"name": "mytestui", "name": "mytestui",
"version": "1.0.0", "version": "1.0.0",
"hasInstallScript": true,
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.55.0", "@playwright/test": "^1.55.0",
"@types/node": "^22.15.0", "@types/node": "^22.15.0",
"allure-commandline": "^2.43.0", "allure-commandline": "^2.43.0",
"allure-playwright": "^3.10.2" "allure-playwright": "^3.10.2",
"typescript": "^5.9.3"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=20"
} }
}, },
"node_modules/@playwright/test": { "node_modules/@playwright/test": {
...@@ -171,6 +173,20 @@ ...@@ -171,6 +173,20 @@
"node": ">=20" "node": ">=20"
} }
}, },
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "6.21.0", "version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"test:ui": "playwright test --ui", "test:ui": "playwright test --ui",
"test:headed": "playwright test --headed", "test:headed": "playwright test --headed",
"test:debug": "playwright test --debug", "test:debug": "playwright test --debug",
"typecheck": "npx tsc --noEmit", "typecheck": "tsc --noEmit",
"test:ci": "node scripts/run-ci.mjs", "test:ci": "node scripts/run-ci.mjs",
"test:ci:smoke": "node scripts/run-ci.mjs --suite=smoke", "test:ci:smoke": "node scripts/run-ci.mjs --suite=smoke",
"test:ci:nightly": "node scripts/run-ci.mjs --suite=nightly", "test:ci:nightly": "node scripts/run-ci.mjs --suite=nightly",
...@@ -242,6 +242,7 @@ ...@@ -242,6 +242,7 @@
"@playwright/test": "^1.55.0", "@playwright/test": "^1.55.0",
"@types/node": "^22.15.0", "@types/node": "^22.15.0",
"allure-commandline": "^2.43.0", "allure-commandline": "^2.43.0",
"allure-playwright": "^3.10.2" "allure-playwright": "^3.10.2",
"typescript": "^5.9.3"
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment