mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
skip installing ts-node in setup_buildkite, use ts version shared with root
This commit is contained in:
parent
bd87655742
commit
30fdfa8f66
3 changed files with 10 additions and 19 deletions
16
.buildkite/package-lock.json
generated
16
.buildkite/package-lock.json
generated
|
@ -24,8 +24,8 @@
|
|||
"chai": "^4.3.10",
|
||||
"mocha": "^11.0.1",
|
||||
"nock": "^12.0.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.1.6"
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.1.6"
|
||||
}
|
||||
},
|
||||
"node_modules/@cspotcode/source-map-support": {
|
||||
|
@ -1775,9 +1775,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.5.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz",
|
||||
"integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==",
|
||||
"version": "5.1.6",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz",
|
||||
"integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
|
@ -3197,9 +3197,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"typescript": {
|
||||
"version": "5.5.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz",
|
||||
"integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==",
|
||||
"version": "5.1.6",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz",
|
||||
"integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==",
|
||||
"dev": true
|
||||
},
|
||||
"universal-user-agent": {
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
"chai": "^4.3.10",
|
||||
"mocha": "^11.0.1",
|
||||
"nock": "^12.0.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.1.6"
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.1.6"
|
||||
},
|
||||
"imports": {
|
||||
"#pipeline-utils": "./pipeline-utils/index.ts",
|
||||
|
|
|
@ -8,15 +8,6 @@ if [[ "$(type -t retry)" != "function" ]]; then
|
|||
source "$(dirname "${BASH_SOURCE[0]}")/util.sh"
|
||||
fi
|
||||
|
||||
# `rm -rf <ts-node node_modules dir>; npm install -g ts-node` will cause ts-node bin files to be messed up
|
||||
# but literally just calling `npm install -g ts-node` a second time fixes it
|
||||
# this is only on newer versions of npm
|
||||
npm_install_global ts-node
|
||||
if ! ts-node --version; then
|
||||
npm_install_global ts-node
|
||||
ts-node --version;
|
||||
fi
|
||||
|
||||
cd '.buildkite'
|
||||
retry 5 15 npm ci
|
||||
cd -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue