build: fix invalid required angular version (#12089)

This commit is contained in:
Paul Gschwendtner
2018-08-09 22:06:11 +02:00
committed by Joey Perrott
parent ea10d94892
commit a2c6dfc92f
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ const buildVersion = packageJson.version;
* Required Angular version for all Angular Material packages. This version will be used
* as the peer dependency version for Angular in all release packages.
*/
const angularVersion = '>=6.0.0-beta.0 <7.0.0';
const angularVersion = packageJson.requiredAngularVersion;
/** License that will be placed inside of all created bundles. */
const buildLicense = `/**
+5 -4
View File
@@ -7,6 +7,10 @@
"type": "git",
"url": "https://github.com/angular/material2.git"
},
"license": "MIT",
"engines": {
"node": ">= 5.4.1"
},
"scripts": {
"postinstall": "ngc -p angular.tsconfig.json",
"build": "gulp :publish:build-releases",
@@ -21,10 +25,7 @@
"api": "gulp api-docs"
},
"version": "6.4.2",
"license": "MIT",
"engines": {
"node": ">= 5.4.1"
},
"requiredAngularVersion": ">=6.0.0 <7.0.0",
"dependencies": {
"@angular/animations": "6.0.0",
"@angular/common": "6.0.0",