Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(nodejs): bump minimal nodejs and npm versions
- Add script `tools/bump-package-engines.ts` to update minimal node and npm versions in all cacti packages. - Set minimal node to 18 and npm to 8 in all cacti packages. - Add env variable `NODEJS_VERSION` in CI scripts to centralize nodejs setup. - Change default nodejs in CI to v18.18.2 - Minor formatting fixes - sorted package.json, removed whitespaces. - Use socket.io-client-fixed-types in sawtooth connector to fix ESM import error - Change node-fetch to 2.7.0 (still supported) in ubiqity connector to fix ESM import error - Use explicit 127.0.0.1 instead of localhost in many source files. NodeJS 18 prefers ipv6 over ipv4 and that caused some troubles when localhost was used. - Run codegen to update file structure. - Replace ts-ignore with ts-expect-error and add description to fix es-lint errors. Fix formatting issues found by the linter. Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
- Loading branch information