Skip to content

Commit 2e53051

Browse files
authored
Merge pull request #611 from swimlane/angular-20
Support Angular 20
2 parents 9a6d3eb + 86ca9e2 commit 2e53051

6 files changed

Lines changed: 2698 additions & 2832 deletions

File tree

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"@angular-eslint/no-output-native": "off",
2525
"@typescript-eslint/consistent-type-imports": "off",
2626
"@typescript-eslint/no-duplicate-enum-values": "off",
27-
"@angular-eslint/prefer-standalone": "off"
27+
"@angular-eslint/prefer-standalone": "off",
28+
"@angular-eslint/prefer-inject": "off"
2829
}
2930
}
3031
]

.github/workflows/test_and_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- name: Setup Node.js
1313
uses: actions/setup-node@v3
1414
with:
15-
node-version: 20.17.0
15+
node-version: 22.16.0
1616

1717
- name: Enable Corepack
1818
run: corepack enable
1919

2020
- name: Install Yarn
21-
run: corepack prepare yarn@4.5.1 --activate
21+
run: corepack prepare yarn@4.9.2 --activate
2222

2323
- name: Install dependencies
2424
run: yarn install --immutable

.yarnrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
checksumBehavior: update
2+
3+
defaultSemverRangePrefix: ''
4+
5+
nodeLinker: node-modules

package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
},
2424
"license": "MIT",
2525
"dependencies": {
26-
"@angular/animations": "~19.1.4",
27-
"@angular/cdk": "~19.1.2",
28-
"@angular/common": "~19.1.4",
29-
"@angular/compiler": "~19.1.4",
30-
"@angular/core": "~19.1.4",
31-
"@angular/elements": "~19.1.4",
26+
"@angular/animations": "~20.0.4",
27+
"@angular/cdk": "~20.0.3",
28+
"@angular/common": "~20.0.4",
29+
"@angular/compiler": "~20.0.4",
30+
"@angular/core": "~20.0.4",
31+
"@angular/elements": "~20.0.4",
3232
"@angular/flex-layout": "15.0.0-beta.42",
33-
"@angular/forms": "~19.1.4",
34-
"@angular/platform-browser": "~19.1.4",
35-
"@angular/platform-browser-dynamic": "~19.1.4",
36-
"@angular/router": "~19.1.4",
33+
"@angular/forms": "~20.0.4",
34+
"@angular/platform-browser": "~20.0.4",
35+
"@angular/platform-browser-dynamic": "~20.0.4",
36+
"@angular/router": "~20.0.4",
3737
"d3-array": "^3.2.4",
3838
"d3-dispatch": "^3.0.1",
3939
"d3-ease": "^3.0.1",
@@ -54,18 +54,18 @@
5454
"zone.js": "~0.15.0"
5555
},
5656
"devDependencies": {
57-
"@angular-devkit/architect": "^0.1802.11",
58-
"@angular-devkit/build-angular": "~19.1.5",
59-
"@angular-devkit/core": "~19.1.5",
60-
"@angular-devkit/schematics": "~19.1.5",
61-
"@angular-eslint/builder": "~19.0.2",
62-
"@angular-eslint/eslint-plugin": "~19.0.2",
63-
"@angular-eslint/eslint-plugin-template": "~19.0.2",
64-
"@angular-eslint/schematics": "~19.0.2",
65-
"@angular-eslint/template-parser": "~19.0.2",
66-
"@angular/cli": "19.1.5",
67-
"@angular/compiler-cli": "~19.1.4",
68-
"@angular/language-service": "~19.1.4",
57+
"@angular-devkit/architect": "^0.2000.3",
58+
"@angular-devkit/build-angular": "~20.0.3",
59+
"@angular-devkit/core": "~20.0.3",
60+
"@angular-devkit/schematics": "~20.0.3",
61+
"@angular-eslint/builder": "~20.1.1",
62+
"@angular-eslint/eslint-plugin": "~20.1.1",
63+
"@angular-eslint/eslint-plugin-template": "~20.1.1",
64+
"@angular-eslint/schematics": "~20.1.1",
65+
"@angular-eslint/template-parser": "~20.1.1",
66+
"@angular/cli": "20.0.3",
67+
"@angular/compiler-cli": "~20.0.4",
68+
"@angular/language-service": "~20.0.4",
6969
"@babel/core": "^7.7.7",
7070
"@chromatic-com/storybook": "^3.2.2",
7171
"@compodoc/compodoc": "^1.1.26",
@@ -114,7 +114,7 @@
114114
"karma-coverage-istanbul-reporter": "~3.0.2",
115115
"karma-jasmine": "~4.0.0",
116116
"karma-jasmine-html-reporter": "^1.5.0",
117-
"ng-packagr": "~18.1.0",
117+
"ng-packagr": "~20.0.1",
118118
"npm-run-all": "^4.1.5",
119119
"prettier": "^2.0.4",
120120
"pretty-quick": "^2.0.1",
@@ -123,7 +123,7 @@
123123
"rollup": "4.14.3",
124124
"start-server-and-test": "^1.10.11",
125125
"storybook": "^8.4.1",
126-
"typescript": "~5.5.2",
126+
"typescript": "~5.8.3",
127127
"webpack": "5"
128128
},
129129
"husky": {
@@ -132,16 +132,16 @@
132132
}
133133
},
134134
"volta": {
135-
"node": "20.17.0",
136-
"yarn": "4.5.1"
135+
"node": "22.16.0",
136+
"yarn": "4.9.2"
137137
},
138-
"packageManager": "yarn@4.5.1",
138+
"packageManager": "yarn@4.9.2",
139139
"eslintConfig": {
140140
"extends": [
141141
"plugin:storybook/recommended"
142142
]
143143
},
144144
"resolutions": {
145-
"typescript": "5.5.2"
145+
"typescript": "5.8.3"
146146
}
147147
}

projects/swimlane/ngx-graph/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
},
3131
"homepage": "https://github.com/swimlane/ngx-graph#readme",
3232
"peerDependencies": {
33-
"@angular/animations": "15.x || 16.x || 17.x || 18.x || 19.x",
34-
"@angular/common": "15.x || 16.x || 17.x || 18.x || 19.x",
35-
"@angular/core": "15.x || 16.x || 17.x || 18.x || 19.x",
36-
"@angular/cdk": "15.x || 16.x || 17.x || 18.x || 19.x",
33+
"@angular/animations": "18.x || 19.x || 20.x",
34+
"@angular/common": "18.x || 19.x || 20.x",
35+
"@angular/core": "18.x || 19.x || 20.x",
36+
"@angular/cdk": "18.x || 19.x || 20.x",
3737
"rxjs": "7.x"
3838
},
3939
"dependencies": {

0 commit comments

Comments
 (0)