Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
Drop support for node 14 and 16, add tests for node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
vsumner committed Jun 6, 2024
1 parent ae1adc1 commit 63f5b8d
Show file tree
Hide file tree
Showing 74 changed files with 75 additions and 75 deletions.
4 changes: 2 additions & 2 deletions .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ last 3 safari versions
last 3 chromeandroid versions
last 1 firefoxandroid versions
ios >= 13.4
node 14.17.0
node 18.12.0

[esnext]
last 1 chrome versions

[server-only]
node 14.17.0
node 18.12.0
2 changes: 1 addition & 1 deletion .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# or failure will fall back to the previous behavior of downloading
# directly from node dist.
# https://github.com/actions/setup-node
node-version: ['14', '16', '18']
node-version: ['18', '20']
react-version: ['17', '18']
timeout-minutes: 15

Expand Down
2 changes: 1 addition & 1 deletion packages/address-consts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/address-consts/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"files": [
"build/",
Expand Down
2 changes: 1 addition & 1 deletion packages/address-mocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/address-mocks/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"sideEffects": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/address/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/address/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"devDependencies": {
"@shopify/address-mocks": "^3.2.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/admin-graphql-api-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/admin-graphql-api-utilities/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"sideEffects": false,
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/async/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"devDependencies": {
"@babel/core": ">=7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/browser/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"files": [
"build/",
Expand Down
2 changes: 1 addition & 1 deletion packages/csrf-token-fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/csrf-token-fetcher/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"files": [
"build/",
Expand Down
2 changes: 1 addition & 1 deletion packages/css-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/css-utilities/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"classnames": "^2.3.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/dates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/dates/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/function-enhancers": "^3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/function-enhancers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/function-enhancers/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"files": [
"build/",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-config-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-config-utilities/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"glob": "^7.1.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-fixtures/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@faker-js/faker": "^8.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-mini-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-mini-transforms/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@jest/transform": ">= 27 <29",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-persisted/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-persisted/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@apollo/client": "^3.5.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-testing/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"graphql": ">=14.5.0 <17.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-tool-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-tool-utilities/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"apollo-codegen-core": "^0.40.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-typed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-typed/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"peerDependencies": {
"graphql": ">=14.5.0 <17.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-typescript-definitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-typescript-definitions/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@babel/generator": "^7.14.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-validate-fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/graphql-validate-fixtures/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"chalk": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/i18n/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"sideEffects": false,
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-dom-mocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/jest-dom-mocks/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/async": "^4.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-koa-mocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/jest-koa-mocks/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"koa": "^2.13.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/koa-liveness-ping/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/koa-liveness-ping/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"devDependencies": {
"@shopify/jest-koa-mocks": "^5.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/koa-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/koa-metrics/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/statsd": "^4.4.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/koa-performance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/koa-performance/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/network": "^3.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/koa-shopify-graphql-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/koa-shopify-graphql-proxy/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@types/koa": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/koa-shopify-webhooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/koa-shopify-webhooks/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/network": "^3.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/logger/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"chalk": "^2.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/mime-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/mime-types/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"files": [
"build/",
Expand Down
2 changes: 1 addition & 1 deletion packages/name/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/name/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"sideEffects": false,
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/network/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"files": [
"build/",
Expand Down
2 changes: 1 addition & 1 deletion packages/performance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/performance/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"files": [
"build/",
Expand Down
2 changes: 1 addition & 1 deletion packages/phone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/phone/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"google-libphonenumber": "^3.2.17"
Expand Down
2 changes: 1 addition & 1 deletion packages/polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/polyfills/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"caniuse-api": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/predicates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/predicates/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"files": [
"build/",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-app-bridge-universal-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-app-bridge-universal-provider/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/app-bridge-react": ">=1.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-async/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/async": "^4.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-bugsnag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-bugsnag/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@bugsnag/js": "^7.20.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-compose/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/useful-types": "^5.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-cookie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-cookie/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/react-hooks": "^3.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-csrf-universal-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-csrf-universal-provider/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"dependencies": {
"@shopify/react-csrf": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-csrf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/react-csrf/README.md",
"engines": {
"node": "^14.17.0 || >=16.0.0"
"node": ">=18.12.0"
},
"peerDependencies": {
"react": ">=16.8.0 <19.0.0"
Expand Down
Loading

0 comments on commit 63f5b8d

Please sign in to comment.