Skip to content

Commit c066d69

Browse files
committed
chore(package.json): remove typings bundles
This was used for , but now that our typings are laid out in the node_module, users should no longer need that. Also fix the project name in root package.json. There is a risk that someone runs npm publish in this directory, which will create a new version of angular 1, and contain a scary source tree. So this package.json may as well have a name that doesn't exist on npm, and if we did publish by accident, it would be a package name that matches the contents.
1 parent d896e43 commit c066d69

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

modules/angular2/package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,5 @@
1313
"zone.js": "<%= packageJson.dependencies['zone.js'] %>"
1414
},
1515
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>,
16-
"typings": "./angular2.d.ts",
17-
"typescript": {
18-
"definitions": [
19-
"bundles/typings/angular2/angular2.d.ts",
20-
"bundles/typings/angular2/http.d.ts",
21-
"bundles/typings/angular2/router.d.ts",
22-
"bundles/typings/angular2/testing.d.ts"
23-
]
24-
}
16+
"typings": "./angular2.d.ts"
2517
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "angular",
2+
"name": "angular-srcs",
33
"version": "2.0.0-alpha.42",
44
"branchPattern": "2.0.*",
55
"description": "Angular 2 - a web framework for modern web apps",

0 commit comments

Comments
 (0)