Skip to content

Conversation

@kruzznikam
Copy link
Contributor

@kruzznikam kruzznikam commented May 2, 2024

Updates angular from 14.x to 17.3.6
used angular official documentation for upgrading the version (ng update)

Changelogs

Sourced from angular's changelog.

File Changes
  • angular.json
  • package.json
  • package-lock.json
  • tsconfig.json

Replaces ng2-codemirror from with ngx-codemirror
ng2-codemirror is no longer working in Angular-v16 and above and is not maintained from last 7 years.

ngx-codemirror v7 is open source with MIT license. It uses the same peer dependency codemirror, as ng2-codemirror does.

File Changes
  • package.json
  • package-lock.json
  • src/app/app.component.html
  • src/app/app.module.ts
  • src/app/fusioncharts/tabbedComponent/tabbed.code.html

Other File Changes

Changed the type of input prop 'chartConfig' to same as 'dataSource' as it can also accept string and object.

  • src/angular-fusioncharts/src/fusioncharts.component.ts

Updated rollup config file(used in the build script), as the docs and config has changed.

  • rollup.config.js

Fixed compilation errors.

  • src/polyfills.ts
  • src/tsconfig.app.json

Made a new build using 'angular run build' command.

  • dist/dist/index.js
  • dist/dist/index.min.js
  • dist/src/fusioncharts.component.d.ts
  • dist/src/fusioncharts.component.js
  • dist/src/fusioncharts.component.js.map
  • dist/src/fusioncharts.directive.d.ts
  • dist/src/fusioncharts.service.js.map
  • yarn.lock

 * used angular official documentation for upgrading the version (ng update)
 * replaced ng2-codemirror with ngx-codemirror (both of these are base on codemirror) for code-snippets as ng2-codemirror is no longer workin in Angular-v16 and above
 * updated rollup config file(used in the build script), as the docs and config has changed
 * changed fusionchart.component input prop from string to any as it also accects an object
@Yaminim07
Copy link

Looks good to me.

@Yaminim07 Yaminim07 merged commit af7f509 into 4.0-dev-integration May 2, 2024
kruzznikam added a commit that referenced this pull request May 6, 2024
…fusioncharts example, bumped integration version

feature/support-2357 upgraded angular version from v14 to v17. (#186)

* used angular official documentation for upgrading the version (ng update)
 * replaced ng2-codemirror with ngx-codemirror (both of these are base on codemirror) for code-snippets as ng2-codemirror is no longer workin in Angular-v16 and above
 * updated rollup config file(used in the build script), as the docs and config has changed
 * changed fusionchart.component input prop from string to any as it also accects an object

[feature] [support - 2357] create a new angular fusioncharts example (#188)

-> Create a new examples folder which has a new angularv17 project and shows how to use angular-fusioncharts library

bumped integration version from 4.0.3 to 4.1.0
 * removed unnessary code from app.component.ts
meherhowji added a commit that referenced this pull request Jun 4, 2024
[feature] [SUPPORT-2357] upgrade angular version from v14 to v17. (#186)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants