Skip to content

Commit 4812bca

Browse files
NathanWalkerhdeshev
authored andcommitted
chore: cleanup and proper ng-sample package
1 parent 7dd4b0e commit 4812bca

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

nativescript-angular/hooks/hook-helper.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ exports.getBeforeLivesyncHookDir = function getBeforeLivesyncHookDir() {
2929
};
3030

3131
exports.getHookFilePath = function getHookFilePath() {
32-
return path.join(exports.getBeforeLivesyncHookDir(), "nativescript-angular-sync .js");
32+
return path.join(exports.getBeforeLivesyncHookDir(), "nativescript-angular-sync.js");
3333
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require("nativescript-angular/hooks/before-livesync");

ng-sample/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"homepage": "https://github.com/NativeScript/template-hello-world",
2525
"dependencies": {
2626
"tns-core-modules": "2.2.0",
27-
"nativescript-angular": "next",
27+
"nativescript-angular": "file:../nativescript-angular",
2828
"nativescript-intl": "^0.0.2",
2929
"@angular/core": "2.0.0-rc.5",
3030
"@angular/common": "2.0.0-rc.5",
@@ -57,6 +57,9 @@
5757
"id": "org.nativescript.ngsample",
5858
"tns-android": {
5959
"version": "2.2.0"
60+
},
61+
"tns-ios": {
62+
"version": "2.2.1"
6063
}
6164
}
6265
}

0 commit comments

Comments
 (0)