hubble-contracts
hubble-contracts copied to clipboard
Update NodeJS v14
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.
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.
In version matrix, consider adding v16.x as well since it will LTS in October
Remove del
dep https://github.com/thehubbleproject/hubble-contracts/pull/619#discussion_r668288517
Update target
and lib
entries in tsconfig.json
to match proper ES support level for node version.