hubble-contracts icon indicating copy to clipboard operation
hubble-contracts copied to clipboard

Update NodeJS v14

Open jacque006 opened this issue 3 years ago • 4 comments

NodeJS

Update to latest LTS v14

  • Add an engines entry to our package.json for LTS versions v10 - v14
  • Add build matrix entries in Github Actions for v12, v14 that we only run on merges to master/releases. Run these only for client tests, use v14 for other tests.

jacque006 avatar Apr 26 '21 13:04 jacque006

npm@7 introduced a new lockfile format https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json#lockfileversion . As part of moving to a new node version, we should move to npm v7 and enforce that version or greater in our engines entry.

jacque006 avatar May 06 '21 15:05 jacque006

In version matrix, consider adding v16.x as well since it will LTS in October

jacque006 avatar Jun 10 '21 21:06 jacque006

Remove del dep https://github.com/thehubbleproject/hubble-contracts/pull/619#discussion_r668288517

jacque006 avatar Jul 13 '21 16:07 jacque006

Update target and lib entries in tsconfig.json to match proper ES support level for node version.

jacque006 avatar Aug 19 '21 21:08 jacque006