diff --git a/.github/workflows/changelog-bot.yml b/.github/workflows/changelog-bot.yml index ea2bd67afa..b98c8fb69c 100644 --- a/.github/workflows/changelog-bot.yml +++ b/.github/workflows/changelog-bot.yml @@ -14,7 +14,7 @@ jobs: token: ${{ secrets.EXPO_BOT_PAT }} - uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 - name: Checkout Pull Request run: gh pr checkout ${{ github.event.issue.number }} env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee4b50f9fb..f703d46421 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 - run: yarn install --frozen-lockfile --check-files - run: yarn build - name: Build tarballs @@ -68,7 +68,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 - run: yarn install --frozen-lockfile --check-files - run: yarn build - name: Build tarballs @@ -96,7 +96,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 - run: yarn install --frozen-lockfile --check-files - run: sudo apt-get install nsis - run: yarn build @@ -138,7 +138,7 @@ jobs: with: registry-url: 'https://registry.npmjs.org/' scope: 'expo' - node-version: 18 + node-version: 20 - name: Install dependencies run: yarn install --frozen-lockfile --check-files - name: Build @@ -165,7 +165,7 @@ jobs: token: ${{ secrets.EXPO_BOT_PAT }} - uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 - name: Install dependencies working-directory: ./scripts run: yarn install --frozen-lockfile --check-files diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index 9c290b60aa..795a96ce43 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 - uses: preactjs/compressed-size-action@v2 with: build-script: 'build:tarballs:linux' diff --git a/.github/workflows/test-scripts.yml b/.github/workflows/test-scripts.yml index 20533f3195..461356a20a 100644 --- a/.github/workflows/test-scripts.yml +++ b/.github/workflows/test-scripts.yml @@ -25,6 +25,6 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 - run: yarn install --frozen-lockfile --check-files - run: yarn typecheck diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6bb1c643b0..9af483e407 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['14', '16', '18'] + node: ['16', '18', '20'] include: - - node: '18' + - node: '20' coverage: true name: Test with Node ${{ matrix.node }} steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e23657b72..d00e0525ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ This is the log of notable changes to EAS CLI and related packages. ### 🛠 Breaking changes +- Drop support for Node 14. ([#2175](https://github.com/expo/eas-cli/pull/2175) by [@szdziedzic](https://github.com/szdziedzic)) + ### 🎉 New features - Allow undefined update message for EAS Update publishing when no VCS. ([#2148](https://github.com/expo/eas-cli/pull/2148) by [@wschurman](https://github.com/wschurman)) diff --git a/package.json b/package.json index 25f674dec1..8a3f71acc1 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@types/jest": "29.2.5", - "@types/node": "18.11.18", + "@types/node": "20.11.0", "eslint": "8.31.0", "eslint-config-universe": "11.1.1", "eslint-plugin-async-protect": "3.0.0", @@ -35,7 +35,7 @@ "typescript": "4.9.4" }, "volta": { - "node": "18.19.0", - "yarn": "1.22.19" + "node": "20.11.0", + "yarn": "1.22.21" } } diff --git a/packages/eas-cli/package.json b/packages/eas-cli/package.json index 7ffeb86764..3c6d2ed537 100644 --- a/packages/eas-cli/package.json +++ b/packages/eas-cli/package.json @@ -118,7 +118,7 @@ "typescript": "4.9.4" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "files": [ "/bin", @@ -217,7 +217,7 @@ "clean": "rimraf dist build tmp node_modules yarn-error.log" }, "volta": { - "node": "18.19.0", - "yarn": "1.22.19" + "node": "20.11.0", + "yarn": "1.22.21" } } diff --git a/packages/eas-json/package.json b/packages/eas-json/package.json index d10ad8a5f6..e4f70bb826 100644 --- a/packages/eas-json/package.json +++ b/packages/eas-json/package.json @@ -25,7 +25,7 @@ "typescript": "4.9.4" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "homepage": "https://github.com/expo/eas-cli", "license": "MIT", @@ -50,7 +50,7 @@ "access": "public" }, "volta": { - "node": "18.19.0", - "yarn": "1.22.19" + "node": "20.11.0", + "yarn": "1.22.21" } } diff --git a/scripts/package.json b/scripts/package.json index 90ebd6fdcc..8b3126b0f7 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -15,7 +15,7 @@ "author": "Expo ", "license": "MIT", "engines": { - "node": ">=14.16" + "node": ">=16.0.0" }, "dependencies": { "chalk": "5.2.0", @@ -30,13 +30,13 @@ "@types/dateformat": "3.0.1", "@types/fs-extra": "9.0.13", "@types/lodash-es": "4.17.6", - "@types/node": "18.11.18", + "@types/node": "20.11.0", "@types/semver": "7.3.13", "ts-node": "10.9.1", "typescript": "4.9.4" }, "volta": { - "node": "18.19.0", - "yarn": "1.22.19" + "node": "20.11.0", + "yarn": "1.22.21" } } diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 705992f926..18d7bf3d4b 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -76,10 +76,12 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-16.10.3.tgz#7a8f2838603ea314d1d22bb3171d899e15c57bd5" integrity sha512-ho3Ruq+fFnBrZhUYI46n/bV2GjwzSkwuT4dTf0GkuNFmnb8nq4ny2z9JEVemFi6bdEJanHLlYfy9c6FN9B9McQ== -"@types/node@18.11.18": - version "18.11.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" - integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== +"@types/node@20.11.0": + version "20.11.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.0.tgz#8e0b99e70c0c1ade1a86c4a282f7b7ef87c9552f" + integrity sha512-o9bjXmDNcF7GbM4CNQpmi+TutCgap/K3w1JyKgxAjqx41zp9qlIAVFi0IhCNsJcXolEqLWhbFbEeL0PvYm4pcQ== + dependencies: + undici-types "~5.26.4" "@types/semver@7.3.13": version "7.3.13" @@ -202,6 +204,11 @@ typescript@4.9.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + universalify@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" diff --git a/yarn.lock b/yarn.lock index 0361086435..e4ce3d824c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4330,10 +4330,12 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.27.tgz#a151873af5a5e851b51b3b065c9e63390a9e0eb1" integrity sha512-kVrqXhbclHNHGu9ztnAwSncIgJv/FaxmzXJvGXNdcCpV1b8u1/Mi6z6m0vwy0LzKeXFTPLH0NzwmoJ3fNCIq0g== -"@types/node@18.11.18": - version "18.11.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" - integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== +"@types/node@20.11.0": + version "20.11.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.0.tgz#8e0b99e70c0c1ade1a86c4a282f7b7ef87c9552f" + integrity sha512-o9bjXmDNcF7GbM4CNQpmi+TutCgap/K3w1JyKgxAjqx41zp9qlIAVFi0IhCNsJcXolEqLWhbFbEeL0PvYm4pcQ== + dependencies: + undici-types "~5.26.4" "@types/node@^15.6.1": version "15.14.9" @@ -13568,6 +13570,11 @@ unc-path-regex@^0.1.2: resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo= +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + undici@^5.12.0, undici@^5.8.0: version "5.26.3" resolved "https://registry.yarnpkg.com/undici/-/undici-5.26.3.tgz#ab3527b3d5bb25b12f898dfd22165d472dd71b79"