-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christopher J. Brody
committed
Feb 22, 2021
1 parent
cf613d9
commit f5acbe9
Showing
17 changed files
with
207 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ Options: | |
--generate-example Generate an example project and add the library module to it with symlink by defult, with overwrite of example metro.config.js to add workaround for Metro symlink issue - requires both react-native-cli and yarn to be installed globally | ||
--example-file-linkage DEPRECATED: do \`yarn add file:../\` instead of \`yarn add link:../\` in a generated example project, and add a postinstall workaround script, with no overwrite of example metro.config.js | ||
--example-name [exampleName] Name for the example project (default: \\"example\\") | ||
--example-react-native-version [exampleReactNativeVersion] React Native version for the generated example project (default: \\"react-native@latest\\") | ||
--example-react-native-version [exampleReactNativeVersion] React Native template version for the generated example project, for example: react-native-tvos, [email protected] (requires --tvos-enabled option); [email protected] (default: \\"react-native@latest\\") | ||
--write-example-podfile [iOS] EXPERIMENTAL FEATURE NOT SUPPORTED: write (or overwrite) example ios/Podfile | ||
-h, --help display help for command" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ Options: | |
--generate-example Generate an example project and add the library module to it with symlink by defult, with overwrite of example metro.config.js to add workaround for Metro symlink issue - requires both react-native-cli and yarn to be installed globally | ||
--example-file-linkage DEPRECATED: do \`yarn add file:../\` instead of \`yarn add link:../\` in a generated example project, and add a postinstall workaround script, with no overwrite of example metro.config.js | ||
--example-name [exampleName] Name for the example project (default: \\"example\\") | ||
--example-react-native-version [exampleReactNativeVersion] React Native version for the generated example project (default: \\"react-native@latest\\") | ||
--example-react-native-version [exampleReactNativeVersion] React Native template version for the generated example project, for example: react-native-tvos, [email protected] (requires --tvos-enabled option); [email protected] (default: \\"react-native@latest\\") | ||
--write-example-podfile [iOS] EXPERIMENTAL FEATURE NOT SUPPORTED: write (or overwrite) example ios/Podfile | ||
-h, --help display help for command" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ Object { | |
Object { | ||
"command": "--example-react-native-version [exampleReactNativeVersion]", | ||
"default": "react-native@latest", | ||
"description": "React Native version for the generated example project", | ||
"description": "React Native template version for the generated example project, for example: react-native-tvos, [email protected] (requires --tvos-enabled option); [email protected]", | ||
}, | ||
Object { | ||
"command": "--write-example-podfile", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ | |
|
||
exports[`create alice-bobbi view module with example, with custom config options 1`] = ` | ||
Array [ | ||
"* execa.commandSync command: react-native --version options: {\\"stdio\\":\\"inherit\\"} | ||
", | ||
"* execa.commandSync command: yarn --version options: {\\"stdio\\":\\"inherit\\"} | ||
", | ||
"* ensureDir dir: react-native-alice-bobbi | ||
|
@@ -792,13 +790,21 @@ content: | |
<<<<<<<< ======== >>>>>>>> | ||
", | ||
"* execa.commandSync command: react-native init test-demo --version [email protected] options: {\\"cwd\\":\\"./react-native-alice-bobbi\\",\\"stdio\\":\\"inherit\\"} | ||
", | ||
"* ensureDir dir: react-native-alice-bobbi/test-demo/ | ||
Object { | ||
"call": "reactNativeInit", | ||
"nameArray": Array [ | ||
"test-demo", | ||
], | ||
"options": Object { | ||
"directory": "react-native-alice-bobbi/test-demo", | ||
"template": "[email protected]", | ||
}, | ||
}, | ||
"* ensureDir dir: .../react-native-alice-bobbi/test-demo/ | ||
", | ||
"* ensureDir dir: react-native-alice-bobbi/test-demo/ | ||
"* ensureDir dir: .../react-native-alice-bobbi/test-demo/ | ||
", | ||
"* outputFile name: react-native-alice-bobbi/test-demo/metro.config.js | ||
"* outputFile name: .../react-native-alice-bobbi/test-demo/metro.config.js | ||
content: | ||
-------- | ||
// metro.config.js | ||
|
@@ -832,7 +838,7 @@ module.exports = { | |
<<<<<<<< ======== >>>>>>>> | ||
", | ||
"* outputFile name: react-native-alice-bobbi/test-demo/App.js | ||
"* outputFile name: .../react-native-alice-bobbi/test-demo/App.js | ||
content: | ||
-------- | ||
/** | ||
|
@@ -883,11 +889,11 @@ const styles = StyleSheet.create({ | |
<<<<<<<< ======== >>>>>>>> | ||
", | ||
"* execa.commandSync command: yarn add link:../ options: {\\"cwd\\":\\"./react-native-alice-bobbi/test-demo\\",\\"stdio\\":\\"inherit\\"} | ||
"* execa.commandSync command: yarn add link:../ options: {\\"cwd\\":\\".../react-native-alice-bobbi/test-demo\\",\\"stdio\\":\\"inherit\\"} | ||
", | ||
"* execa.commandSync command: pod --version options: {\\"cwd\\":\\"./react-native-alice-bobbi/test-demo/ios\\",\\"stdio\\":\\"inherit\\"} | ||
"* execa.commandSync command: pod --version options: {\\"cwd\\":\\".../react-native-alice-bobbi/test-demo/ios\\",\\"stdio\\":\\"inherit\\"} | ||
", | ||
"* execa.commandSync command: pod install options: {\\"cwd\\":\\"./react-native-alice-bobbi/test-demo/ios\\",\\"stdio\\":\\"inherit\\"} | ||
"* execa.commandSync command: pod install options: {\\"cwd\\":\\".../react-native-alice-bobbi/test-demo/ios\\",\\"stdio\\":\\"inherit\\"} | ||
", | ||
] | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.