Open karolina-siemieniuk-morawska opened 1 year ago
Added to coldbox after several attempts on updating due to how much time it already consumed. The main issue behind all the difficulties is that both ng2-json-editor and record editor needs to be updated directly from Angular v4 to Angular v12 in order to get rid of node-sass that was only removed from Angular since version 12 and is blocking the rest of the project. Otherwise we cannot update Node version from v10.14.0 to any higher version, and we aim for >16.
The final attempt on updating seems to be the most promising, the following was done:
1. For ng2-json-editor:
2. For record-editor:
List of packages and repos to update in Record Editor:
1. Update ng2-json-editor project:
2. Update record-editor project:
Node: from 10.14.0 to >=16 to match Inspire
Angular: from 4 to as high as possible (latest is 16.0.4)
Angular CLI: from 1.5.6 to as high as possible (latest is 16.0.4)
Typescript: from 2.3.0 to at least 4
Get rid of node-sass as well
Karma (test runner): from 1.4.1 to >6
jasmine-core: from 2.5.2 to >5
plus all dependencies that fail after the updates