10000 chore: update blueprints to 2.0.0-alpha-47 · pkdevboxy/angular-cli@7076479 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7076479

Browse files
committed
chore: update blueprints to 2.0.0-alpha-47
Closes angular#84
1 parent 87bfa14 commit 7076479

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

addon/ng2/blueprints/component/files/src/app/components/__name__/__name__.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Component} from 'angular2/angular2';
1+
import {Component} from 'angular2/core';
22

33

44
@Component({
@@ -13,4 +13,4 @@ export class <%= classifiedModuleName %> {
1313

1414
constructor() {}
1515

16-
}
16+
}

addon/ng2/blueprints/ng2/files/karma-test-shim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ System.config({
2020
}
2121
});
2222

23-
System.import('angular2/src/core/dom/browser_adapter').then(function(browser_adapter) {
23+
System.import('angular2/platform/browser').then(function(browser_adapter) {
2424
// TODO: once beta is out we should change this code to use a "test platform"
2525
browser_adapter.BrowserDomAdapter.makeCurrent();
2626
}).then(function() {

addon/ng2/blueprints/ng2/files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "Apache-2.0",
55
"dependencies": {
66
"systemjs": "0.19.4",
7-
"angular2": "2.0.0-alpha.46"
7+
"angular2": "2.0.0-alpha.47"
88
},
99
"devDependencies": {
1010
"angular-cli": "0.0.*",

addon/ng2/blueprints/ng2/files/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {bootstrap} from 'angular2/angular2';
1+
import {bootstrap} from 'angular2/platform/browser';
22
import {<%= jsComponentName %>App} from './app/<%= htmlComponentName %>';
33

44

addon/ng2/blueprints/ng2/files/src/app/__name__.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Component} from 'angular2/angular2';
1+
import {Component} from 'angular2/core';
22

33

44
@Component({

addon/ng2/blueprints/pipe/files/src/app/pipes/__name__/__name__.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Pipe} from 'angular2/angular2';
1+
import {Pipe} from 'angular2/core';
22

33

44
@Pipe({
@@ -10,4 +10,4 @@ export class <%= classifiedModuleName %> {
1010
return value;
1111
}
1212

13-
}
13+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import {Injectable} from 'angular2/angular2';
1+
import {Injectable} from 'angular2/core';
22

33

44
@Injectable()
55
export class <%= classifiedModuleName %> {
66

77
constructor() {}
88

9-
}
9+
}

0 commit comments

Comments
 (0)
0