Skip to content

Commit a46a5d5

Browse files
authored
feat: 🎸 add Angular v6.x-7.x support (#17)
1 parent 24d6966 commit a46a5d5

File tree

2 files changed

+170
-0
lines changed

2 files changed

+170
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
node-version: [10.x, 12.x]
3737
angular-version:
3838
[
39+
6.0.x,
40+
6.1.x,
41+
7.0.x,
42+
7.1.x,
43+
7.2.x,
3944
8.0.x,
4045
8.1.x,
4146
8.2.x,
@@ -72,6 +77,11 @@ This example use the github matrix to build, lint and test your code against dif
7277

7378
At the moment this actions supports a limited set of Angular versions listed below.
7479

80+
- 6.0.x,
81+
- 6.1.x,
82+
- 7.0.x
83+
- 7.1.x
84+
- 7.2.x
7585
- 8.0.x
7686
- 8.1.x
7787
- 8.2.x

src/angular-versions.ts

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,166 @@ export const forcedReplacements: readonly string[] = [
1010
];
1111

1212
export const versions = new Map<string, PackageJsonVersion>([
13+
[
14+
'6.0.x',
15+
{
16+
dependencies: {
17+
'@angular/animations': '~6.0.9',
18+
'@angular/common': '~6.0.9',
19+
'@angular/compiler': '~6.0.9',
20+
'@angular/core': '~6.0.9',
21+
'@angular/forms': '~6.0.9',
22+
'@angular/platform-browser': '~6.0.9',
23+
'@angular/platform-browser-dynamic': '~6.0.9',
24+
'@angular/router': '~6.0.9',
25+
rxjs: '~6.0.0',
26+
tslib: '^1.7.1',
27+
'zone.js': '~0.8.26'
28+
},
29+
devDependencies: {
30+
'@angular-devkit/build-angular': '~0.6.8',
31+
'@angular-devkit/build-ng-packagr': '~0.6.8',
32+
'@angular-devkit/schematics-cli': '~0.6.8',
33+
'@angular/cli': '~6.0.8',
34+
'@angular/compiler-cli': '~6.0.9',
35+
'@types/node': '~8.9.4',
36+
codelyzer: '~4.2.1',
37+
'ng-packagr': '^3.0.0-rc.2',
38+
'ts-node': '~5.0.1',
39+
tsickle: '>=0.25.5',
40+
tslint: '~5.9.1',
41+
typescript: '~2.7.2'
42+
}
43+
}
44+
],
45+
[
46+
'6.1.x',
47+
{
48+
dependencies: {
49+
'@angular/animations': '~6.1.10',
50+
'@angular/common': '~6.1.10',
51+
'@angular/compiler': '~6.1.10',
52+
'@angular/core': '~6.1.10',
53+
'@angular/forms': '~6.1.10',
54+
'@angular/platform-browser': '~6.1.10',
55+
'@angular/platform-browser-dynamic': '~6.1.10',
56+
'@angular/router': '~6.1.10',
57+
rxjs: '~6.2.0',
58+
tslib: '^1.9.0',
59+
'zone.js': '~0.8.26'
60+
},
61+
devDependencies: {
62+
'@angular-devkit/build-angular': '~0.8.9',
63+
'@angular-devkit/build-ng-packagr': '~0.8.9',
64+
'@angular-devkit/schematics-cli': '~0.8.9',
65+
'@angular/cli': '~6.2.9',
66+
'@angular/compiler-cli': '~6.1.10',
67+
'@types/node': '~8.9.4',
68+
codelyzer: '~4.3.0',
69+
'ng-packagr': '^4.1.0',
70+
'ts-node': '~7.0.0',
71+
tsickle: '>=0.29.0',
72+
tslint: '~5.11.0',
73+
typescript: '~2.9.2'
74+
}
75+
}
76+
],
77+
[
78+
'7.0.x',
79+
{
80+
dependencies: {
81+
'@angular/animations': '~7.0.4',
82+
'@angular/common': '~7.0.4',
83+
'@angular/compiler': '~7.0.4',
84+
'@angular/core': '~7.0.4',
85+
'@angular/forms': '~7.0.4',
86+
'@angular/platform-browser': '~7.0.4',
87+
'@angular/platform-browser-dynamic': '~7.0.4',
88+
'@angular/router': '~7.0.4',
89+
rxjs: '~6.3.3',
90+
tslib: '^1.9.0',
91+
'zone.js': '~0.8.26'
92+
},
93+
devDependencies: {
94+
'@angular-devkit/build-angular': '~0.10.7',
95+
'@angular-devkit/build-ng-packagr': '~0.10.7',
96+
'@angular-devkit/schematics-cli': '~0.10.7',
97+
'@angular/cli': '~7.0.7',
98+
'@angular/compiler-cli': '~7.0.4',
99+
'@types/node': '~8.9.4',
100+
codelyzer: '~4.5.0',
101+
'ng-packagr': '^4.2.0',
102+
'ts-node': '~7.0.0',
103+
tsickle: '>=0.29.0',
104+
tslint: '~5.11.0',
105+
typescript: '~3.1.6'
106+
}
107+
}
108+
],
109+
[
110+
'7.1.x',
111+
{
112+
dependencies: {
113+
'@angular/animations': '~7.1.4',
114+
'@angular/common': '~7.1.4',
115+
'@angular/compiler': '~7.1.4',
116+
'@angular/core': '~7.1.4',
117+
'@angular/forms': '~7.1.4',
118+
'@angular/platform-browser': '~7.1.4',
119+
'@angular/platform-browser-dynamic': '~7.1.4',
120+
'@angular/router': '~7.1.4',
121+
rxjs: '~6.3.3',
122+
tslib: '^1.9.0',
123+
'zone.js': '~0.8.26'
124+
},
125+
devDependencies: {
126+
'@angular-devkit/build-angular': '~0.11.4',
127+
'@angular-devkit/build-ng-packagr': '~0.11.4',
128+
'@angular-devkit/schematics-cli': '~0.11.4',
129+
'@angular/cli': '~7.1.4',
130+
'@angular/compiler-cli': '~7.1.4',
131+
'@types/node': '~8.9.4',
132+
codelyzer: '~4.5.0',
133+
'ng-packagr': '^4.2.0',
134+
'ts-node': '~7.0.0',
135+
tsickle: '>=0.29.0',
136+
tslint: '~5.11.0',
137+
typescript: '~3.1.6'
138+
}
139+
}
140+
],
141+
[
142+
'7.2.x',
143+
{
144+
dependencies: {
145+
'@angular/animations': '~7.2.16',
146+
'@angular/common': '~7.2.16',
147+
'@angular/compiler': '~7.2.16',
148+
'@angular/core': '~7.2.16',
149+
'@angular/forms': '~7.2.16',
150+
'@angular/platform-browser': '~7.2.16',
151+
'@angular/platform-browser-dynamic': '~7.2.16',
152+
'@angular/router': '~7.2.16',
153+
rxjs: '~6.3.3',
154+
tslib: '^1.9.0',
155+
'zone.js': '~0.8.26'
156+
},
157+
devDependencies: {
158+
'@angular-devkit/build-angular': '~0.13.10',
159+
'@angular-devkit/build-ng-packagr': '~0.13.10',
160+
'@angular-devkit/schematics-cli': '~0.13.10',
161+
'@angular/cli': '~7.3.10',
162+
'@angular/compiler-cli': '~7.2.16',
163+
'@types/node': '~8.9.4',
164+
codelyzer: '~4.5.0',
165+
'ng-packagr': '^4.2.0',
166+
'ts-node': '~7.0.0',
167+
tsickle: '>=0.34.0',
168+
tslint: '~5.11.0',
169+
typescript: '~3.2.2'
170+
}
171+
}
172+
],
13173
[
14174
'8.0.x',
15175
{

0 commit comments

Comments
 (0)