Skip to content

Commit a6369bf

Browse files
committed
fixed schematics and build
1 parent 9effd72 commit a6369bf

File tree

7 files changed

+241
-107
lines changed

7 files changed

+241
-107
lines changed

.idea/runConfigurations/Publish.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.idea/runConfigurations/Publish_doc.xml renamed to .idea/runConfigurations/Publish_Lib.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Build.xml renamed to .idea/runConfigurations/Watch_Lib.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 232 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
"ng": "ng",
66
"start": "ng serve",
77
"build": "ng build",
8-
"build-library": "ng build ng-metro4 --watch",
8+
"watch-lib": "ng build ng-metro4 --watch",
99
"test": "ng test",
1010
"lint": "ng lint",
1111
"e2e": "ng e2e",
1212
"build-schematics": "tsc -p projects/ng-metro4/tsconfig.schematics.json --outDir dist/ng-metro4/schematics && cpx dist/ng-metro4/schematics/src/schematics/** dist/ng-metro4/schematics && cpx projects/ng-metro4/src/schematics/**/{collection.json,schema.json,files/**} dist/ng-metro4/schematics",
13-
"publish": "npm run build -- ng-metro4 && npm run build-schematics && cpx ./README.md ./dist/ng-metro4 && cd ./dist/ng-metro4 && npm publish",
13+
"build-lib": "npm run build -- ng-metro4 && npm run build-schematics && cpx ./README.md ./dist/ng-metro4",
14+
"publish-lib": "npm run build-lib && cd ./dist/ng-metro4 && npm publish",
1415
"publish-doc": "npm run build -- ng-metro4 && ng run metro4-demo:deploy"
1516
},
1617
"private": true,

projects/ng-metro4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ng-metro4",
33
"description": "Angular components for Metro4 UI library in modern ui style.",
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"peerDependencies": {
66
"@angular/common": "~8.1.0",
77
"@angular/core": "~8.1.0",

projects/ng-metro4/src/schematics/ng-add/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function(options: NgAddOptions): Rule {
2727
context.addTask(new NodePackageInstallTask());
2828
}
2929

30-
addAssetToProject(host, 'node_modules/ng-metro4-lib/build/css/metro-all.min.css', 'styles', options.project);
30+
addAssetToProject(host, 'node_modules/metro4/build/css/metro-all.min.css', 'styles', options.project);
3131
context.logger.log('info', '✅ Added assets to "angular.json"');
3232

3333
return host;

0 commit comments

Comments
 (0)