diff --git a/projects/coreui-angular-chartjs/package.json b/projects/coreui-angular-chartjs/package.json index f13d95d5..884ee9ae 100644 --- a/projects/coreui-angular-chartjs/package.json +++ b/projects/coreui-angular-chartjs/package.json @@ -51,7 +51,7 @@ "schematics": "./schematics/collection.json", "scripts": { "build": "tsc -p tsconfig.schematics.json", - "postbuild": "copyfiles schematics/*/files/** schematics/collection.json ../../dist/coreui-angular-chartjs/" + "postbuild": "copyfiles schematics/*/files/** schematics/collection.json schematics/package.json ../../dist/coreui-angular-chartjs/ && node ../../dist/coreui-angular-chartjs/schematics/ng-add/index.js" }, "ng-add": { "save": true diff --git a/projects/coreui-angular-chartjs/schematics/package.json b/projects/coreui-angular-chartjs/schematics/package.json new file mode 100644 index 00000000..5bbefffb --- /dev/null +++ b/projects/coreui-angular-chartjs/schematics/package.json @@ -0,0 +1,3 @@ +{ + "type": "commonjs" +} diff --git a/projects/coreui-angular/package.json b/projects/coreui-angular/package.json index a5e85b52..314ca0e9 100644 --- a/projects/coreui-angular/package.json +++ b/projects/coreui-angular/package.json @@ -60,7 +60,7 @@ "schematics": "./schematics/collection.json", "scripts": { "build": "tsc -p tsconfig.schematics.json", - "postbuild": "copyfiles schematics/*/files/** schematics/collection.json ../../dist/coreui-angular/" + "postbuild": "copyfiles schematics/*/files/** schematics/collection.json schematics/package.json ../../dist/coreui-angular/ && node ../../dist/coreui-angular/schematics/ng-add/index.js" }, "ng-add": { "save": true diff --git a/projects/coreui-angular/schematics/package.json b/projects/coreui-angular/schematics/package.json new file mode 100644 index 00000000..5bbefffb --- /dev/null +++ b/projects/coreui-angular/schematics/package.json @@ -0,0 +1,3 @@ +{ + "type": "commonjs" +} diff --git a/projects/coreui-icons-angular/package.json b/projects/coreui-icons-angular/package.json index e6e18f72..5401054f 100644 --- a/projects/coreui-icons-angular/package.json +++ b/projects/coreui-icons-angular/package.json @@ -51,7 +51,7 @@ "schematics": "./schematics/collection.json", "scripts": { "build": "tsc -p tsconfig.schematics.json", - "postbuild": "copyfiles schematics/*/files/** schematics/collection.json ../../dist/coreui-icons-angular/" + "postbuild": "copyfiles schematics/*/files/** schematics/collection.json schematics/package.json ../../dist/coreui-icons-angular/ && node ../../dist/coreui-icons-angular/schematics/ng-add/index.js" }, "ng-add": { "save": true diff --git a/projects/coreui-icons-angular/schematics/package.json b/projects/coreui-icons-angular/schematics/package.json new file mode 100644 index 00000000..5bbefffb --- /dev/null +++ b/projects/coreui-icons-angular/schematics/package.json @@ -0,0 +1,3 @@ +{ + "type": "commonjs" +}