From 2216e4a05609a8d260789b6ca918e2852440ab1e Mon Sep 17 00:00:00 2001 From: mutlu Date: Mon, 21 Aug 2023 20:41:47 +0100 Subject: [PATCH] kick-off node 18 upgrade --- .github/workflows/npmpublish.yml | 6 +-- .nvmrc | 2 +- .yarnrc.yml | 2 +- package.json | 9 ++-- yarn.lock | 74 +++----------------------------- 5 files changed, 17 insertions(+), 76 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index bb1be92143..de2da7bfe6 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 - run: corepack enable && yarn --version - run: yarn install - run: yarn lint @@ -73,7 +73,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 registry-url: https://registry.npmjs.org/ - run: corepack enable && yarn --version - run: yarn install @@ -91,7 +91,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 registry-url: https://npm.pkg.github.com/ scope: '@hmcts' - run: corepack enable && yarn --version diff --git a/.nvmrc b/.nvmrc index 62df50f1ee..603606bc91 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.17.0 +18.17.0 diff --git a/.yarnrc.yml b/.yarnrc.yml index 0bc1c7c4b3..99ebc61ab9 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -4,4 +4,4 @@ npmAuthToken: "${NODE_AUTH_TOKEN:-}" npmPublishRegistry: "${NPM_PUBLISH_REGISTRY:-}" -yarnPath: .yarn/releases/yarn-3.5.0.cjs +yarnPath: .yarn/releases/yarn-3.6.1.cjs diff --git a/package.json b/package.json index d4f14d8e5d..f4fc5f5762 100644 --- a/package.json +++ b/package.json @@ -111,7 +111,7 @@ "@storybook/testing-library": "^0.0.13", "@types/jasmine": "~2.8.0", "@types/jasminewd2": "^2.0.3", - "@types/node": "^14.14.45", + "@types/node": "^18.17.0", "@types/pegjs": "^0.10.0", "@types/underscore": "^1.11.4", "@types/webpack": "^4.41.25", @@ -172,7 +172,7 @@ "ts-node": "~10.8.1", "tslib": "^2.1.0", "tslint": "^6.1.3", - "typescript": "4.0.8", + "typescript": "4.8.2", "webpack": "^4.20.2", "webpack-angular-externals": "^1.0.2", "webpack-cli": "^4.4.0", @@ -212,7 +212,8 @@ "dns-packet": "1.3.4", "hosted-git-info": "^3.0.8", "normalize-url": "^6.0.1", - "trim-newlines": "^3.0.1" + "trim-newlines": "^3.0.1", + "typescript": "4.0.8" }, "nyc": { "include": [ @@ -222,5 +223,5 @@ "sourceMap": false, "instrument": false }, - "packageManager": "yarn@3.5.0" + "packageManager": "yarn@3.6.1" } diff --git a/yarn.lock b/yarn.lock index 3c8c9dd49d..167be493be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2693,7 +2693,7 @@ __metadata: "@storybook/testing-library": ^0.0.13 "@types/jasmine": ~2.8.0 "@types/jasminewd2": ^2.0.3 - "@types/node": ^14.14.45 + "@types/node": ^18.17.0 "@types/pegjs": ^0.10.0 "@types/underscore": ^1.11.4 "@types/webpack": ^4.41.25 @@ -2774,7 +2774,7 @@ __metadata: ts-node: ~10.8.1 tslib: ^2.1.0 tslint: ^6.1.3 - typescript: 4.0.8 + typescript: 4.8.2 underscore: ^1.9.1 util: ^0.12.4 webpack: ^4.20.2 @@ -4856,10 +4856,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^14.14.45": - version: 14.18.53 - resolution: "@types/node@npm:14.18.53" - checksum: 3acbcf4e38cdc5999c824db5c6689ca8f4a185562aad5c0263d9859381d8590a16e6a72343aeb30d48ff9a7ac9b6ae259bcb8c2d594703a30d12277904524704 +"@types/node@npm:^18.17.0": + version: 18.17.6 + resolution: "@types/node@npm:18.17.6" + checksum: 70bc92adde47d569f25c5ed40b55040cdf189518d6149e0c3041c6e60b1098cad9c48a856f0b7868ebd74d4098a0ca508b0ec4373dd96216eb8a387ee898e14c languageName: node linkType: hard @@ -23740,16 +23740,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:2.9.1": - version: 2.9.1 - resolution: "typescript@npm:2.9.1" - bin: - tsc: ./bin/tsc - tsserver: ./bin/tsserver - checksum: b871c6e9ad54c469588f8739a77b2cb6b02c0406c8ea2879f9adcb0779d0a506b5da78f95502a77f1f0b7be565670f332da3f62a7c72c01fbc52689380376024 - languageName: node - linkType: hard - "typescript@npm:4.0.8": version: 4.0.8 resolution: "typescript@npm:4.0.8" @@ -23760,37 +23750,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:4.1.5": - version: 4.1.5 - resolution: "typescript@npm:4.1.5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: af660e69aa5184520dfa57362dcf7fd1b26d08b869d76b3bd58dcc04058a757983f470cd61ded824ab01fa08a81d58c7f607d8e360f4e550664b9439d04f8e41 - languageName: node - linkType: hard - -"typescript@npm:^5.0.4": - version: 5.1.6 - resolution: "typescript@npm:5.1.6" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: b2f2c35096035fe1f5facd1e38922ccb8558996331405eb00a5111cc948b2e733163cc22fab5db46992aba7dd520fff637f2c1df4996ff0e134e77d3249a7350 - languageName: node - linkType: hard - -"typescript@patch:typescript@2.9.1#~builtin": - version: 2.9.1 - resolution: "typescript@patch:typescript@npm%3A2.9.1#~builtin::version=2.9.1&hash=3bafbf" - bin: - tsc: ./bin/tsc - tsserver: ./bin/tsserver - checksum: fa073a5fd5e96357c57a233b0ca635522725f2c6273df34c3df52489e744dfce0302a319b4e057bdc9d740c885761a1ec90cb457812a890e0fb3fe6a2d6a3d11 - languageName: node - linkType: hard - -"typescript@patch:typescript@4.0.8#~builtin": +"typescript@patch:typescript@npm%3A4.0.8#~builtin": version: 4.0.8 resolution: "typescript@patch:typescript@npm%3A4.0.8#~builtin::version=4.0.8&hash=ed6a74" bin: @@ -23800,26 +23760,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@4.1.5#~builtin": - version: 4.1.5 - resolution: "typescript@patch:typescript@npm%3A4.1.5#~builtin::version=4.1.5&hash=4a8eb8" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: fde897357ff6bb729323dc6d58753193d0d8e3d90ea66081f9a4eb798e1056a3a47a49c666a7bccdf93e37780ed0913b78de83a766c6da85b73bad3ed34470d0 - languageName: node - linkType: hard - -"typescript@patch:typescript@^5.0.4#~builtin": - version: 5.1.6 - resolution: "typescript@patch:typescript@npm%3A5.1.6#~builtin::version=5.1.6&hash=85af82" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 21e88b0a0c0226f9cb9fd25b9626fb05b4c0f3fddac521844a13e1f30beb8f14e90bd409a9ac43c812c5946d714d6e0dee12d5d02dfc1c562c5aacfa1f49b606 - languageName: node - linkType: hard - "ua-parser-js@npm:^0.7.30": version: 0.7.35 resolution: "ua-parser-js@npm:0.7.35"