mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: fix invalid required angular version (#12089)
This commit is contained in:
committed by
Joey Perrott
parent
ea10d94892
commit
a2c6dfc92f
+1
-1
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user