Skip to content

Commit

Permalink
升级到 antd 11
Browse files Browse the repository at this point in the history
  • Loading branch information
1-2-3 committed Feb 4, 2021
1 parent 8960e86 commit 5fa200f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 31 deletions.
36 changes: 9 additions & 27 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
"output": "/assets/"
}
],
"styles": [
"src/styles.less"
],
"styles": ["src/styles.less"],
"scripts": []
},
"configurations": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
Expand All @@ -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"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions projects/zorro-sharper/package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 5fa200f

Please sign in to comment.