Skip to content

Commit d0dd9b6

Browse files
alan-agius4atscott
authored andcommitted
build: deprecate @angular/animations and @angular/platform-browser-dynamic
Configure @angular/animations and @angular/platform-browser-dynamic as deprecated packages in the release configuration.
1 parent e843003 commit d0dd9b6

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

‎.ng-dev/release.mjs‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ export const release = {
77
publishRegistry: 'https://wombat-dressing-room.appspot.com',
88
representativeNpmPackage: '@angular/core',
99
npmPackages: [
10-
{name: '@angular/animations'},
10+
{
11+
name: '@angular/animations',
12+
deprecated: {
13+
version: '>=20.2.0-next.3',
14+
message:
15+
'@angular/animations is deprecated. Use `animate.enter` and `animate.leave` instead.',
16+
},
17+
},
1118
{name: '@angular/common'},
1219
{name: '@angular/compiler-cli'},
1320
{name: '@angular/compiler'},
@@ -17,7 +24,14 @@ export const release = {
1724
{name: '@angular/language-server'},
1825
{name: '@angular/language-service'},
1926
{name: '@angular/localize'},
20-
{name: '@angular/platform-browser-dynamic'},
27+
{
28+
name: '@angular/platform-browser-dynamic',
29+
deprecated: {
30+
version: '>=20.1.0-next.0',
31+
message:
32+
'@angular/platform-browser-dynamic is deprecated. Use `@angular/platform-browser` instead.',
33+
},
34+
},
2135
{name: '@angular/platform-browser'},
2236
{name: '@angular/platform-server'},
2337
{name: '@angular/router'},

0 commit comments

Comments
 (0)