rnbuilder 0.6.64 → 0.6.66
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 +15 -15
- package/lib/commands/build.js +6 -1
- package/lib/commands/match-check.d.ts +1 -1
- package/lib/commands/match-check.js +9 -8
- 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.66 darwin-arm64 node-v24.13.0
|
|
26
26
|
$ rnbuilder --help [COMMAND]
|
|
27
27
|
USAGE
|
|
28
28
|
$ rnbuilder COMMAND
|
|
@@ -77,7 +77,7 @@ EXAMPLE
|
|
|
77
77
|
hello world from ./src/build.ts!
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
_See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
80
|
+
_See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/build.ts)_
|
|
81
81
|
|
|
82
82
|
## `rnbuilder check-version [MATCH-CHECK]`
|
|
83
83
|
|
|
@@ -96,7 +96,7 @@ EXAMPLE
|
|
|
96
96
|
Nuke certificates ./src/match-check.ts!
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
_See code: [src/commands/check-version.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
99
|
+
_See code: [src/commands/check-version.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/check-version.ts)_
|
|
100
100
|
|
|
101
101
|
## `rnbuilder codepush [BUILD]`
|
|
102
102
|
|
|
@@ -115,7 +115,7 @@ EXAMPLE
|
|
|
115
115
|
Push changes to existing apps ./src/firebase-sync-udids.ts!
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
_See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
118
|
+
_See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/codepush.ts)_
|
|
119
119
|
|
|
120
120
|
## `rnbuilder google-key [MATCH-CHECK]`
|
|
121
121
|
|
|
@@ -134,7 +134,7 @@ EXAMPLE
|
|
|
134
134
|
Nuke certificates ./src/match-check.ts!
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
_See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
137
|
+
_See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/google-key.ts)_
|
|
138
138
|
|
|
139
139
|
## `rnbuilder help [COMMAND]`
|
|
140
140
|
|
|
@@ -166,26 +166,26 @@ EXAMPLE
|
|
|
166
166
|
initialize environment for first run from ./src/initialize.ts!
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
-
_See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
169
|
+
_See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/initialize.ts)_
|
|
170
170
|
|
|
171
171
|
## `rnbuilder match-check [MATCH-CHECK]`
|
|
172
172
|
|
|
173
|
-
|
|
173
|
+
Check match certificates
|
|
174
174
|
|
|
175
175
|
```
|
|
176
176
|
USAGE
|
|
177
177
|
$ rnbuilder match-check [MATCH-CHECK]
|
|
178
178
|
|
|
179
179
|
OPTIONS
|
|
180
|
-
-c, --client=client Select client that you want to
|
|
180
|
+
-c, --client=client Select client that you want to check match certificates
|
|
181
181
|
-h, --help show CLI help
|
|
182
182
|
|
|
183
183
|
EXAMPLE
|
|
184
184
|
$ rnbuilder match-check
|
|
185
|
-
|
|
185
|
+
Check match certificates ./src/match-check.ts!
|
|
186
186
|
```
|
|
187
187
|
|
|
188
|
-
_See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
188
|
+
_See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/match-check.ts)_
|
|
189
189
|
|
|
190
190
|
## `rnbuilder match-nuke [BUILD]`
|
|
191
191
|
|
|
@@ -204,7 +204,7 @@ EXAMPLE
|
|
|
204
204
|
Nuke certificates ./src/match-nuke.ts!
|
|
205
205
|
```
|
|
206
206
|
|
|
207
|
-
_See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
207
|
+
_See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/match-nuke.ts)_
|
|
208
208
|
|
|
209
209
|
## `rnbuilder onesignal [BUILD]`
|
|
210
210
|
|
|
@@ -226,7 +226,7 @@ EXAMPLE
|
|
|
226
226
|
Create and upload push certificate to One Signal from ./src/commands/onesignal.ts!
|
|
227
227
|
```
|
|
228
228
|
|
|
229
|
-
_See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
229
|
+
_See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/onesignal.ts)_
|
|
230
230
|
|
|
231
231
|
## `rnbuilder setup [SETUP]`
|
|
232
232
|
|
|
@@ -244,7 +244,7 @@ EXAMPLE
|
|
|
244
244
|
hello world from ./src/setup.ts!
|
|
245
245
|
```
|
|
246
246
|
|
|
247
|
-
_See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
247
|
+
_See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/setup.ts)_
|
|
248
248
|
|
|
249
249
|
## `rnbuilder submit-review [SUBMIT-REVIEW]`
|
|
250
250
|
|
|
@@ -263,7 +263,7 @@ EXAMPLE
|
|
|
263
263
|
Push changes to existing apps ./src/firebase-sync-udids.ts!
|
|
264
264
|
```
|
|
265
265
|
|
|
266
|
-
_See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
266
|
+
_See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/submit-review.ts)_
|
|
267
267
|
|
|
268
268
|
## `rnbuilder sync-udids [BUILD]`
|
|
269
269
|
|
|
@@ -282,5 +282,5 @@ EXAMPLE
|
|
|
282
282
|
Sync device UDIDs from firebase from ./src/firebase-sync-udids.ts!
|
|
283
283
|
```
|
|
284
284
|
|
|
285
|
-
_See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.
|
|
285
|
+
_See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.66/src/commands/sync-udids.ts)_
|
|
286
286
|
<!-- commandsstop -->
|
package/lib/commands/build.js
CHANGED
|
@@ -253,7 +253,12 @@ class Build extends command_1.Command {
|
|
|
253
253
|
if (flags.cleanup) {
|
|
254
254
|
shell.exec('rm -rf android/.gradle android/build android/app/build android/app/.cxx node_modules');
|
|
255
255
|
}
|
|
256
|
-
shell.
|
|
256
|
+
const installCmd = shell.test('-f', 'bun.lockb') || shell.test('-f', 'bun.lock')
|
|
257
|
+
? 'bun install'
|
|
258
|
+
: shell.test('-f', 'pnpm-lock.yaml')
|
|
259
|
+
? 'pnpm install'
|
|
260
|
+
: 'yarn install';
|
|
261
|
+
shell.exec(installCmd);
|
|
257
262
|
shell.exec('cd android && ./gradlew generateCodegenArtifactsFromSchema');
|
|
258
263
|
if (client) {
|
|
259
264
|
client.forEach((cl) => {
|
|
@@ -5,7 +5,8 @@ const command_1 = require("@oclif/command");
|
|
|
5
5
|
const shell = require("shelljs");
|
|
6
6
|
const common_1 = require("../utils/common");
|
|
7
7
|
const inquirer = require("inquirer");
|
|
8
|
-
|
|
8
|
+
inquirer.registerPrompt('checkbox-plus', require('inquirer-checkbox-plus-prompt'));
|
|
9
|
+
class MatchCheck extends command_1.Command {
|
|
9
10
|
async run() {
|
|
10
11
|
const clients = common_1.getDirectories('./fastlane/clients');
|
|
11
12
|
if (clients.length > 0) {
|
|
@@ -54,18 +55,18 @@ class MatchNuke extends command_1.Command {
|
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
|
-
exports.default =
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
exports.default = MatchCheck;
|
|
59
|
+
MatchCheck.description = 'Check match certificates';
|
|
60
|
+
MatchCheck.examples = [
|
|
60
61
|
`$ rnbuilder match-check
|
|
61
|
-
|
|
62
|
+
Check match certificates ./src/match-check.ts!
|
|
62
63
|
`,
|
|
63
64
|
];
|
|
64
|
-
|
|
65
|
+
MatchCheck.flags = {
|
|
65
66
|
help: command_1.flags.help({ char: 'h' }),
|
|
66
67
|
client: command_1.flags.string({
|
|
67
68
|
char: 'c',
|
|
68
|
-
description: 'Select client that you want to
|
|
69
|
+
description: 'Select client that you want to check match certificates',
|
|
69
70
|
}),
|
|
70
71
|
};
|
|
71
|
-
|
|
72
|
+
MatchCheck.args = [{ name: 'match-check' }];
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.6.
|
|
1
|
+
{"version":"0.6.66","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}},"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"}]},"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"}]}}}
|