Skip to content

Compile c3 with npmDependencies and ship its license - #26

Open
ct-mgadomski wants to merge 1 commit into
mainfrom
dependency-cleanup
Open

ct-mgadomski wants to merge 1 commit into
mainfrom
dependency-cleanup

Conversation

@ct-mgadomski

@ct-mgadomski ct-mgadomski commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Refs #23

  • dn_charting: build with rollup (build.config.js, npmDependencies: c3), c3 0.7.20 as exact production dependency, remove the vendored dn_charting-c3 bundle, move the c3 typings to dn_charting/c3.d.ts
  • module.ts exports the components (required by the rollup build), manifest declares the imported bundles apprt-fetch, ct and dojo
  • gulpfile: copy c3.min.css and the license texts of c3 and its dependencies (d3, ...) into the bundle (licenses//)
  • README: third-party software table, bundle README note
  • Move check-licenses.ts to the blueprint location src/support/js/
  • Sample app: remove dn_querybuilder (also from pom.xml), console bundle and app.css

- dn_charting: build with rollup (build.config.js, npmDependencies: c3),
  c3 0.7.20 as exact production dependency, remove the vendored
  dn_charting-c3 bundle, move the c3 typings to dn_charting/c3.d.ts
- module.ts exports the components (required by the rollup build),
  manifest declares the imported bundles apprt-fetch, ct and dojo
- gulpfile: copy c3.min.css and the license texts of c3 and its
  dependencies (d3, ...) into the bundle (licenses/<package>/)
- README: third-party software table, bundle README note
- Move check-licenses.ts to the blueprint location src/support/js/
- Sample app: remove dn_querybuilder (also from pom.xml), console
  bundle and app.css

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wo kommt das her? Passt der Lizenz-Header hier? Nicht besser https://www.npmjs.com/package/@types/c3 nutzen?

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.

2 participants