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:/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 <[email protected]>
  • Loading branch information
DerekNonGeneric authored Aug 23, 2022
1 parent 20376eb commit 500328c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "@openinf/util-types",
"version": "2.1.3",
"packageManager": "npm",
"engines": { "node": "^16.13.0", "npm": "^8.1.0", "npx": "^8.1.0" },
"main": "./index.js",
"types": "./index.d.ts",
"scripts": {
Expand Down

0 comments on commit 500328c

Please sign in to comment.