rnbuilder 0.6.18 → 0.6.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -21
- package/lib/commands/build.d.ts +3 -0
- package/lib/commands/build.js +12 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g rnbuilder
|
|
|
20
20
|
$ rnbuilder COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ rnbuilder (-v|--version|version)
|
|
23
|
-
rnbuilder/0.6.
|
|
23
|
+
rnbuilder/0.6.19 darwin-arm64 node-v18.18.0
|
|
24
24
|
$ rnbuilder --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ rnbuilder COMMAND
|
|
@@ -51,22 +51,25 @@ USAGE
|
|
|
51
51
|
$ rnbuilder build [BUILD]
|
|
52
52
|
|
|
53
53
|
OPTIONS
|
|
54
|
-
-b, --branch=branch
|
|
55
|
-
-c, --client=client
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
54
|
+
-b, --branch=branch Set the source branch used to build the app
|
|
55
|
+
-c, --client=client Set client that you want to build app
|
|
56
|
+
-d, --distribute=distribute Specify where to distribute app
|
|
57
|
+
-e, --env=staging|adhoc|prod Set the environment: prod, adhoc, staging
|
|
58
|
+
-g, --ignore_git_reset Ignore git reset when building
|
|
59
|
+
-h, --help show CLI help
|
|
60
|
+
-i, --installr=installr If enabled, the build will be uploaded to installR
|
|
61
|
+
-s, --ignore_cleanup Ignore cleanup when building
|
|
62
|
+
-t, --target=android|ios Set the build target: android, ios or both
|
|
63
|
+
-t, --testersIos=testersIos Tester ids for iOS distribution
|
|
64
|
+
-u, --testersAndroid=testersAndroid Tester ids for Android distribution
|
|
65
|
+
-v, --version=version Set the version number for this build
|
|
63
66
|
|
|
64
67
|
EXAMPLE
|
|
65
68
|
$ rnbuilder build
|
|
66
69
|
hello world from ./src/build.ts!
|
|
67
70
|
```
|
|
68
71
|
|
|
69
|
-
_See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
72
|
+
_See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/build.ts)_
|
|
70
73
|
|
|
71
74
|
## `rnbuilder check-version [MATCH-CHECK]`
|
|
72
75
|
|
|
@@ -85,7 +88,7 @@ EXAMPLE
|
|
|
85
88
|
Nuke certificates ./src/match-check.ts!
|
|
86
89
|
```
|
|
87
90
|
|
|
88
|
-
_See code: [src/commands/check-version.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
91
|
+
_See code: [src/commands/check-version.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/check-version.ts)_
|
|
89
92
|
|
|
90
93
|
## `rnbuilder codepush [BUILD]`
|
|
91
94
|
|
|
@@ -104,7 +107,7 @@ EXAMPLE
|
|
|
104
107
|
Push changes to existing apps ./src/firebase-sync-udids.ts!
|
|
105
108
|
```
|
|
106
109
|
|
|
107
|
-
_See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
110
|
+
_See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/codepush.ts)_
|
|
108
111
|
|
|
109
112
|
## `rnbuilder google-key [MATCH-CHECK]`
|
|
110
113
|
|
|
@@ -123,7 +126,7 @@ EXAMPLE
|
|
|
123
126
|
Nuke certificates ./src/match-check.ts!
|
|
124
127
|
```
|
|
125
128
|
|
|
126
|
-
_See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
129
|
+
_See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/google-key.ts)_
|
|
127
130
|
|
|
128
131
|
## `rnbuilder help [COMMAND]`
|
|
129
132
|
|
|
@@ -155,7 +158,7 @@ EXAMPLE
|
|
|
155
158
|
initialize environment for first run from ./src/initialize.ts!
|
|
156
159
|
```
|
|
157
160
|
|
|
158
|
-
_See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
161
|
+
_See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/initialize.ts)_
|
|
159
162
|
|
|
160
163
|
## `rnbuilder match-check [MATCH-CHECK]`
|
|
161
164
|
|
|
@@ -174,7 +177,7 @@ EXAMPLE
|
|
|
174
177
|
Nuke certificates ./src/match-check.ts!
|
|
175
178
|
```
|
|
176
179
|
|
|
177
|
-
_See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
180
|
+
_See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/match-check.ts)_
|
|
178
181
|
|
|
179
182
|
## `rnbuilder match-nuke [BUILD]`
|
|
180
183
|
|
|
@@ -193,7 +196,7 @@ EXAMPLE
|
|
|
193
196
|
Nuke certificates ./src/match-nuke.ts!
|
|
194
197
|
```
|
|
195
198
|
|
|
196
|
-
_See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
199
|
+
_See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/match-nuke.ts)_
|
|
197
200
|
|
|
198
201
|
## `rnbuilder onesignal [BUILD]`
|
|
199
202
|
|
|
@@ -215,7 +218,7 @@ EXAMPLE
|
|
|
215
218
|
Create and upload push certificate to One Signal from ./src/commands/onesignal.ts!
|
|
216
219
|
```
|
|
217
220
|
|
|
218
|
-
_See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
221
|
+
_See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/onesignal.ts)_
|
|
219
222
|
|
|
220
223
|
## `rnbuilder setup [SETUP]`
|
|
221
224
|
|
|
@@ -233,7 +236,7 @@ EXAMPLE
|
|
|
233
236
|
hello world from ./src/setup.ts!
|
|
234
237
|
```
|
|
235
238
|
|
|
236
|
-
_See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
239
|
+
_See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/setup.ts)_
|
|
237
240
|
|
|
238
241
|
## `rnbuilder submit-review [SUBMIT-REVIEW]`
|
|
239
242
|
|
|
@@ -252,7 +255,7 @@ EXAMPLE
|
|
|
252
255
|
Push changes to existing apps ./src/firebase-sync-udids.ts!
|
|
253
256
|
```
|
|
254
257
|
|
|
255
|
-
_See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
258
|
+
_See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/submit-review.ts)_
|
|
256
259
|
|
|
257
260
|
## `rnbuilder sync-udids [BUILD]`
|
|
258
261
|
|
|
@@ -271,5 +274,5 @@ EXAMPLE
|
|
|
271
274
|
Sync device UDIDs from firebase from ./src/firebase-sync-udids.ts!
|
|
272
275
|
```
|
|
273
276
|
|
|
274
|
-
_See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
277
|
+
_See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/sync-udids.ts)_
|
|
275
278
|
<!-- commandsstop -->
|
package/lib/commands/build.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export default class Build extends Command {
|
|
|
10
10
|
branch: flags.IOptionFlag<string | undefined>;
|
|
11
11
|
version: flags.IOptionFlag<string | undefined>;
|
|
12
12
|
installr: flags.IOptionFlag<string | undefined>;
|
|
13
|
+
distribute: flags.IOptionFlag<string | undefined>;
|
|
14
|
+
testersIos: flags.IOptionFlag<string | undefined>;
|
|
15
|
+
testersAndroid: flags.IOptionFlag<string | undefined>;
|
|
13
16
|
ignore_git_reset: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
14
17
|
ignore_cleanup: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
15
18
|
};
|
package/lib/commands/build.js
CHANGED
|
@@ -295,6 +295,18 @@ Build.flags = {
|
|
|
295
295
|
char: 'i',
|
|
296
296
|
description: 'If enabled, the build will be uploaded to installR',
|
|
297
297
|
}),
|
|
298
|
+
distribute: command_1.flags.string({
|
|
299
|
+
char: 'd',
|
|
300
|
+
description: 'Specify where to distribute app',
|
|
301
|
+
}),
|
|
302
|
+
testersIos: command_1.flags.string({
|
|
303
|
+
char: 't',
|
|
304
|
+
description: 'Tester ids for iOS distribution',
|
|
305
|
+
}),
|
|
306
|
+
testersAndroid: command_1.flags.string({
|
|
307
|
+
char: 'u',
|
|
308
|
+
description: 'Tester ids for Android distribution',
|
|
309
|
+
}),
|
|
298
310
|
ignore_git_reset: command_1.flags.boolean({
|
|
299
311
|
char: 'g',
|
|
300
312
|
description: 'Ignore git reset when building',
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.6.
|
|
1
|
+
{"version":"0.6.19","commands":{"build":{"id":"build","description":"Build react native apps","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder build\nhello world from ./src/build.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"client":{"name":"client","type":"option","char":"c","description":"Set client that you want to build app"},"target":{"name":"target","type":"option","char":"t","description":"Set the build target: android, ios or both","options":["android","ios"]},"env":{"name":"env","type":"option","char":"e","description":"Set the environment: prod, adhoc, staging","options":["staging","adhoc","prod"]},"branch":{"name":"branch","type":"option","char":"b","description":"Set the source branch used to build the app"},"version":{"name":"version","type":"option","char":"v","description":"Set the version number for this build"},"installr":{"name":"installr","type":"option","char":"i","description":"If enabled, the build will be uploaded to installR"},"distribute":{"name":"distribute","type":"option","char":"d","description":"Specify where to distribute app"},"testersIos":{"name":"testersIos","type":"option","char":"t","description":"Tester ids for iOS distribution"},"testersAndroid":{"name":"testersAndroid","type":"option","char":"u","description":"Tester ids for Android distribution"},"ignore_git_reset":{"name":"ignore_git_reset","type":"boolean","char":"g","description":"Ignore git reset when building","allowNo":false},"ignore_cleanup":{"name":"ignore_cleanup","type":"boolean","char":"s","description":"Ignore cleanup when building","allowNo":false}},"args":[{"name":"build"}]},"check-version":{"id":"check-version","description":"Check live versions","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder check-version\n Nuke certificates ./src/match-check.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"client":{"name":"client","type":"option","char":"c","description":"Select client that you want to sync udids"}},"args":[{"name":"match-check"}]},"codepush":{"id":"codepush","description":"Push changes to existing apps","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder codepush\n Push changes to existing apps ./src/firebase-sync-udids.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"client":{"name":"client","type":"option","char":"c","description":"Select client that you want to push update"}},"args":[{"name":"build"}]},"google-key":{"id":"google-key","description":"Nuke certificates","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder match-check\n Nuke certificates ./src/match-check.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"client":{"name":"client","type":"option","char":"c","description":"Select client that you want to sync udids"}},"args":[{"name":"match-check"}]},"initialize":{"id":"initialize","description":"Initialize the environment for first run","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder initialize\ninitialize environment for first run from ./src/initialize.ts!\n"],"flags":{},"args":[]},"match-check":{"id":"match-check","description":"Nuke certificates","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder match-check\n Nuke certificates ./src/match-check.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"client":{"name":"client","type":"option","char":"c","description":"Select client that you want to sync udids"}},"args":[{"name":"match-check"}]},"match-nuke":{"id":"match-nuke","description":"Nuke certificates","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder match-nuke\n Nuke certificates ./src/match-nuke.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"client":{"name":"client","type":"option","char":"c","description":"Select client that you want to sync udids"}},"args":[{"name":"build"}]},"onesignal":{"id":"onesignal","description":"Create and upload push cerfiticate to One Signal","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder onesignal\n Create and upload push certificate to One Signal from ./src/commands/onesignal.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"client":{"name":"client","type":"option","char":"c","description":"Select client that you want to sync udids"},"auth_token":{"name":"auth_token","type":"option","description":"Auth token for OneSignal"},"android_token":{"name":"android_token","type":"option"},"android_gcm_sender_id":{"name":"android_gcm_sender_id","type":"option"}},"args":[{"name":"build"}]},"setup":{"id":"setup","description":"Setup new client","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder build\nhello world from ./src/setup.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"setup"}]},"submit-review":{"id":"submit-review","description":"Submit ios for review","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder submit-review\n Push changes to existing apps ./src/firebase-sync-udids.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"client":{"name":"client","type":"option","char":"c","description":"Select client that you want to push update"}},"args":[{"name":"submit-review"}]},"sync-udids":{"id":"sync-udids","description":"Sync device UDIDs from firebase","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder sync-udids\n Sync device UDIDs from firebase from ./src/firebase-sync-udids.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"client":{"name":"client","type":"option","char":"c","description":"Select client that you want to sync udids"}},"args":[{"name":"build"}]}}}
|