Skip to content

Commit

Permalink
fix: rn 67 m1 related fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavjacko committed Mar 13, 2022
1 parent ae1a5fc commit c0a028d
Show file tree
Hide file tree
Showing 7 changed files with 203 additions and 270 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"git-commit": "rnv hooks run -x gitCommit -r",
"git-commit-tag": "rnv hooks run -x gitCommitAndTag -r",
"git-tag": "rnv hooks run -x gitTag -r",
"link:rnv": "cd packages/rnv && (yarn unlink || true) && yarn link",
"link:rnv": "cd packages/rnv && (npm unlink rnv || true) && npm link",
"lint": "npx eslint ./packages",
"postinstall": "lerna link --force-local && npx jetify",
"test": "lerna run test --stream",
Expand Down
5 changes: 4 additions & 1 deletion packages/renative-template-blank/renative.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@
},
"xbox": {
"engine": "engine-rn-windows"
},
"ios": {
"deploymentTarget": "13.0"
}
},
"plugins": {
Expand All @@ -197,4 +200,4 @@
}
}
}
}
}
3 changes: 3 additions & 0 deletions packages/renative-template-hello-world/renative.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@
},
"xbox": {
"engine": "engine-rn-windows"
},
"ios": {
"deploymentTarget": "13.0"
}
},
"plugins": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rnv/bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const packageJson = JSON.parse(fs.readFileSync(path.join(__dirname, '../package.
let cmdValue;
let cmdOption;

program.version(packageJson.version);
program.version(packageJson.version, '-v, --version', 'output current version');

CONSTANTS.PARAMS.withAll().forEach((param) => {
let cmd = '';
Expand Down
1 change: 0 additions & 1 deletion packages/rnv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"tar": "4.4.19",
"xml2js": "0.4.23"
},
"devDependencies": {},
"engines": {
"node": ">=6.0.0",
"npm": ">=4.0.0"
Expand Down

This file was deleted.

Loading

0 comments on commit c0a028d

Please sign in to comment.