Skip to content

Commit d91d28a

Browse files
committed
Unbreak npm publish
See react/react-native#706 (comment)
1 parent 13b14d6 commit d91d28a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

local-cli/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function run() {
4444
}
4545

4646
function init(root, projectName) {
47-
spawn(path.resolve(__dirname, 'init.sh'), [projectName], {stdio:'inherit'});
47+
spawn(path.resolve(__dirname, '../init.sh'), [projectName], {stdio:'inherit'});
4848
}
4949

5050
if (require.main === module) {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native",
3-
"version": "0.3.5",
3+
"version": "0.3.7",
44
"description": "A framework for building native apps using React",
55
"repository": {
66
"type": "git",
@@ -27,6 +27,7 @@
2727
"Libraries",
2828
"packager",
2929
"cli.js",
30+
"local-cli",
3031
"init.sh",
3132
"LICENSE",
3233
"PATENTS",

0 commit comments

Comments
 (0)