rnbuilder 0.6.70 → 0.6.71
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 -13
- package/lib/commands/build.js +5 -5
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ $ npm install -g rnbuilder
|
|
|
22
22
|
$ rnbuilder COMMAND
|
|
23
23
|
running command...
|
|
24
24
|
$ rnbuilder (-v|--version|version)
|
|
25
|
-
rnbuilder/0.6.
|
|
25
|
+
rnbuilder/0.6.71 darwin-arm64 node-v24.13.0
|
|
26
26
|
$ rnbuilder --help [COMMAND]
|
|
27
27
|
USAGE
|
|
28
28
|
$ rnbuilder COMMAND
|
|
@@ -79,7 +79,7 @@ EXAMPLE
|
|
|
79
79
|
hello world from ./src/build.ts!
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
_See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
82
|
+
_See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/build.ts)_
|
|
83
83
|
|
|
84
84
|
## `rnbuilder check-version [MATCH-CHECK]`
|
|
85
85
|
|
|
@@ -98,7 +98,7 @@ EXAMPLE
|
|
|
98
98
|
Nuke certificates ./src/match-check.ts!
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
_See code: [src/commands/check-version.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
101
|
+
_See code: [src/commands/check-version.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/check-version.ts)_
|
|
102
102
|
|
|
103
103
|
## `rnbuilder codepush [BUILD]`
|
|
104
104
|
|
|
@@ -117,7 +117,7 @@ EXAMPLE
|
|
|
117
117
|
Push changes to existing apps ./src/firebase-sync-udids.ts!
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
_See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
120
|
+
_See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/codepush.ts)_
|
|
121
121
|
|
|
122
122
|
## `rnbuilder google-key [MATCH-CHECK]`
|
|
123
123
|
|
|
@@ -136,7 +136,7 @@ EXAMPLE
|
|
|
136
136
|
Nuke certificates ./src/match-check.ts!
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
_See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
139
|
+
_See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/google-key.ts)_
|
|
140
140
|
|
|
141
141
|
## `rnbuilder help [COMMAND]`
|
|
142
142
|
|
|
@@ -168,7 +168,7 @@ EXAMPLE
|
|
|
168
168
|
initialize environment for first run from ./src/initialize.ts!
|
|
169
169
|
```
|
|
170
170
|
|
|
171
|
-
_See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
171
|
+
_See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/initialize.ts)_
|
|
172
172
|
|
|
173
173
|
## `rnbuilder match-check [MATCH-CHECK]`
|
|
174
174
|
|
|
@@ -187,7 +187,7 @@ EXAMPLE
|
|
|
187
187
|
Check match certificates ./src/match-check.ts!
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
-
_See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
190
|
+
_See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/match-check.ts)_
|
|
191
191
|
|
|
192
192
|
## `rnbuilder match-nuke [BUILD]`
|
|
193
193
|
|
|
@@ -206,7 +206,7 @@ EXAMPLE
|
|
|
206
206
|
Nuke certificates ./src/match-nuke.ts!
|
|
207
207
|
```
|
|
208
208
|
|
|
209
|
-
_See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
209
|
+
_See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/match-nuke.ts)_
|
|
210
210
|
|
|
211
211
|
## `rnbuilder onesignal [BUILD]`
|
|
212
212
|
|
|
@@ -228,7 +228,7 @@ EXAMPLE
|
|
|
228
228
|
Create and upload push certificate to One Signal from ./src/commands/onesignal.ts!
|
|
229
229
|
```
|
|
230
230
|
|
|
231
|
-
_See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
231
|
+
_See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/onesignal.ts)_
|
|
232
232
|
|
|
233
233
|
## `rnbuilder reject-review [REJECT-REVIEW]`
|
|
234
234
|
|
|
@@ -246,7 +246,7 @@ EXAMPLE
|
|
|
246
246
|
$ rnbuilder reject-review
|
|
247
247
|
```
|
|
248
248
|
|
|
249
|
-
_See code: [src/commands/reject-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
249
|
+
_See code: [src/commands/reject-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/reject-review.ts)_
|
|
250
250
|
|
|
251
251
|
## `rnbuilder setup [SETUP]`
|
|
252
252
|
|
|
@@ -264,7 +264,7 @@ EXAMPLE
|
|
|
264
264
|
hello world from ./src/setup.ts!
|
|
265
265
|
```
|
|
266
266
|
|
|
267
|
-
_See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
267
|
+
_See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/setup.ts)_
|
|
268
268
|
|
|
269
269
|
## `rnbuilder submit-review [SUBMIT-REVIEW]`
|
|
270
270
|
|
|
@@ -283,7 +283,7 @@ EXAMPLE
|
|
|
283
283
|
Push changes to existing apps ./src/firebase-sync-udids.ts!
|
|
284
284
|
```
|
|
285
285
|
|
|
286
|
-
_See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
286
|
+
_See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/submit-review.ts)_
|
|
287
287
|
|
|
288
288
|
## `rnbuilder sync-udids [BUILD]`
|
|
289
289
|
|
|
@@ -302,5 +302,5 @@ EXAMPLE
|
|
|
302
302
|
Sync device UDIDs from firebase from ./src/firebase-sync-udids.ts!
|
|
303
303
|
```
|
|
304
304
|
|
|
305
|
-
_See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
305
|
+
_See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.71/src/commands/sync-udids.ts)_
|
|
306
306
|
<!-- commandsstop -->
|
package/lib/commands/build.js
CHANGED
|
@@ -246,15 +246,15 @@ class Build extends command_1.Command {
|
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
shell.exec('git pull');
|
|
249
|
-
shell.exec('bundle update --bundler');
|
|
250
|
-
shell.exec('bundle install');
|
|
251
|
-
// Clean fastlane builds
|
|
252
|
-
shell.exec('rm -rf fastlane/builds');
|
|
253
|
-
shell.exec('rm ios/.xcode.env.local');
|
|
254
249
|
if (flags.cleanup) {
|
|
250
|
+
// Clean fastlane builds
|
|
251
|
+
shell.exec('rm -rf fastlane/builds');
|
|
252
|
+
shell.exec('rm ios/.xcode.env.local');
|
|
255
253
|
shell.exec('rm -rf android/.gradle android/build android/app/build android/app/.cxx node_modules');
|
|
256
254
|
}
|
|
257
255
|
if (flags.install) {
|
|
256
|
+
shell.exec('bundle update --bundler');
|
|
257
|
+
shell.exec('bundle install');
|
|
258
258
|
const installCmd = shell.test('-f', 'bun.lockb') || shell.test('-f', 'bun.lock')
|
|
259
259
|
? 'bun install'
|
|
260
260
|
: shell.test('-f', 'pnpm-lock.yaml')
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.6.
|
|
1
|
+
{"version":"0.6.71","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","android,ios"]},"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"},"gitReset":{"name":"gitReset","type":"boolean","char":"g","description":"Do git reset when building","allowNo":false},"cleanup":{"name":"cleanup","type":"boolean","char":"s","description":"Do 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},"install":{"name":"install","type":"boolean","char":"n","description":"Install dependencies before 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":"Check match certificates","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder match-check\n Check match 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 check match certificates"}},"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"}]},"reject-review":{"id":"reject-review","description":"Reject current App Store review version (In Review or Pending Developer Release)","pluginName":"rnbuilder","pluginType":"core","aliases":[],"examples":["$ rnbuilder reject-review\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 to reject App Store review version"}},"args":[{"name":"reject-review"}]},"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"}]}}}
|