From 62001f96b5262429abf94e8396e97ae716260746 Mon Sep 17 00:00:00 2001 From: Dominik Sokal Date: Wed, 11 May 2022 10:49:34 +0200 Subject: [PATCH 1/4] drop support for node 12 and 13 --- packages/eas-cli/package.json | 2 +- packages/eas-json/package.json | 2 +- scripts/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/eas-cli/package.json b/packages/eas-cli/package.json index f53d8f89dc..7899aef3c0 100644 --- a/packages/eas-cli/package.json +++ b/packages/eas-cli/package.json @@ -104,7 +104,7 @@ "typescript": "4.6.4" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "files": [ "/bin", diff --git a/packages/eas-json/package.json b/packages/eas-json/package.json index 94a604fd3a..280eddc56e 100644 --- a/packages/eas-json/package.json +++ b/packages/eas-json/package.json @@ -21,7 +21,7 @@ "typescript": "4.6.4" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "homepage": "https://github.com/expo/eas-cli", "license": "MIT", diff --git a/scripts/package.json b/scripts/package.json index c52921d65d..96c4443452 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -10,7 +10,7 @@ "author": "Expo ", "license": "MIT", "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "dependencies": { "dateformat": "4.5.1", From e2b9e91a5cc6741d0408299707e6e0a4cf4f3f17 Mon Sep 17 00:00:00 2001 From: Dominik Sokal Date: Wed, 11 May 2022 10:49:49 +0200 Subject: [PATCH 2/4] update volta pinned node and yarn versions --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3b333e9518..04dcd88609 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "typescript": "4.6.4" }, "volta": { - "node": "16.10.0", - "yarn": "1.22.15" + "node": "18.2.0", + "yarn": "1.22.18" } } From 454be55847490844fe85b0f5b12fabf70e2c2566 Mon Sep 17 00:00:00 2001 From: Dominik Sokal Date: Wed, 11 May 2022 11:04:51 +0200 Subject: [PATCH 3/4] update node version in CI --- .github/workflows/changelog.yml | 2 +- .github/workflows/release.yml | 10 +++++----- .github/workflows/size.yml | 2 +- .github/workflows/test.yml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index fbde4bc8fd..2d6c683113 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: 18 - name: Checkout Pull Request run: hub pr checkout ${{ github.event.issue.number }} env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3502641ef7..3804ea9e4e 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: '16' + node-version: 18 - 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: '16' + node-version: 18 - 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: '16' + node-version: 18 - 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: '16' + node-version: 18 - name: Install dependencies run: yarn install --frozen-lockfile --check-files - name: Build @@ -155,7 +155,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: 18 - 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 9ac9f36a7a..76d4f1e8c9 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 18 - uses: preactjs/compressed-size-action@v2 with: build-script: 'build:tarballs:linux' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 50506a4d83..fd6055c4e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['12', '14', '16'] + node: ['14', '16', '18'] include: - - node: '16' + - node: '18' coverage: true name: Test with Node ${{ matrix.node }} steps: From e18fbca89025baf0bfcf031c1aeb37d6525c1a11 Mon Sep 17 00:00:00 2001 From: Dominik Sokal Date: Wed, 18 May 2022 09:41:14 +0200 Subject: [PATCH 4/4] upgrade memfs to latest --- packages/eas-cli/package.json | 2 +- packages/eas-json/package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/eas-cli/package.json b/packages/eas-cli/package.json index 7899aef3c0..456983381e 100644 --- a/packages/eas-cli/package.json +++ b/packages/eas-cli/package.json @@ -96,7 +96,7 @@ "axios": "0.27.2", "eslint-plugin-graphql": "4.0.0", "form-data": "4.0.0", - "memfs": "3.4.1", + "memfs": "3.4.3", "mockdate": "3.0.5", "nock": "13.2.4", "tempy": "0.7.0", diff --git a/packages/eas-json/package.json b/packages/eas-json/package.json index 280eddc56e..0ce95b7617 100644 --- a/packages/eas-json/package.json +++ b/packages/eas-json/package.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@types/fs-extra": "9.0.13", - "memfs": "3.4.1", + "memfs": "3.4.3", "typescript": "4.6.4" }, "engines": { diff --git a/yarn.lock b/yarn.lock index c51e807b4a..3efabae63b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9107,10 +9107,10 @@ md5@^2.2.1: vinyl "^2.0.1" vinyl-file "^3.0.0" -memfs@3.4.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.4.1.tgz#b78092f466a0dce054d63d39275b24c71d3f1305" - integrity sha512-1c9VPVvW5P7I85c35zAdEr1TD5+F11IToIHIlrVIcflfnzPkJa0ZoYEoEdYDP8KgPFoSZ/opDrUsAoZWym3mtw== +memfs@3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.4.3.tgz#fc08ac32363b6ea6c95381cabb4d67838180d4e1" + integrity sha512-eivjfi7Ahr6eQTn44nvTnR60e4a1Fs1Via2kCR5lHo/kyNoiMWaXCNJ/GpSd0ilXas2JSOl9B5FTIhflXu0hlg== dependencies: fs-monkey "1.0.3"