Build components with Node 16 or greater. #430
Merged
+128
−43
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add minimum requirement of Node 16 and npm 8.
Upgrade dependencies, where possible.
Some packages are not upgrade due to problems or potential problems.
Switch from
rxjs
torxjs-compat
, which is the new location for the oldrxjs
that we are using.This allows for using the
^
character to get the latest bugfix version for the 6.x releases.Replace tslint with eslint using
tslint-to-eslint-config
like this:This requires removing
angular-tslint-rules
.Fix bug in
scripts/build-version.js
that prevents building.The directory path
./dist/bundle
may not exist and needs to be created if it does not exist.Running this on Node 18 is not easily supported.
An extra step of adding an environment variable might be needed, such as:
Switching to the new Angular (13+, 14+, etc..) would avoid this but this introduces more problems.
The
package.json
utilizesoverrides
for eslint due to webpack bringing in a version that causes problems:Updated dependencies based on the results of:
resolves #429