Skip to content

Commit 5f22020

Browse files
feat: 🎸 add support for Angular v11.0.x (RC) (#3)
* feat: 🎸 add support for Angular v11.0.x (RC) * feat: 🎸 enhance v11.0.x to use stable version or fallback to RC Co-authored-by: Nacho Vazquez <[email protected]>
1 parent 9e4a8c0 commit 5f22020

File tree

5 files changed

+65
-3
lines changed

5 files changed

+65
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
matrix:
3636
node-version: [10.x, 12.x, 14.x]
37-
angular-version: [8.0.x, 8.1.x, 8.2.x, 9.0.x, 9.1.x, 10.0.x, 10.1.x, 10.2.x]
37+
angular-version: [8.0.x, 8.1.x, 8.2.x, 9.0.x, 9.1.x, 10.0.x, 10.1.x, 10.2.x, 11.0.x]
3838

3939
steps:
4040
- uses: actions/checkout@v2
@@ -67,6 +67,7 @@ At the moment this actions supports a limited set of Angular versions listed bel
6767
- 10.0.x
6868
- 10.1.x
6969
- 10.2.x
70+
- 11.0.x
7071

7172
## Contributing
7273

dist/index.js

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "TypeScript template action",
66
"main": "lib/main.js",
77
"scripts": {
8-
"build": "tsc",
8+
"build": "tsc && yarn package",
99
"format": "prettier --write **/*.ts",
1010
"format-check": "prettier --check **/*.ts",
1111
"lint": "eslint src/**/*.ts",

src/angular-versions.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,5 +232,37 @@ export const versions = new Map<string, PackageJsonVersion>([
232232
typescript: '~4.0.2'
233233
}
234234
}
235+
],
236+
[
237+
'11.0.x',
238+
{
239+
dependencies: {
240+
'@angular/animations': '"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
241+
'@angular/common': '"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
242+
'@angular/compiler': '"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
243+
'@angular/core': '"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
244+
'@angular/forms': '"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
245+
'@angular/platform-browser': '"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
246+
'@angular/platform-browser-dynamic':
247+
'"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
248+
'@angular/router': '"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
249+
rxjs: '~6.6.0',
250+
tslib: '^2.0.0',
251+
'zone.js': '~0.10.2'
252+
},
253+
devDependencies: {
254+
'@angular-devkit/build-angular':
255+
'~0.1100.0 || >=0.1100.0-rc.1 <0.1100.0',
256+
'@angular-devkit/build-ng-packagr':
257+
'~0.1100.0 || >=0.1100.0-rc.1 <0.1100.0',
258+
'@angular/cli': '"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
259+
'@angular/compiler-cli': '"~11.0.0 || >=11.0.0-rc.1 <11.0.0"',
260+
'@types/node': '^12.11.1',
261+
codelyzer: '^6.0.0',
262+
'ts-node': '~8.3.0',
263+
tslint: '~6.1.0',
264+
typescript: '~4.0.2'
265+
}
266+
}
235267
]
236268
]);

0 commit comments

Comments
 (0)