From 48472bc0709dad4f43612f1c2bac581ceb11a285 Mon Sep 17 00:00:00 2001 From: Jake Lane Date: Mon, 23 Jan 2023 14:23:17 +1100 Subject: [PATCH 1/4] Bump node version to v18 --- .github/workflows/test.yml | 4 +--- .nvmrc | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1f8051c6..c11eee094 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,8 +13,7 @@ jobs: strategy: matrix: - # Test LTS and v12.15 for ensuring support for exports in package.json - node-version: [v12.15, v16] + node-version: [14.x, 16.x, 18.x] steps: - uses: actions/checkout@v3 @@ -42,7 +41,6 @@ jobs: run: yarn - name: Validate - if: matrix.node-version == 'v16' run: yarn lint - name: Run tests diff --git a/.nvmrc b/.nvmrc index e65243f2e..3e558c9b3 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.19.0 +18.12.0 diff --git a/package.json b/package.json index ae98aa5a4..456250396 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,7 @@ "typescript": "^4.9.4" }, "engines": { - "node": "^v16.19.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, "loki": { "configurations": { From 4ec043725b6bc4b64bd7538c0ee0f13d1ef54636 Mon Sep 17 00:00:00 2001 From: Jake Lane Date: Mon, 23 Jan 2023 16:48:45 +1100 Subject: [PATCH 2/4] Bump import jsx --- yarn.lock | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/yarn.lock b/yarn.lock index 822364554..c175a0fe9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5878,6 +5878,13 @@ caller-callsite@^2.0.0: dependencies: callsites "^2.0.0" +caller-callsite@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-4.1.0.tgz#3e33cb1d910e7b09332d59a3503b9af7462f7295" + integrity sha512-99nnnGlJexTc41xwQTr+mWl15OI5PPczUJzM4YRE7QjkefMKCXGa5gfQjCOuVrD+1TjI/fevIDHg2nz3iYN5Ig== + dependencies: + callsites "^3.1.0" + caller-path@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4" @@ -5885,12 +5892,19 @@ caller-path@^2.0.0: dependencies: caller-callsite "^2.0.0" +caller-path@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-3.0.1.tgz#bc932ecec3f943e10c2f8922146e23b132f932e4" + integrity sha512-fhmztL4wURO/BzwJUJ4aVRdnKEFskPBbrJ8fNgl7XdUiD1ygzzlt+nhPgUBSRq2ciEVubo6x+W8vJQzm55QLLQ== + dependencies: + caller-callsite "^4.1.0" + callsites@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= -callsites@^3.0.0: +callsites@^3.0.0, callsites@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== @@ -9774,15 +9788,15 @@ import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: resolve-from "^4.0.0" import-jsx@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/import-jsx/-/import-jsx-4.0.0.tgz#2f31fd8e884e14f136751448841ffd2d3144dce1" - integrity sha1-LzH9johOFPE2dRRIhB/9LTFE3OE= + version "4.0.1" + resolved "https://registry.yarnpkg.com/import-jsx/-/import-jsx-4.0.1.tgz#30d5d336f3f52ed32b62690997f26e23c252a258" + integrity sha512-2Cj4nWRuAmvokFRU6UNo3xgzXKh+4nq/LBtD6mTp3V9c9nYV7O+dRvPChPOM34Qcj1+Ijz3oK6HqkixG0GP9Rg== dependencies: "@babel/core" "^7.5.5" "@babel/plugin-proposal-object-rest-spread" "^7.5.5" "@babel/plugin-transform-destructuring" "^7.5.0" "@babel/plugin-transform-react-jsx" "^7.3.0" - caller-path "^2.0.0" + caller-path "^3.0.1" find-cache-dir "^3.2.0" make-dir "^3.0.2" resolve-from "^3.0.0" From 7d243fea319fea0eaf3d96a6cfe243e50abb852d Mon Sep 17 00:00:00 2001 From: Grant Wong Date: Tue, 7 Feb 2023 14:03:02 +1100 Subject: [PATCH 3/4] Bump nvmrc node version from 18.12 to 18.14 --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index 3e558c9b3..e6db45a90 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.12.0 +18.14.0 From 8dfba12b0787ec9c19394ac47b94f1f4c44463bb Mon Sep 17 00:00:00 2001 From: Grant Wong Date: Tue, 7 Feb 2023 14:05:37 +1100 Subject: [PATCH 4/4] Add changeset for PR #1392 --- .changeset/fuzzy-feet-sell.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .changeset/fuzzy-feet-sell.md diff --git a/.changeset/fuzzy-feet-sell.md b/.changeset/fuzzy-feet-sell.md new file mode 100644 index 000000000..21aeb0427 --- /dev/null +++ b/.changeset/fuzzy-feet-sell.md @@ -0,0 +1,26 @@ +--- +'@compiled/parcel-app': minor +'@compiled/ssr-app': minor +'@compiled/webpack-app': minor +'@compiled/babel-component-fixture': minor +'@compiled-private/module-a': minor +'@compiled/parcel-optimizer-test-app': minor +'@compiled/parcel-transformer-test-app': minor +'@compiled/parcel-transformer-test-custom-resolver-app': minor +'@compiled/parcel-transformer-test-extract-app': minor +'@compiled/babel-plugin': minor +'@compiled/babel-plugin-strip-runtime': minor +'@compiled/benchmark': minor +'@compiled/codemods': minor +'@compiled/css': minor +'@compiled/eslint-plugin': minor +'@compiled/jest': minor +'@compiled/parcel-config': minor +'@compiled/parcel-optimizer': minor +'@compiled/parcel-transformer': minor +'@compiled/react': minor +'@compiled/utils': minor +'@compiled/webpack-loader': minor +--- + +Update monorepo node version to v18, and drop support for node v12