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

Commit

Permalink
Merge pull request #2277 from Shopify/drop-node-12
Browse files Browse the repository at this point in the history
Drop node 12 support, remove wildcard exports, update browser support
  • Loading branch information
vsumner authored May 19, 2022
2 parents 1f16507 + 706190a commit 9fccd75
Show file tree
Hide file tree
Showing 149 changed files with 507 additions and 302 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# output to 14.x and 16.x, so for now lock to the last version in 14
# and 16 before the ICU change.
# Once we drop support for node 12 we can consider using 14.x and 16.x
node-version: ['12.22', '14.18', '16.13']
node-version: ['14.18', '16.13']
timeout-minutes: 15

steps:
Expand Down
4 changes: 2 additions & 2 deletions config/loom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export function quiltPackage({
const polyfillOptions = polyfill ? {} : {useBuiltIns: false, corejs: false};

const targets = isIsomorphic
? 'extends @shopify/browserslist-config, node 12.14.0'
: 'node 12.14.0';
? 'extends @shopify/browserslist-config, node 14.17.0'
: 'node 14.17.0';

return createComposedProjectPlugin<Package>('Quilt.Package', [
buildLibrary({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@faker-js/faker": "^5.5.3",
"@shopify/app-bridge": "^2.0.3",
"@shopify/babel-preset": "^24.1.4",
"@shopify/browserslist-config": "^2.2.4",
"@shopify/browserslist-config": "^3.0.0",
"@shopify/eslint-plugin": "^41.1.0",
"@shopify/loom": "^1.0.1",
"@shopify/loom-cli": "^1.0.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/address-consts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 3.0.10 - 2022-03-09

Expand Down
5 changes: 2 additions & 3 deletions 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": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"files": [
"build/",
Expand All @@ -38,7 +38,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/address-mocks/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 2.1.0 - 2022-03-10

Expand Down
5 changes: 2 additions & 3 deletions 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": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"devDependencies": {
"@shopify/jest-dom-mocks": "^2.11.5"
Expand All @@ -45,7 +45,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/address/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 3.2.0 - 2022-03-10

Expand Down
5 changes: 2 additions & 3 deletions 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": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"devDependencies": {
"@shopify/address-mocks": "^2.1.0",
Expand All @@ -45,7 +45,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/admin-graphql-api-utilities/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 1.0.9 - 2022-03-09

Expand Down
5 changes: 2 additions & 3 deletions 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": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"sideEffects": false,
"files": [
Expand All @@ -38,7 +38,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/ast-utilities/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 1.3.4 - 2022-03-09

Expand Down
5 changes: 2 additions & 3 deletions packages/ast-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/main/packages/ast-utilities/README.md",
"engines": {
"node": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"devDependencies": {
"@babel/core": ">=7.0.0",
Expand Down Expand Up @@ -82,7 +82,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/async/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 3.1.5 - 2022-03-09

Expand Down
5 changes: 2 additions & 3 deletions 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": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"devDependencies": {
"@babel/core": ">=7.0.0",
Expand Down Expand Up @@ -57,7 +57,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 2.0.9 - 2022-03-09

Expand Down
5 changes: 2 additions & 3 deletions 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": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"files": [
"build/",
Expand All @@ -41,7 +41,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/csrf-token-fetcher/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 1.0.8 - 2022-03-09

Expand Down
5 changes: 2 additions & 3 deletions 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": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"files": [
"build/",
Expand All @@ -38,7 +38,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/css-utilities/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 2.0.9 - 2022-03-09

Expand Down
5 changes: 2 additions & 3 deletions 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": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"dependencies": {
"classnames": "^2.3.1"
Expand All @@ -41,7 +41,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/dates/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 1.1.5 - 2022-03-09

Expand Down
5 changes: 2 additions & 3 deletions 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": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"dependencies": {
"@shopify/decorators": "^2.0.8"
Expand All @@ -44,7 +44,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/decorators/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 2.0.8 - 2022-03-09

Expand Down
5 changes: 2 additions & 3 deletions packages/decorators/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/decorators/README.md",
"engines": {
"node": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"files": [
"build/",
Expand All @@ -41,7 +41,6 @@
"esnext": "./index.esnext",
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
}
}
}
6 changes: 5 additions & 1 deletion packages/function-enhancers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## Unreleased -->
## Unreleased

### Breaking Change

- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [[#2277](https://github.com/Shopify/quilt/pull/2277)]

## 2.0.8 - 2022-03-09

Expand Down
Loading

0 comments on commit 9fccd75

Please sign in to comment.