rnbuilder 0.6.31 → 0.6.32
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 +13 -12
- package/lib/commands/build.d.ts +1 -0
- package/lib/commands/build.js +3 -0
- package/lib/utils/common.js +1 -1
- 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.32 darwin-arm64 node-v18.18.0
|
|
24
24
|
$ rnbuilder --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ rnbuilder COMMAND
|
|
@@ -66,13 +66,14 @@ OPTIONS
|
|
|
66
66
|
-v, --version=version Set the version number for this build
|
|
67
67
|
--groupsAndroid=groupsAndroid Groups ids for Android distribution
|
|
68
68
|
--groupsIos=groupsIos Groups ids for iOS distribution
|
|
69
|
+
--skipCheckVersion Skip checking current version on stores
|
|
69
70
|
|
|
70
71
|
EXAMPLE
|
|
71
72
|
$ rnbuilder build
|
|
72
73
|
hello world from ./src/build.ts!
|
|
73
74
|
```
|
|
74
75
|
|
|
75
|
-
_See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
76
|
+
_See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/build.ts)_
|
|
76
77
|
|
|
77
78
|
## `rnbuilder check-version [MATCH-CHECK]`
|
|
78
79
|
|
|
@@ -91,7 +92,7 @@ EXAMPLE
|
|
|
91
92
|
Nuke certificates ./src/match-check.ts!
|
|
92
93
|
```
|
|
93
94
|
|
|
94
|
-
_See code: [src/commands/check-version.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
95
|
+
_See code: [src/commands/check-version.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/check-version.ts)_
|
|
95
96
|
|
|
96
97
|
## `rnbuilder codepush [BUILD]`
|
|
97
98
|
|
|
@@ -110,7 +111,7 @@ EXAMPLE
|
|
|
110
111
|
Push changes to existing apps ./src/firebase-sync-udids.ts!
|
|
111
112
|
```
|
|
112
113
|
|
|
113
|
-
_See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
114
|
+
_See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/codepush.ts)_
|
|
114
115
|
|
|
115
116
|
## `rnbuilder google-key [MATCH-CHECK]`
|
|
116
117
|
|
|
@@ -129,7 +130,7 @@ EXAMPLE
|
|
|
129
130
|
Nuke certificates ./src/match-check.ts!
|
|
130
131
|
```
|
|
131
132
|
|
|
132
|
-
_See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
133
|
+
_See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/google-key.ts)_
|
|
133
134
|
|
|
134
135
|
## `rnbuilder help [COMMAND]`
|
|
135
136
|
|
|
@@ -161,7 +162,7 @@ EXAMPLE
|
|
|
161
162
|
initialize environment for first run from ./src/initialize.ts!
|
|
162
163
|
```
|
|
163
164
|
|
|
164
|
-
_See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
165
|
+
_See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/initialize.ts)_
|
|
165
166
|
|
|
166
167
|
## `rnbuilder match-check [MATCH-CHECK]`
|
|
167
168
|
|
|
@@ -180,7 +181,7 @@ EXAMPLE
|
|
|
180
181
|
Nuke certificates ./src/match-check.ts!
|
|
181
182
|
```
|
|
182
183
|
|
|
183
|
-
_See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
184
|
+
_See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/match-check.ts)_
|
|
184
185
|
|
|
185
186
|
## `rnbuilder match-nuke [BUILD]`
|
|
186
187
|
|
|
@@ -199,7 +200,7 @@ EXAMPLE
|
|
|
199
200
|
Nuke certificates ./src/match-nuke.ts!
|
|
200
201
|
```
|
|
201
202
|
|
|
202
|
-
_See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
203
|
+
_See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/match-nuke.ts)_
|
|
203
204
|
|
|
204
205
|
## `rnbuilder onesignal [BUILD]`
|
|
205
206
|
|
|
@@ -221,7 +222,7 @@ EXAMPLE
|
|
|
221
222
|
Create and upload push certificate to One Signal from ./src/commands/onesignal.ts!
|
|
222
223
|
```
|
|
223
224
|
|
|
224
|
-
_See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
225
|
+
_See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/onesignal.ts)_
|
|
225
226
|
|
|
226
227
|
## `rnbuilder setup [SETUP]`
|
|
227
228
|
|
|
@@ -239,7 +240,7 @@ EXAMPLE
|
|
|
239
240
|
hello world from ./src/setup.ts!
|
|
240
241
|
```
|
|
241
242
|
|
|
242
|
-
_See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
243
|
+
_See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/setup.ts)_
|
|
243
244
|
|
|
244
245
|
## `rnbuilder submit-review [SUBMIT-REVIEW]`
|
|
245
246
|
|
|
@@ -258,7 +259,7 @@ EXAMPLE
|
|
|
258
259
|
Push changes to existing apps ./src/firebase-sync-udids.ts!
|
|
259
260
|
```
|
|
260
261
|
|
|
261
|
-
_See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
262
|
+
_See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/submit-review.ts)_
|
|
262
263
|
|
|
263
264
|
## `rnbuilder sync-udids [BUILD]`
|
|
264
265
|
|
|
@@ -277,5 +278,5 @@ EXAMPLE
|
|
|
277
278
|
Sync device UDIDs from firebase from ./src/firebase-sync-udids.ts!
|
|
278
279
|
```
|
|
279
280
|
|
|
280
|
-
_See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
281
|
+
_See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.32/src/commands/sync-udids.ts)_
|
|
281
282
|
<!-- commandsstop -->
|
package/lib/commands/build.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export default class Build extends Command {
|
|
|
18
18
|
ignore_cleanup: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
19
19
|
groupsIos: flags.IOptionFlag<string | undefined>;
|
|
20
20
|
groupsAndroid: flags.IOptionFlag<string | undefined>;
|
|
21
|
+
skipCheckVersion: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
21
22
|
};
|
|
22
23
|
static args: {
|
|
23
24
|
name: string;
|
package/lib/commands/build.js
CHANGED
|
@@ -338,5 +338,8 @@ Build.flags = {
|
|
|
338
338
|
groupsAndroid: command_1.flags.string({
|
|
339
339
|
description: 'Groups ids for Android distribution',
|
|
340
340
|
}),
|
|
341
|
+
skipCheckVersion: command_1.flags.boolean({
|
|
342
|
+
description: 'Skip checking current version on stores',
|
|
343
|
+
}),
|
|
341
344
|
};
|
|
342
345
|
Build.args = [{ name: 'build' }];
|
package/lib/utils/common.js
CHANGED
|
@@ -22,7 +22,7 @@ exports.getFastlaneConfigs = () => {
|
|
|
22
22
|
};
|
|
23
23
|
exports.getJsonFile = (env) => {
|
|
24
24
|
let fileName = 'app';
|
|
25
|
-
if (env
|
|
25
|
+
if (env !== 'prod') {
|
|
26
26
|
fileName = `${fileName}.${env}`;
|
|
27
27
|
}
|
|
28
28
|
const file = process.cwd() + `/${fileName}.json`;
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.6.
|
|
1
|
+
{"version":"0.6.32","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","both"]},"env":{"name":"env","type":"option","char":"e","description":"Set the environment: prod, staging, dev"},"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"},"firebase":{"name":"firebase","type":"boolean","char":"f","description":"If enabled, the build will be uploaded to firebase","allowNo":false},"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},"groupsIos":{"name":"groupsIos","type":"option","description":"Groups ids for iOS distribution"},"groupsAndroid":{"name":"groupsAndroid","type":"option","description":"Groups ids for Android distribution"},"skipCheckVersion":{"name":"skipCheckVersion","type":"boolean","description":"Skip checking current version on stores","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"}]}}}
|