Skip to content

Commit

Permalink
build(deps): ensure “Gallium” runtime & toolchain
Browse files Browse the repository at this point in the history
* Begin specifying the Last Known Good Release of Node.js toolchain,
  which is the 1ˢᵗ version of the “Gallium” LTS release line.

Refs: nodejs/node#40536 (review)

> This release marks the transition of Node.js 16.x into Long Term
> Support (LTS) with the codename “Gallium”. The 16.x release line
> now moves into “Active LTS” and will remain so until October 2022.
> After that time, it will move into “Maintenance” until end-of-life
> in April 2024.

Refs: https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md#16.13.0

* Begin specifying that we would like to use globally-installed npm.

> While `npm` is a valid option in the “packageManager” property, the
> lack of shim will cause the global npm to be used.

Refs: https://nodejs.org/docs/v16.13.0/api/corepack.html#corepack_how_does_corepack_interact_with_npm

> If the value corresponds to a supported package manager, Corepack
> will make sure that all calls to the relevant binaries are run
> against the requested version, downloading it on demand if needed,
> and aborting if it cannot be successfully retrieved.

Refs: https://nodejs.org/docs/v16.13.0/api/corepack.html#configuring-a-package

Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
  • Loading branch information
DerekNonGeneric committed Aug 23, 2022
1 parent a6a76b6 commit 61b5956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Common Markdown table-related utilities",
"main": "./index.js",
"types": "./index.d.ts",
"engines": { "node": ">=16.13.0" },
"scripts": {
"prepare": "npm run compile-src && npm run compile-doc",
"compile-src": "tsc --project ./",
Expand Down

0 comments on commit 61b5956

Please sign in to comment.