chore(package.json): make the packages installable

This commit is contained in:
Alex Eagle 2016-05-27 16:17:16 -07:00
parent 040b101842
commit c6064a30a1
13 changed files with 42 additions and 42 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/common", "name": "@angular/common",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"jsnext:main": "esm/index.js", "jsnext:main": "esm/index.js",
@ -8,7 +8,7 @@
"author": "angular", "author": "angular",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/core": "$$ANGULAR_VERSION$$" "@angular/core": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/compiler", "name": "@angular/compiler",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"jsnext:main": "esm/index.js", "jsnext:main": "esm/index.js",
@ -8,7 +8,7 @@
"author": "angular", "author": "angular",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/core": "$$ANGULAR_VERSION$$" "@angular/core": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/compiler-cli", "name": "@angular/compiler-cli",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "Execute angular2 template compiler in nodejs.", "description": "Execute angular2 template compiler in nodejs.",
"main": "index.js", "main": "index.js",
"typings": "index.d.ts", "typings": "index.d.ts",
@ -14,9 +14,9 @@
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "^1.9.0-dev", "typescript": "^1.9.0-dev",
"@angular/compiler": "$$ANGULAR_VERSION$$", "@angular/compiler": "0.0.0-PLACEHOLDER",
"@angular/platform-server": "$$ANGULAR_VERSION$$", "@angular/platform-server": "0.0.0-PLACEHOLDER",
"@angular/core": "$$ANGULAR_VERSION$$" "@angular/core": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/core", "name": "@angular/core",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"jsnext:main": "esm/index.js", "jsnext:main": "esm/index.js",

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/http", "name": "@angular/http",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"jsnext:main": "esm/index.js", "jsnext:main": "esm/index.js",
@ -9,7 +9,7 @@
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"rxjs": "5.0.0-beta.6", "rxjs": "5.0.0-beta.6",
"@angular/core": "$$ANGULAR_VERSION$$" "@angular/core": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,5 +1,5 @@
/** /**
* @license AngularJS v$$ANGULAR_VERSION$$ * @license AngularJS v0.0.0-PLACEHOLDER
* (c) 2010-2016 Google, Inc. https://angular.io/ * (c) 2010-2016 Google, Inc. https://angular.io/
* License: MIT * License: MIT
*/ */

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/platform-browser-dynamic", "name": "@angular/platform-browser-dynamic",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"jsnext:main": "esm/index.js", "jsnext:main": "esm/index.js",
@ -8,9 +8,9 @@
"author": "angular", "author": "angular",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/core": "$$ANGULAR_VERSION$$", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "$$ANGULAR_VERSION$$", "@angular/common": "0.0.0-PLACEHOLDER",
"@angular/compiler": "$$ANGULAR_VERSION$$", "@angular/compiler": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "$$ANGULAR_VERSION$$" "@angular/platform-browser": "0.0.0-PLACEHOLDER"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/platform-browser", "name": "@angular/platform-browser",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"jsnext:main": "esm/index.js", "jsnext:main": "esm/index.js",
@ -8,9 +8,9 @@
"author": "angular", "author": "angular",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/core": "$$ANGULAR_VERSION$$", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "$$ANGULAR_VERSION$$", "@angular/common": "0.0.0-PLACEHOLDER",
"@angular/compiler": "$$ANGULAR_VERSION$$" "@angular/compiler": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/platform-server", "name": "@angular/platform-server",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"jsnext:main": "esm/index.js", "jsnext:main": "esm/index.js",
@ -8,10 +8,10 @@
"author": "angular", "author": "angular",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/core": "$$ANGULAR_VERSION$$", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "$$ANGULAR_VERSION$$", "@angular/common": "0.0.0-PLACEHOLDER",
"@angular/compiler": "$$ANGULAR_VERSION$$", "@angular/compiler": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "$$ANGULAR_VERSION$$" "@angular/platform-browser": "0.0.0-PLACEHOLDER"
}, },
"dependencies": { "dependencies": {
"parse5": "1.3.2" "parse5": "1.3.2"

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/router-deprecated", "name": "@angular/router-deprecated",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"jsnext:main": "esm/index.js", "jsnext:main": "esm/index.js",
@ -8,9 +8,9 @@
"author": "angular", "author": "angular",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/core": "$$ANGULAR_VERSION$$", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "$$ANGULAR_VERSION$$", "@angular/common": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "$$ANGULAR_VERSION$$" "@angular/platform-browser": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,6 +1,6 @@
{ {
"name": "@angular/router", "name": "@angular/router",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"jsnext:main": "esm/index.js", "jsnext:main": "esm/index.js",
@ -8,9 +8,9 @@
"author": "angular", "author": "angular",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/core": "$$ANGULAR_VERSION$$", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "$$ANGULAR_VERSION$$", "@angular/common": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "$$ANGULAR_VERSION$$" "@angular/platform-browser": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,15 +1,15 @@
{ {
"name": "@angular/upgrade", "name": "@angular/upgrade",
"version": "$$ANGULAR_VERSION$$", "version": "0.0.0-PLACEHOLDER",
"description": "", "description": "",
"main": "upgrade.js", "main": "upgrade.js",
"jsnext:main": "esm/upgrade.js", "jsnext:main": "esm/upgrade.js",
"author": "angular", "author": "angular",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/core": "$$ANGULAR_VERSION$$", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/compiler": "$$ANGULAR_VERSION$$", "@angular/compiler": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "$$ANGULAR_VERSION$$" "@angular/platform-browser": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -14,9 +14,9 @@ fi
./build.sh ./build.sh
echo "====== RENAMING \$\$ANGULAR_VERSION\$\$ to 0.0.0-${VERSION} ======" echo "====== RENAMING 0.0.0-PLACEHOLDER to 2.0.0-rc.${VERSION} ======"
find ./dist/packages-dist/ -type f -name package.json -print0 | xargs -0 sed -i '' "s/\\\$\\\$ANGULAR_VERSION\\\$\\\$/2.0.0-rc.${VERSION}/g" find ./dist/packages-dist/ -type f -name package.json -print0 | xargs -0 sed -i '' "s/0\\.0\\.0-PLACEHOLDER/2.0.0-rc.${VERSION}/g"
find ./dist/packages-dist/ -type f -name "*umd.js" -print0 | xargs -0 sed -i '' "s/\\\$\\\$ANGULAR_VERSION\\\$\\\$/2.0.0-rc.${VERSION}/g" find ./dist/packages-dist/ -type f -name "*umd.js" -print0 | xargs -0 sed -i '' "s/0\\.0\\.0-PLACEHOLDER/2.0.0-rc.${VERSION}/g"
for PACKAGE in \ for PACKAGE in \
core \ core \