Skip to content

Beta 2 #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion app/templates/_gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ gulp.task('dependencies', function () {
'node_modules/systemjs/dist/system-csp-production.src.js',
'node_modules/systemjs/dist/system.js',
'node_modules/reflect-metadata/Reflect.js',
'node_modules/angular2/bundles/angular2.js'
'node_modules/angular2/bundles/angular2.js',
'node_modules/angular2/bundles/angular2-polyfills.js',
'node_modules/rxjs/bundles/Rx.js',
'node_modules/es6-shim/es6-shim.min.js',
'node_modules/es6-shim/es6-shim.map'
])
.pipe(gulp.dest('build/lib'));
});
Expand Down
14 changes: 9 additions & 5 deletions app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
"start": "gulp dev"
},
"dependencies": {
"angular2": "2.0.0-alpha.46",
"reflect-metadata": "0.1.1",
"systemjs": "0.18.17",
"traceur": "0.0.92"
"angular2": "2.0.0-beta.2",
"traceur": "0.0.102",
"es6-promise": "^3.0.2",
"es6-shim": "^0.33.3",
"rxjs": "5.0.0-beta.0",
"zone.js": "0.5.10",
"reflect-metadata": "0.1.2",
"systemjs": "0.19.6"
},
"devDependencies": {
"gulp": "3.9.0",
"gulp-rename": "1.2.2",
"gulp-traceur": "0.17.1",
"gulp-traceur": "0.17.2",
"gulp-webserver": "0.9.1"
}
}
2 changes: 1 addition & 1 deletion app/templates/src/_basic-template.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ComponentMetadata as Component, ViewMetadata as View} from 'angular2/angular2';
import {Component, View} from 'angular2/core';

@Component({
selector: '<%= appname %>'
Expand Down
3 changes: 3 additions & 0 deletions app/templates/src/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

<main>Loading...</main>

<script src="lib/es6-shim.min.js"></script>
<script src="lib/angular2-polyfills.js"></script>
<script src="lib/traceur-runtime.js"></script>
<script src="lib/system-csp-production.src.js"></script>
<script src="lib/Reflect.js"></script>
Expand All @@ -19,6 +21,7 @@
</script>

<script src="lib/angular2.js"></script>
<script src="lib/Rx.js"></script>

<script>
System.import('index').catch(console.log.bind(console));
Expand Down
3 changes: 2 additions & 1 deletion app/templates/src/_index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {Component, View, bootstrap} from 'angular2/angular2';
import {Component, View} from 'angular2/core';
import {bootstrap} from 'angular2/platform/browser';
import {<%= classname %>} from '<%= appname %>';

@Component({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-angular2",
"version": "0.6.3",
"version": "0.6.4",
"description": "Angular2 Yeoman Generator",
"license": "MIT",
"main": "app/index.js",
Expand Down