mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
feat: update blueprints and broccoli config to angular2@2.0.0-alpha.54
Closes #108
This commit is contained in:
parent
d89d717358
commit
5e9f34bd20
@ -3,13 +3,13 @@
|
||||
"version": "0.0.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"angular2": "2.0.0-alpha.53",
|
||||
"angular2": "2.0.0-alpha.54",
|
||||
"es6-promise": "^3.0.2",
|
||||
"es6-shim": "^0.33.3",
|
||||
"reflect-metadata": "0.1.2",
|
||||
"rxjs": "5.0.0-alpha.14",
|
||||
"rxjs": "5.0.0-beta.0",
|
||||
"systemjs": "0.19.4",
|
||||
"zone.js": "0.5.8"
|
||||
"zone.js": "0.5.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"angular-cli": "0.0.*",
|
||||
|
@ -1,11 +1,21 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><%= jsComponentName %></title>
|
||||
<base href=".">
|
||||
<script src="vendor/systemjs/dist/system.src.js"></script>
|
||||
<script src="vendor/angular2/bundles/angular2.dev.js"></script>
|
||||
<script src="vendor/angular2/bundles/angular2-polyfills.js"></script>
|
||||
{{content-for 'head'}}
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
</head>
|
||||
<body>
|
||||
<<%= htmlComponentName %>-app>Loading...</<%= htmlComponentName %>-app>
|
||||
|
||||
<script src="vendor/systemjs/dist/system.src.js"></script>
|
||||
<script src="vendor/rxjs/bundles/Rx.js"></script>
|
||||
<script src="vendor/angular2/bundles/angular2.dev.js"></script>
|
||||
<script src="vendor/angular2/bundles/http.dev.js"></script>
|
||||
<script src="vendor/angular2/bundles/router.dev.js"></script>
|
||||
<script>
|
||||
System.config({
|
||||
packages: {
|
||||
@ -17,9 +27,5 @@
|
||||
});
|
||||
System.import('app.js').then(null, console.error.bind(console));
|
||||
</script>
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
||||
</head>
|
||||
<body>
|
||||
<<%= htmlComponentName %>-app>Loading...</<%= htmlComponentName %>-app>
|
||||
</body>
|
||||
</html>
|
||||
|
5
lib/broccoli/angular2-app.js
vendored
5
lib/broccoli/angular2-app.js
vendored
@ -36,9 +36,12 @@ Angular2App.prototype.toTree = function () {
|
||||
|
||||
var vendorJsTree = new Funnel('node_modules', {
|
||||
files: [
|
||||
'angular2/bundles/angular2-polyfills.js',
|
||||
'angular2/bundles/angular2.dev.js',
|
||||
'angular2/bundles/router.dev.js',
|
||||
'angular2/bundles/http.dev.js',
|
||||
'angular2/bundles/router.dev.js',
|
||||
'angular2/bundles/upgrade.dev.js',
|
||||
'rxjs/bundles/Rx.js',
|
||||
'systemjs/dist/system.src.js'
|
||||
],
|
||||
destDir: 'vendor'
|
||||
|
Loading…
x
Reference in New Issue
Block a user