Skip to content

Commit

Permalink
build: angular 16 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
OriginRing authored Oct 7, 2023
1 parent 51e4f71 commit b080695
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 30 deletions.
23 changes: 20 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
],
"createDefaultProgram": true
},
"plugins": ["@typescript-eslint", "jsdoc", "import", "unused-imports"],
"plugins": [
"@typescript-eslint",
"jsdoc",
"import",
"unused-imports"
],
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates",
Expand All @@ -28,7 +33,10 @@
"@angular-eslint/component-selector": [
"error",
{
"type": ["attribute", "element"],
"type": [
"attribute",
"element"
],
"prefix": "ng-antd-color-picker",
"style": "kebab-case"
}
Expand Down Expand Up @@ -110,7 +118,16 @@
"caseInsensitive": false
},
"newlines-between": "always",
"groups": ["external", "builtin", "internal", ["parent", "sibling", "index"]],
"groups": [
"external",
"builtin",
"internal",
[
"parent",
"sibling",
"index"
]
],
"pathGroups": [
{
"pattern": "{@angular/**,rxjs,rxjs/operators}",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The angular version of the color-picker component based on antd styles.

Angular version >= 15
Angular version >= 16

## Development

Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,33 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^15.2.0",
"@angular/common": "^15.2.0",
"@angular/compiler": "^15.2.0",
"@angular/core": "^15.2.0",
"@angular/forms": "^15.2.0",
"@angular/platform-browser": "^15.2.0",
"@angular/platform-browser-dynamic": "^15.2.0",
"@angular/router": "^15.2.0",
"@angular/animations": "^16.2.8",
"@angular/common": "^16.2.8",
"@angular/compiler": "^16.2.8",
"@angular/core": "^16.2.8",
"@angular/forms": "^16.2.8",
"@angular/platform-browser": "^16.2.8",
"@angular/platform-browser-dynamic": "^16.2.8",
"@angular/router": "^16.2.8",
"@ctrl/tinycolor": "^3.6.0",
"ng-antd-color-picker": "file:dist/ng-antd-color-picker/ng-antd-color-picker-0.0.1.tgz",
"ng-antd-color-picker": "file:dist/ng-antd-color-picker/ng-antd-color-picker-0.0.2.tgz",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.12.0"
"zone.js": "~0.13.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.6",
"@angular-eslint/builder": "15.2.1",
"@angular-eslint/eslint-plugin": "15.2.1",
"@angular-eslint/eslint-plugin-template": "15.2.1",
"@angular-eslint/schematics": "15.2.1",
"@angular-eslint/template-parser": "15.2.1",
"@angular/cli": "~15.2.6",
"@angular/compiler-cli": "^15.2.0",
"@angular-devkit/build-angular": "^16.2.5",
"@angular-eslint/builder": "16.2.0",
"@angular-eslint/eslint-plugin": "16.2.0",
"@angular-eslint/eslint-plugin-template": "16.2.0",
"@angular-eslint/schematics": "16.2.0",
"@angular-eslint/template-parser": "16.2.0",
"@angular/cli": "~16.2.5",
"@angular/compiler-cli": "^16.2.8",
"@types/jasmine": "~4.3.0",
"@typescript-eslint/eslint-plugin": "5.48.2",
"@typescript-eslint/parser": "5.48.2",
"eslint": "^8.33.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^46.4.4",
Expand All @@ -55,7 +55,7 @@
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"lint-staged": "^13.2.3",
"ng-packagr": "^15.2.2",
"ng-packagr": "^16.2.3",
"prettier": "^3.0.0",
"typescript": "~4.9.4"
},
Expand Down
2 changes: 1 addition & 1 deletion projects/ng-antd-color-picker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The angular version of the color-picker component based on antd styles.

Angular version >= 15
Angular version >= 16

## Installation

Expand Down
6 changes: 3 additions & 3 deletions projects/ng-antd-color-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-antd-color-picker",
"version": "0.0.1",
"version": "0.0.2",
"author": "originRing",
"keywords": [
"color-picker",
Expand All @@ -20,8 +20,8 @@
},
"homepage": "https://github.com/OriginRing/ng-color-picker",
"peerDependencies": {
"@angular/common": "^15.0.0",
"@angular/core": "^15.0.0",
"@angular/common": "^16.0.0",
"@angular/core": "^16.0.0",
"@ctrl/tinycolor": "^3.6.0"
},
"dependencies": {
Expand Down

0 comments on commit b080695

Please sign in to comment.