Skip to content

Commit 73733a0

Browse files
committed
chore(deps): update to angular v21 rc
1 parent 43ab1de commit 73733a0

File tree

12 files changed

+910
-1209
lines changed

12 files changed

+910
-1209
lines changed

demo/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@
66
"start": "ng serve"
77
},
88
"dependencies": {
9-
"@angular/cdk": "20.2.10",
10-
"@angular/common": "20.3.9",
11-
"@angular/compiler": "20.3.9",
12-
"@angular/core": "20.3.9",
13-
"@angular/forms": "20.3.9",
14-
"@angular/material": "20.2.10",
15-
"@angular/platform-browser": "20.3.9",
16-
"@angular/router": "20.3.9",
9+
"@angular/cdk": "21.0.0-rc.0",
10+
"@angular/common": "21.0.0-rc.0",
11+
"@angular/compiler": "21.0.0-rc.0",
12+
"@angular/core": "21.0.0-rc.0",
13+
"@angular/forms": "21.0.0-rc.0",
14+
"@angular/material": "21.0.0-rc.0",
15+
"@angular/platform-browser": "21.0.0-rc.0",
16+
"@angular/router": "21.0.0-rc.0",
1717
"angular-ecmascript-intl": "../dist/angular-ecmascript-intl",
1818
"marked": "^16.0.0",
1919
"ngx-markdown": "^20.0.0",
2020
"prismjs": "^1.30.0",
2121
"tslib": "^2.8.1"
2222
},
2323
"devDependencies": {
24-
"@angular/build": "20.3.8",
25-
"@angular/cli": "20.3.8",
26-
"@angular/compiler-cli": "20.3.9",
24+
"@angular/build": "21.0.0-rc.0",
25+
"@angular/cli": "21.0.0-rc.0",
26+
"@angular/compiler-cli": "21.0.0-rc.0",
2727
"typescript": "~5.9.0"
2828
}
2929
}

demo/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* To learn more about this file see: https://angular.io/config/tsconfig. */
22
{
3-
"extends": "../tsconfig.json",
3+
"extends": "./tsconfig.json",
44
"compilerOptions": {
55
"outDir": "../../out-tsc/app",
66
"types": []
File renamed without changes.

libs/angular-ecmascript-intl/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"runner": "vitest",
3131
"providersFile": "src/providers.ts",
3232
"tsConfig": "tsconfig.spec.json",
33-
"codeCoverage": true
33+
"coverage": true
3434
}
3535
}
3636
}

libs/angular-ecmascript-intl/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
"test": "ng test"
2929
},
3030
"devDependencies": {
31-
"@angular/cli": "20.3.8",
32-
"@angular/common": "20.3.9",
33-
"@angular/core": "20.3.9",
34-
"@angular/platform-browser": "20.3.9",
31+
"@angular/cli": "21.0.0-rc.0",
32+
"@angular/common": "21.0.0-rc.0",
33+
"@angular/core": "21.0.0-rc.0",
34+
"@angular/platform-browser": "21.0.0-rc.0",
3535
"@vitest/coverage-v8": "^3.1.3",
3636
"cpy-cli": "^6.0.0",
3737
"dayjs": "^1.11.13",
3838
"jsdom": "^27.0.0",
39-
"ng-packagr": "20.3.0",
39+
"ng-packagr": "21.0.0-next.4",
4040
"vitest": "^3.1.3"
4141
},
4242
"sideEffects": false,

libs/angular-ecmascript-intl/src/lib/relative-time/relative-time.pipe.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe('RelativeTimePipe', () => {
103103
});
104104

105105
it('should transform a date almost 4 weeks in past', () => {
106-
const date = dayjs().subtract(4, 'weeks').add(1, 'second').toDate();
106+
const date = dayjs().subtract(4, 'weeks').add(1, 'day').toDate();
107107

108108
expect(testUnit.transform(date)).toEqual('3 weeks ago');
109109
});
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2+
{
3+
"compileOnSave": false,
4+
"compilerOptions": {
5+
"baseUrl": "./",
6+
"outDir": "./dist/out-tsc",
7+
"esModuleInterop": true,
8+
"forceConsistentCasingInFileNames": true,
9+
"strict": true,
10+
"noImplicitOverride": true,
11+
"noPropertyAccessFromIndexSignature": true,
12+
"noImplicitReturns": true,
13+
"noFallthroughCasesInSwitch": true,
14+
"sourceMap": true,
15+
"declaration": false,
16+
"experimentalDecorators": true,
17+
"moduleResolution": "bundler",
18+
"importHelpers": true,
19+
"target": "ES2022",
20+
"module": "ES2022",
21+
"useDefineForClassFields": false,
22+
"lib": ["ES2022", "dom"]
23+
},
24+
"angularCompilerOptions": {
25+
"enableI18nLegacyMessageIdFormat": false,
26+
"strictInjectionParameters": true,
27+
"strictInputAccessModifiers": true,
28+
"strictTemplates": true
29+
}
30+
}

libs/angular-ecmascript-intl/tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* To learn more about this file see: https://angular.io/config/tsconfig. */
22
{
3-
"extends": "../../tsconfig.json",
3+
"extends": "./tsconfig.json",
44
"compilerOptions": {
55
"outDir": "./out-tsc/lib",
66
"declaration": true,

libs/angular-ecmascript-intl/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* To learn more about this file see: https://angular.io/config/tsconfig. */
22
{
3-
"extends": "../../tsconfig.json",
3+
"extends": "./tsconfig.json",
44
"compilerOptions": {
55
"outDir": "./out-tsc/spec"
66
},

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"rxjs": "~7.8.2"
1717
},
1818
"devDependencies": {
19-
"@angular/core": "^20.3.1",
19+
"@angular/core": "21.0.0-rc.0",
2020
"@eslint/js": "^9.26.0",
2121
"@types/node": "^24.0.0",
2222
"angular-eslint": "^20.0.0",
@@ -35,7 +35,7 @@
3535
"devEngines": {
3636
"runtime": {
3737
"name": "node",
38-
"version": "24.8.0",
38+
"version": "24.11.0",
3939
"onFail": "download"
4040
}
4141
},

0 commit comments

Comments
 (0)