Upgraded project to latest Cesium Version, 1.101.0
Upgraded typescript version to 4.4.3
Added util library which angular uses now
Fixes
Removed cyclical dependency in cesium service to fix partial ivy compilation error, since now Angular 13 compiles using ivy not ngcc
Added common module to demo app.module for latest angular compatibility
Fixed issue in ng-add schematics where "moduleSource" was not defined in the concatenation
Change TSLint to ESLint, as TSLint is now unsupported/deprecated
Changed the CircleCI Node docker base image to 16
Running locally, all things build as expected. Demo runs as before.
As angular 13 now builds with partial ivy compared to ngcc before, the circular dependency between AcMapComponent and CesiumService was no longer allowed, so this was changed to be any type. However it still is the AcMapComponent under the hood, so works as before.
Had to make some edits to the eslint rules as they're more strict now in ESLint and specifically the angular 13 rules. They required all components to begin with ac- in their selector, I chose to not do this as it would be a breaking change for people upgrading.
Checklist:
[ ] If this PR is a new feature, please reference an issue where a consensus about the design was reached (not necessary for small changes)
[x] Make sure all changes are documented in CHANGESLOG.md and README.md
@shayb-datumate @aleks-datumate I'm unsure who's able to merge in this PR but I see you two completed the last PR two weeks ago #439, can you please check this one?
Features
Angular 13
LTSCesium
Version, 1.101.0typescript
version to 4.4.3util
library which angular uses nowFixes
Running locally, all things build as expected. Demo runs as before.
As angular 13 now builds with partial ivy compared to ngcc before, the circular dependency between
AcMapComponent
andCesiumService
was no longer allowed, so this was changed to beany
type. However it still is theAcMapComponent
under the hood, so works as before.Had to make some edits to the eslint rules as they're more strict now in ESLint and specifically the angular 13 rules. They required all components to begin with
ac-
in their selector, I chose to not do this as it would be a breaking change for people upgrading.Checklist: