-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(infra): test Node.js v16 and expand "engines" range to include …
…it (#713) * infra(ci): Switch to using `cimg/` Docker images over `circleci/` images The newer images are smaller and suggested to be widely cached. In practice, the older images are widely cached because they're still more prevalent but happy to use the newer images, particularly since the older images aren't getting as much in the way of updates anymore (e.g., there are not any Node.js 16 images for it.) * docs: Switch to using `NODE_VERSION` and `NPM_VERSION` for Netlify Using this instead of `.nvmrc` since this allows more granular control over the `npm` version that gets installed. Ref: https://docs.netlify.com/configure-builds/manage-dependencies/#npm * infra: Start running Node.js 16 tests * chore: bump upper-bounds of `node` within `engines` to allow Node.js v16 * Remove unnecessary `engines` constraint on unpublished package The constraint on this can be enforced exclusively at the monorepo level since this package is not published and that constraint need not be conveyed by any user at runtime. * renovate: Intentionally disable the `circleci` manager The "circleci" manager is intentionally disabled as of this commit. While we do benefit from its updating of "Orb" versions, the CircleCI manager also attempts to update Docker images using its "Docker" datasource. This is really handy, in theory, but we have intentionally varying major Node.js docker image identifiers in our CircleCI configuration to test on each major Node.js platform! I suspect that enabling the "circleci" manager would cause all of these to update to the latest version (e.g., 16) when we want them to be intentionally different! I'm going to try to craft an fix for this, but I might do it upstream on Renovate itself using its Regex manager. It's also worth noting that there is other configuration that could be used to _only_ renovate "orbs" on this file, but I'm taking the short-cut route and not juggling with that right now. I can test the repository locally with my own copy of Renovate and come up with another solution given some free time.
- Loading branch information
Showing
16 changed files
with
58 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"engines": { | ||
"node": ">=14 <15", | ||
"node": ">=14 <17", | ||
"npm": "7.x" | ||
}, | ||
"scripts": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ | |
- _Nothing yet! Stay tuned!_ | ||
|
||
- Expand the range of supported `node` versions in the package's `engines` specifier to include the now-tested Node.js `16`. [PR #713](https://github.com/apollographql/federation/pull/713) | ||
|
||
## v0.23.2 | ||
|
||
- Remove lingering `core-js` polyfill imports, they're no longer needed (since `@apollo/[email protected]` dropped support for <= Node.js v10) and their presence is problematic since `core-js` isn't defined as a dependency within the package. Update `apollo-graphql` dependency which resolves a missing dependency (`sha.js`) within that package. [PR #699](https://github.com/apollographql/federation/pull/699) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
"author": "Apollo <[email protected]>", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=12.13.0 <15.0" | ||
"node": ">=12.13.0 <17.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
"author": "Apollo <[email protected]>", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=12.13.0 <15.0" | ||
"node": ">=12.13.0 <17.0" | ||
}, | ||
"dependencies": { | ||
"@apollo/federation": "file:../federation-js" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters