Skip to content

Commit

Permalink
build(package): Update Angular to v13
Browse files Browse the repository at this point in the history
  • Loading branch information
kolkov committed Jan 6, 2022
1 parent a67bab2 commit 4c6c41a
Show file tree
Hide file tree
Showing 16 changed files with 16,324 additions and 17,649 deletions.
51 changes: 51 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/component-selector": [
"error",
{
"prefix": "ngx",
"style": "kebab-case",
"type": "element"
}
],
"@angular-eslint/directive-selector": [
"error",
{
"prefix": "ngx",
"style": "camelCase",
"type": "attribute"
}
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ speed-measure-plugin.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ script:
- npm run test-ci
- codecov
- npm run build:lib
after_script:
- cat ./coverage/ngx-dadata/lcov.info | coveralls
before_deploy:
- npm run copy:readme
- npm run copy:changelog
Expand Down
29 changes: 7 additions & 22 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,11 @@
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@angular-eslint/builder:lint",
"options": {
"tsConfig": [
"projects/ngx-dadata/tsconfig.lib.json",
"projects/ngx-dadata/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
"lintFilePatterns": [
"projects/ngx-dadata/**/*.ts",
"projects/ngx-dadata/**/*.html"
]
}
}
Expand Down Expand Up @@ -145,19 +142,6 @@
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/ngx-dadata-app/tsconfig.app.json",
"projects/ngx-dadata-app/tsconfig.spec.json",
"projects/ngx-dadata-app/e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
Expand All @@ -175,6 +159,7 @@
},
"defaultProject": "ngx-dadata-app",
"cli": {
"analytics": "325ac4a0-1098-4d39-bc46-efee81d4c767"
"analytics": "325ac4a0-1098-4d39-bc46-efee81d4c767",
"defaultCollection": "@angular-eslint/schematics"
}
}
}
Loading

0 comments on commit 4c6c41a

Please sign in to comment.