build: use version placeholder in packages (#4065)

* Introduces a version placeholder (as in angular/angular) that will be replaced with the version string form the root `package.json` file.

* This ensures that the different packages are always having the correct version and it also ensures that there is no version-mismatch.
This commit is contained in:
Paul Gschwendtner
2017-04-12 17:19:18 -07:00
committed by Jeremy Elbourn
parent abd2ac6489
commit 60ea218c67
3 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@angular/material",
"version": "2.0.0-beta.3",
"version": "0.0.0-PLACEHOLDER",
"description": "Angular Material",
"main": "./bundles/material.umd.js",
"module": "./@angular/material.es5.js",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@angular/material-examples",
"version": "2.0.0-beta.3",
"version": "0.0.0-PLACEHOLDER",
"description": "Angular Material Examples",
"main": "./bundles/material-examples.umd.js",
"module": "./@angular/material-examples.es5.js",