-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(angular): Bundle angular wrapper components using angular package…
… format
- Loading branch information
Showing
9 changed files
with
64 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
// export all modules from an entrypoint | ||
// To be used with ts-loader & angular loaders in projects | ||
export * from "./src/charts.module.ts"; | ||
|
||
export { DonutChartComponent } from "./src/donut-chart.component"; | ||
export { PieChartComponent } from "./src/pie-chart.component"; | ||
export { BarChartComponent } from "./src/bar-chart.component"; | ||
export { LineChartComponent } from "./src/line-chart.component"; | ||
export * from "./dist/bundles/carbon-charts-angular.umd.min.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
{ | ||
"$schema": "./node_modules/ng-packagr/package.schema.json", | ||
"name": "@carbon/charts-angular", | ||
"version": "0.7.9", | ||
"description": "Carbon charting components for Angular", | ||
"main": "index.js", | ||
"files": [ | ||
"dist", | ||
"index.js", | ||
"CHANGELOG.md", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"build": "ng-packagr -p package.json" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:IBM/carbon-charts.git" | ||
|
@@ -18,14 +28,12 @@ | |
"@angular/http": "^6.0.0", | ||
"@angular/platform-browser": "^6.0.0", | ||
"@angular/platform-browser-dynamic": "^6.0.0", | ||
"@carbon/charts": "^0.7.9", | ||
"@ngx-translate/core": "9.0.2", | ||
"core-js": "2.5.3", | ||
"rxjs": "5.5.5", | ||
"zone.js": "0.8.18" | ||
}, | ||
"dependencies": { | ||
"@carbon/charts": "^0.7.9" | ||
}, | ||
"devDependencies": { | ||
"@angular/animations": "6.0.0", | ||
"@angular/common": "6.0.0", | ||
|
@@ -38,7 +46,8 @@ | |
"@angular/platform-browser-dynamic": "6.0.0", | ||
"@angular/platform-server": "6.0.0", | ||
"@angular/router": "6.0.0", | ||
"@compodoc/compodoc": "1.0.4", | ||
"@carbon/charts": "0.7.9", | ||
"@compodoc/compodoc": "1.1.7", | ||
"@ngx-translate/core": "9.0.2", | ||
"@types/d3": "4.12.0", | ||
"@types/jasmine": "2.8.6", | ||
|
@@ -51,14 +60,14 @@ | |
"event-stream": "3.3.4", | ||
"extract-text-webpack-plugin": "3.0.2", | ||
"file-loader": "1.1.11", | ||
"gulp": "3.9.1", | ||
"gulp": "4.0.0", | ||
"gulp-concat": "2.6.1", | ||
"gulp-tap": "1.0.1", | ||
"html-loader": "0.5.5", | ||
"html-webpack-plugin": "3.2.0", | ||
"husky": "0.14.3", | ||
"jasmine-core": "3.1.0", | ||
"karma": "2.0.2", | ||
"karma": "3.1.1", | ||
"karma-chrome-launcher": "2.2.0", | ||
"karma-cli": "1.0.1", | ||
"karma-firefox-launcher": "1.1.0", | ||
|
@@ -68,6 +77,7 @@ | |
"karma-sourcemap-loader": "0.3.7", | ||
"karma-spec-reporter": "0.0.32", | ||
"karma-webpack": "3.0.0", | ||
"ng-packagr": "4.4.0", | ||
"node-sass": "4.10.0", | ||
"postcss-loader": "2.1.4", | ||
"raw-loader": "0.5.1", | ||
|
@@ -86,11 +96,16 @@ | |
"wait-on": "2.1.0", | ||
"webpack": "4.7.0", | ||
"webpack-cli": "2.1.2", | ||
"webpack-dev-server": "3.1.4", | ||
"webpack-dev-server": "3.1.10", | ||
"webpack-node-externals": "1.6.0", | ||
"whatwg-fetch": "2.0.3", | ||
"zone.js": "0.8.21" | ||
}, | ||
"ngPackage": { | ||
"lib": { | ||
"entryFile": "src/charts.module.ts" | ||
} | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters