Skip to content
Snippets Groups Projects
Commit 17fa6430 authored by Karolína Dočkalová Burská's avatar Karolína Dočkalová Burská
Browse files

Update to Angular 16

parent 4de33ea6
Branches
Tags
No related merge requests found
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
"root": true, "root": true,
"overrides": [ "overrides": [
{ {
"files": ["*.ts"], "files": [
"*.ts"
],
"parserOptions": { "parserOptions": {
"project": [ "project": [
"tsconfig.*?.json" "tsconfig.*?.json"
...@@ -18,28 +20,61 @@ ...@@ -18,28 +20,61 @@
"plugin:@angular-eslint/recommended" "plugin:@angular-eslint/recommended"
], ],
"rules": { "rules": {
"max-len": ["error", { "code": 140, "ignorePattern": "import .*" }], "max-len": [
"error",
{
"code": 140,
"ignorePattern": "import .*"
}
],
"@angular-eslint/directive-selector": [ "@angular-eslint/directive-selector": [
"error", "error",
{ "type": "attribute", "prefix": "app", "style": "camelCase" } {
"type": "attribute",
"prefix": "app",
"style": "camelCase"
}
], ],
"@angular-eslint/component-selector": [ "@angular-eslint/component-selector": [
"error", "error",
{ "type": "element", "prefix": "app", "style": "kebab-case" } {
"type": "element",
"prefix": "app",
"style": "kebab-case"
}
], ],
"quotes": ["error", "single", { "allowTemplateLiterals": true }] "quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
]
} }
}, },
{ {
"files": ["*.component.html"], "files": [
"extends": ["plugin:@angular-eslint/template/recommended"], "*.component.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": { "rules": {
"max-len": ["error", { "code": 140 }] "max-len": [
"error",
{
"code": 140
}
]
} }
}, },
{ {
"files": ["*.component.ts"], "files": [
"extends": ["plugin:@angular-eslint/template/process-inline-templates"] "*.component.ts"
],
"extends": [
"plugin:@angular-eslint/template/process-inline-templates"
]
} }
] ]
} }
image: cypress/browsers:node16.13.0-chrome95-ff94 image: cypress/browsers:node18.12.0-chrome103-ff107
stages: stages:
- codeStyle - codeStyle
......
...@@ -9,7 +9,7 @@ Library contains model for ...@@ -9,7 +9,7 @@ Library contains model for
* Link * Link
* Enums * Enums
It extends Node and Link D3.js model and therefore it can be used in apps using D3.js library. It extends Node and Link D3.js model, and therefore it can be used in apps using D3.js library.
## Prerequisites ## Prerequisites
To use the library you need to have installed: To use the library you need to have installed:
......
16.0.0 Update to Angular 16.
15.0.0 Update to Angular 15. 15.0.0 Update to Angular 15.
14.0.5 Update containers size check 14.0.5 Update containers size check
14.0.4 Fix containers visibility check. 14.0.4 Fix containers visibility check.
......
This diff is collapsed.
...@@ -25,36 +25,36 @@ ...@@ -25,36 +25,36 @@
}, },
"private": false, "private": false,
"dependencies": { "dependencies": {
"@angular/common": "^15.2.10", "@angular/common": "^16.2.12",
"@angular/core": "^15.2.10", "@angular/core": "^16.2.12",
"@angular/compiler": "^15.2.10", "@angular/compiler": "^16.2.12",
"@angular/animations": "^15.2.10", "@angular/animations": "^16.2.12",
"@angular/forms": "^15.2.10", "@angular/forms": "^16.2.12",
"@angular/platform-browser": "^15.2.10", "@angular/platform-browser": "^16.2.12",
"@angular/platform-browser-dynamic": "^15.2.10", "@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^15.2.10", "@angular/router": "^16.2.12",
"typescript-collections": "~1.3.3", "typescript-collections": "~1.3.3",
"core-js": "^3.23.2", "core-js": "^3.23.2",
"rxjs": "~7.5.5", "rxjs": "~7.5.5",
"tslib": "^2.4.0", "tslib": "^2.4.0",
"zone.js": "~0.11.6" "zone.js": "~0.13.3"
}, },
"devDependencies": { "devDependencies": {
"@angular/compiler-cli": "^15.2.10", "@angular/compiler-cli": "^16.2.12",
"@angular-devkit/architect": "^0.1502.10", "@angular-devkit/architect": "^0.1602.14",
"@angular-devkit/build-angular": "^15.2.10", "@angular-devkit/build-angular": "^16.2.14",
"@angular/language-service": "^15.2.10", "@angular/language-service": "^16.2.12",
"@angular-eslint/builder": "~15.2.1", "@angular-eslint/builder": "~16.3.1",
"@angular-eslint/eslint-plugin": "^15.2.1", "@angular-eslint/eslint-plugin": "^16.3.1",
"@angular-eslint/eslint-plugin-template": "^15.2.1", "@angular-eslint/eslint-plugin-template": "^16.3.1",
"@angular-eslint/schematics": "^15.2.1", "@angular-eslint/schematics": "^16.3.1",
"@angular-eslint/template-parser": "^15.2.1", "@angular-eslint/template-parser": "^16.3.1",
"@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.43.0", "@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.28.0", "eslint": "^8.39.0",
"ng-packagr": "^15.2.2", "ng-packagr": "^16.2.3",
"typescript": "~4.9.5", "typescript": "~4.9.5",
"@angular/cli": "^15.2.10", "@angular/cli": "^16.2.14",
"@types/d3": "^7.4.0", "@types/d3": "^7.4.0",
"@types/jasmine": "~4.0.3", "@types/jasmine": "~4.0.3",
"@types/jasminewd2": "~2.0.10", "@types/jasminewd2": "~2.0.10",
......
{ {
"extends": ["../../.eslintrc.json"], "extends": [
"../../.eslintrc.json"
],
"overrides": [ "overrides": [
{ {
"files": ["*.ts"], "files": [
"*.ts"
],
"parserOptions": { "parserOptions": {
"project": ["projects/kypo-topology-graph-model/tsconfig.*?.json"], "project": [
"projects/kypo-topology-graph-model/tsconfig.*?.json"
],
"createDefaultProgram": true "createDefaultProgram": true
}, },
"rules": { "rules": {
"@angular-eslint/directive-selector": [ "@angular-eslint/directive-selector": [
"error", "error",
{ "type": "attribute", "prefix": "kypo", "style": "camelCase" } {
"type": "attribute",
"prefix": "kypo",
"style": "camelCase"
}
], ],
"@angular-eslint/component-selector": [ "@angular-eslint/component-selector": [
"error", "error",
{ "type": "element", "prefix": "kypo", "style": "kebab-case" } {
"type": "element",
"prefix": "kypo",
"style": "kebab-case"
}
] ]
} }
}, },
{ {
"files": ["*.component.html"], "files": [
"*.component.html"
],
"rules": {} "rules": {}
} }
] ]
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
"name": "@muni-kypo-crp/topology-model", "name": "@muni-kypo-crp/topology-model",
"version": "15.0.0", "version": "15.0.0",
"peerDependencies": { "peerDependencies": {
"@angular/common": "^12.0.3", "@angular/common": "^16.2.12",
"@angular/core": "^12.0.3", "@angular/core": "^16.2.12",
"typescript-collections": "~1.3.3" "typescript-collections": "~1.3.3"
}, },
"dependencies": { "dependencies": {
"tslib": "^2.2.0" "tslib": "^2.4.0"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment