diff --git a/angular.json b/angular.json index 8a6b8ad..48ca248 100644 --- a/angular.json +++ b/angular.json @@ -32,9 +32,7 @@ "output": "/assets/" } ], - "styles": [ - "src/styles.less" - ], + "styles": ["src/styles.less"], "scripts": [] }, "configurations": { @@ -93,27 +91,16 @@ "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.spec.json", "karmaConfig": "karma.conf.js", - "assets": [ - "src/favicon.ico", - "src/assets" - ], - "styles": [ - "src/styles.less" - ], + "assets": ["src/favicon.ico", "src/assets"], + "styles": ["src/styles.less"], "scripts": [] } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { - "tsConfig": [ - "tsconfig.app.json", - "tsconfig.spec.json", - "e2e/tsconfig.json" - ], - "exclude": [ - "**/node_modules/**" - ] + "tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"], + "exclude": ["**/node_modules/**"] } }, "e2e": { @@ -141,7 +128,7 @@ "prefix": "ns", "architect": { "build": { - "builder": "@angular-devkit/build-ng-packagr:build", + "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "projects/zorro-sharper/tsconfig.lib.json", "project": "projects/zorro-sharper/ng-package.json" @@ -158,17 +145,12 @@ "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { - "tsConfig": [ - "projects/zorro-sharper/tsconfig.lib.json", - "projects/zorro-sharper/tsconfig.spec.json" - ], - "exclude": [ - "**/node_modules/**" - ] + "tsConfig": ["projects/zorro-sharper/tsconfig.lib.json", "projects/zorro-sharper/tsconfig.spec.json"], + "exclude": ["**/node_modules/**"] } } } } }, "defaultProject": "zorro-sharper-doc" -} \ No newline at end of file +} diff --git a/package.json b/package.json index a2c2171..ad7e6f5 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "karma-junit-reporter": "^2.0.1", "karma-spec-reporter": "0.0.32", "karma-viewport": "^1.0.7", - "ng-packagr": "^11.0.3", + "ng-packagr": "^11.1.3", "nz-tslint-rules": "^0.901.2", "protractor": "~7.0.0", "ts-node": "~9.1.1", diff --git a/projects/zorro-sharper/package.json b/projects/zorro-sharper/package.json index ac2c424..0e05136 100644 --- a/projects/zorro-sharper/package.json +++ b/projects/zorro-sharper/package.json @@ -1,8 +1,8 @@ { "name": "zorro-sharper", - "version": "2.0.0", + "version": "3.0.0", "peerDependencies": { - "@angular/common": "~9.1.3", - "@angular/core": "~9.1.3" + "@angular/common": "^11.0.5", + "@angular/core": "^11.0.5" } }