File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const buildVersion = packageJson.version;
13
13
* Required Angular version for all Angular Material packages. This version will be used
14
14
* as the peer dependency version for Angular in all release packages.
15
15
*/
16
- const angularVersion = '>=6.0.0-beta.0 <7.0.0' ;
16
+ const angularVersion = packageJson . requiredAngularVersion ;
17
17
18
18
/** License that will be placed inside of all created bundles. */
19
19
const buildLicense = `/**
Original file line number Diff line number Diff line change 7
7
"type" : " git" ,
8
8
"url" : " https://github.com/angular/material2.git"
9
9
},
10
+ "license" : " MIT" ,
11
+ "engines" : {
12
+ "node" : " >= 5.4.1"
13
+ },
10
14
"scripts" : {
11
15
"postinstall" : " ngc -p angular.tsconfig.json" ,
12
16
"build" : " gulp :publish:build-releases" ,
21
25
"api" : " gulp api-docs"
22
26
},
23
27
"version" : " 6.4.2" ,
24
- "license" : " MIT" ,
25
- "engines" : {
26
- "node" : " >= 5.4.1"
27
- },
28
+ "requiredAngularVersion" : " >=6.0.0 <7.0.0" ,
28
29
"dependencies" : {
29
30
"@angular/animations" : " 6.0.0" ,
30
31
"@angular/common" : " 6.0.0" ,
You can’t perform that action at this time.
0 commit comments