Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Options:
--prefix <prefix> The prefix for the library module (Default: ``)
--module-name <moduleName> The module library package name to be used in package.json. Default: react-native-(name in param-case)
--module-prefix <modulePrefix> The module prefix for the library module, ignored if --module-name is specified (Default: `react-native`)
--package-identifier <packageIdentifier> (Android only!) The package name for the Android module (Default: `com.reactlibrary`)
--package-identifier <packageIdentifier> [Android] The Java package identifier used by the Android module (Default: `com.reactlibrary`)
--platforms <platforms> Platforms the library module will be created for - comma separated (Default: `ios,android`)
--github-account <githubAccount> The github account where the library module is hosted (Default: `github_account`)
--author-name <authorName> The author's name (Default: `Your Name`)
Expand Down Expand Up @@ -129,7 +129,7 @@ createLibraryModule({
moduleName: String, /* The module library package name to be used in package.json. Default: react-native-(name in param-case) */
modulePrefix: String, /* The module prefix for the library, ignored if moduleName is specified (Default: react-native) */
platforms: Array | String, /* Platforms the library will be created for. (Default: ['android', 'ios']) */
packageIdentifier: String, /* (Android only!) The package name for the Android module (Default: com.reactlibrary) */
packageIdentifier: String, /* [Android] The Java package identifier used by the Android module (Default: com.reactlibrary) */
githubAccount: String, /* The github account where the library is hosted (Default: `github_account`) */
authorName: String, /* The author's name (Default: `Your Name`) */
authorEmail: String, /* The author's email (Default: `yourname@email.com`) */
Expand Down
2 changes: 1 addition & 1 deletion lib/cli-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ${postCreateInstructions(createOptions)}`);
default: 'react-native',
}, {
command: '--package-identifier [packageIdentifier]',
description: '(Android only!) The package name for the Android module',
description: '[Android] The Java package identifier used by the Android module',
default: 'com.reactlibrary',
}, {
command: '--platforms <platforms>',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Options:
--prefix [prefix] The prefix for the library module (default: \\"\\")
--module-name [moduleName] The module library package name to be used in package.json. Default: react-native-(name in param-case)
--module-prefix [modulePrefix] The module prefix for the library module, ignored if --module-name is specified (default: \\"react-native\\")
--package-identifier [packageIdentifier] (Android only!) The package name for the Android module (default: \\"com.reactlibrary\\")
--package-identifier [packageIdentifier] [Android] The Java package identifier used by the Android module (default: \\"com.reactlibrary\\")
--platforms <platforms> Platforms the library module will be created for - comma separated (default: \\"ios,android\\")
--github-account [githubAccount] The github account where the library module is hosted (default: \\"github_account\\")
--author-name [authorName] The author's name (default: \\"Your Name\\")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Options:
--prefix [prefix] The prefix for the library module (default: \\"\\")
--module-name [moduleName] The module library package name to be used in package.json. Default: react-native-(name in param-case)
--module-prefix [modulePrefix] The module prefix for the library module, ignored if --module-name is specified (default: \\"react-native\\")
--package-identifier [packageIdentifier] (Android only!) The package name for the Android module (default: \\"com.reactlibrary\\")
--package-identifier [packageIdentifier] [Android] The Java package identifier used by the Android module (default: \\"com.reactlibrary\\")
--platforms <platforms> Platforms the library module will be created for - comma separated (default: \\"ios,android\\")
--github-account [githubAccount] The github account where the library module is hosted (default: \\"github_account\\")
--author-name [authorName] The author's name (default: \\"Your Name\\")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Object {
Object {
"command": "--package-identifier [packageIdentifier]",
"default": "com.reactlibrary",
"description": "(Android only!) The package name for the Android module",
"description": "[Android] The Java package identifier used by the Android module",
},
Object {
"command": "--platforms <platforms>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Array [
"option": Object {
"args": Array [
"--package-identifier [packageIdentifier]",
"(Android only!) The package name for the Android module",
"[Android] The Java package identifier used by the Android module",
[Function],
"com.reactlibrary",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Array [
"option": Object {
"args": Array [
"--package-identifier [packageIdentifier]",
"(Android only!) The package name for the Android module",
"[Android] The Java package identifier used by the Android module",
[Function],
"com.reactlibrary",
],
Expand Down