rnbuilder 0.6.17 → 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 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.17 darwin-arm64 node-v18.18.0
23
+ rnbuilder/0.6.19 darwin-arm64 node-v18.18.0
24
24
  $ rnbuilder --help [COMMAND]
25
25
  USAGE
26
26
  $ rnbuilder COMMAND
@@ -30,6 +30,7 @@ USAGE
30
30
  # Commands
31
31
  <!-- commands -->
32
32
  * [`rnbuilder build [BUILD]`](#rnbuilder-build-build)
33
+ * [`rnbuilder check-version [MATCH-CHECK]`](#rnbuilder-check-version-match-check)
33
34
  * [`rnbuilder codepush [BUILD]`](#rnbuilder-codepush-build)
34
35
  * [`rnbuilder google-key [MATCH-CHECK]`](#rnbuilder-google-key-match-check)
35
36
  * [`rnbuilder help [COMMAND]`](#rnbuilder-help-command)
@@ -50,22 +51,44 @@ USAGE
50
51
  $ rnbuilder build [BUILD]
51
52
 
52
53
  OPTIONS
53
- -b, --branch=branch Set the source branch used to build the app
54
- -c, --client=client Set client that you want to build app
55
- -e, --env=staging|adhoc|prod Set the environment: prod, adhoc, staging
56
- -g, --ignore_git_reset Ignore git reset when building
57
- -h, --help show CLI help
58
- -i, --installr=installr If enabled, the build will be uploaded to installR
59
- -s, --ignore_cleanup Ignore cleanup when building
60
- -t, --target=android|ios Set the build target: android, ios or both
61
- -v, --version=version Set the version number for this build
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
62
66
 
63
67
  EXAMPLE
64
68
  $ rnbuilder build
65
69
  hello world from ./src/build.ts!
66
70
  ```
67
71
 
68
- _See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/build.ts)_
72
+ _See code: [src/commands/build.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/build.ts)_
73
+
74
+ ## `rnbuilder check-version [MATCH-CHECK]`
75
+
76
+ Check live versions
77
+
78
+ ```
79
+ USAGE
80
+ $ rnbuilder check-version [MATCH-CHECK]
81
+
82
+ OPTIONS
83
+ -c, --client=client Select client that you want to sync udids
84
+ -h, --help show CLI help
85
+
86
+ EXAMPLE
87
+ $ rnbuilder check-version
88
+ Nuke certificates ./src/match-check.ts!
89
+ ```
90
+
91
+ _See code: [src/commands/check-version.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/check-version.ts)_
69
92
 
70
93
  ## `rnbuilder codepush [BUILD]`
71
94
 
@@ -84,7 +107,7 @@ EXAMPLE
84
107
  Push changes to existing apps ./src/firebase-sync-udids.ts!
85
108
  ```
86
109
 
87
- _See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/codepush.ts)_
110
+ _See code: [src/commands/codepush.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/codepush.ts)_
88
111
 
89
112
  ## `rnbuilder google-key [MATCH-CHECK]`
90
113
 
@@ -103,7 +126,7 @@ EXAMPLE
103
126
  Nuke certificates ./src/match-check.ts!
104
127
  ```
105
128
 
106
- _See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/google-key.ts)_
129
+ _See code: [src/commands/google-key.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/google-key.ts)_
107
130
 
108
131
  ## `rnbuilder help [COMMAND]`
109
132
 
@@ -135,7 +158,7 @@ EXAMPLE
135
158
  initialize environment for first run from ./src/initialize.ts!
136
159
  ```
137
160
 
138
- _See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/initialize.ts)_
161
+ _See code: [src/commands/initialize.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/initialize.ts)_
139
162
 
140
163
  ## `rnbuilder match-check [MATCH-CHECK]`
141
164
 
@@ -154,7 +177,7 @@ EXAMPLE
154
177
  Nuke certificates ./src/match-check.ts!
155
178
  ```
156
179
 
157
- _See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/match-check.ts)_
180
+ _See code: [src/commands/match-check.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/match-check.ts)_
158
181
 
159
182
  ## `rnbuilder match-nuke [BUILD]`
160
183
 
@@ -173,7 +196,7 @@ EXAMPLE
173
196
  Nuke certificates ./src/match-nuke.ts!
174
197
  ```
175
198
 
176
- _See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/match-nuke.ts)_
199
+ _See code: [src/commands/match-nuke.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/match-nuke.ts)_
177
200
 
178
201
  ## `rnbuilder onesignal [BUILD]`
179
202
 
@@ -195,7 +218,7 @@ EXAMPLE
195
218
  Create and upload push certificate to One Signal from ./src/commands/onesignal.ts!
196
219
  ```
197
220
 
198
- _See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/onesignal.ts)_
221
+ _See code: [src/commands/onesignal.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/onesignal.ts)_
199
222
 
200
223
  ## `rnbuilder setup [SETUP]`
201
224
 
@@ -213,7 +236,7 @@ EXAMPLE
213
236
  hello world from ./src/setup.ts!
214
237
  ```
215
238
 
216
- _See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/setup.ts)_
239
+ _See code: [src/commands/setup.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/setup.ts)_
217
240
 
218
241
  ## `rnbuilder submit-review [SUBMIT-REVIEW]`
219
242
 
@@ -232,7 +255,7 @@ EXAMPLE
232
255
  Push changes to existing apps ./src/firebase-sync-udids.ts!
233
256
  ```
234
257
 
235
- _See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/submit-review.ts)_
258
+ _See code: [src/commands/submit-review.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/submit-review.ts)_
236
259
 
237
260
  ## `rnbuilder sync-udids [BUILD]`
238
261
 
@@ -251,5 +274,5 @@ EXAMPLE
251
274
  Sync device UDIDs from firebase from ./src/firebase-sync-udids.ts!
252
275
  ```
253
276
 
254
- _See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.17/src/commands/sync-udids.ts)_
277
+ _See code: [src/commands/sync-udids.ts](https://github.com/r0b0t3d/rnbuilder/blob/v0.6.19/src/commands/sync-udids.ts)_
255
278
  <!-- commandsstop -->
@@ -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
  };
@@ -17,7 +20,6 @@ export default class Build extends Command {
17
20
  name: string;
18
21
  }[];
19
22
  askForMissingFields: (flags: any) => Promise<any>;
20
- getJsonFile(env: string): string;
21
23
  runPlatforms(target: string[], parameters: any, otherParams: any): void;
22
24
  run(): Promise<void>;
23
25
  }
@@ -209,14 +209,6 @@ class Build extends command_1.Command {
209
209
  return result;
210
210
  };
211
211
  }
212
- getJsonFile(env) {
213
- let fileName = 'app';
214
- if (env !== 'prod') {
215
- fileName = `${fileName}.${env}`;
216
- }
217
- const file = process.cwd() + `/${fileName}.json`;
218
- return file;
219
- }
220
212
  runPlatforms(target, parameters, otherParams) {
221
213
  target.forEach((t) => {
222
214
  const cmd = `bundle exec fastlane ${t} build ${parameters.join(' ')} --env ${otherParams.env}`;
@@ -228,7 +220,7 @@ class Build extends command_1.Command {
228
220
  const { flags } = this.parse(Build);
229
221
  const params = await this.askForMissingFields(flags);
230
222
  const { client, target } = params, otherParams = tslib_1.__rest(params, ["client", "target"]);
231
- const jsonFile = this.getJsonFile(otherParams.env);
223
+ const jsonFile = common_1.getJsonFile(otherParams.env);
232
224
  const parameters = common_1.buildKeyValuePairs(Object.assign(Object.assign({}, otherParams), { json_file: jsonFile }));
233
225
  if (!flags.ignore_git_reset) {
234
226
  shell.exec(`git reset --hard && git checkout ${params.branch} && git pull`);
@@ -303,6 +295,18 @@ Build.flags = {
303
295
  char: 'i',
304
296
  description: 'If enabled, the build will be uploaded to installR',
305
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
+ }),
306
310
  ignore_git_reset: command_1.flags.boolean({
307
311
  char: 'g',
308
312
  description: 'Ignore git reset when building',
@@ -0,0 +1,13 @@
1
+ import { Command, flags } from '@oclif/command';
2
+ export default class MatchNuke extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static flags: {
6
+ help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
7
+ client: flags.IOptionFlag<string | undefined>;
8
+ };
9
+ static args: {
10
+ name: string;
11
+ }[];
12
+ run(): Promise<void>;
13
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /* eslint-disable no-negated-condition */
4
+ const command_1 = require("@oclif/command");
5
+ const shell = require("shelljs");
6
+ const common_1 = require("../utils/common");
7
+ class MatchNuke extends command_1.Command {
8
+ async run() {
9
+ const clients = common_1.getDirectories('./fastlane/clients');
10
+ const jsonFile = common_1.getJsonFile('prod');
11
+ const parameters = common_1.buildKeyValuePairs({
12
+ json_file: jsonFile,
13
+ });
14
+ clients.forEach(client => {
15
+ const envPath = `fastlane/clients/${client}/fastlane`;
16
+ shell.cd(envPath);
17
+ shell.exec(`bundle exec fastlane check_version ${parameters.join(' ')}`);
18
+ shell.cd('../../../../');
19
+ shell.exec('pwd');
20
+ });
21
+ }
22
+ }
23
+ exports.default = MatchNuke;
24
+ MatchNuke.description = 'Check live versions';
25
+ MatchNuke.examples = [
26
+ `$ rnbuilder check-version
27
+ Nuke certificates ./src/match-check.ts!
28
+ `,
29
+ ];
30
+ MatchNuke.flags = {
31
+ help: command_1.flags.help({ char: 'h' }),
32
+ client: command_1.flags.string({
33
+ char: 'c',
34
+ description: 'Select client that you want to sync udids',
35
+ }),
36
+ };
37
+ MatchNuke.args = [{ name: 'match-check' }];
@@ -1,6 +1,7 @@
1
1
  export declare const buildKeyValuePairs: (params: any) => string[];
2
2
  export declare const getDirectories: (path: string) => string[];
3
3
  export declare const getFastlaneConfigs: () => any;
4
+ export declare const getJsonFile: (env: string) => string;
4
5
  export declare const getAppVersion: (env: string, client?: string | undefined, target?: string) => {
5
6
  version: string;
6
7
  build: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.capitalize = exports.normalise = exports.checkFileExists = exports.copyFile = exports.exists = exports.ensureDir = exports.copyDir = exports.getAppVersion = exports.getFastlaneConfigs = exports.getDirectories = exports.buildKeyValuePairs = void 0;
3
+ exports.capitalize = exports.normalise = exports.checkFileExists = exports.copyFile = exports.exists = exports.ensureDir = exports.copyDir = exports.getAppVersion = exports.getJsonFile = exports.getFastlaneConfigs = exports.getDirectories = exports.buildKeyValuePairs = void 0;
4
4
  const fs = require("fs");
5
5
  exports.buildKeyValuePairs = (params) => Object.keys(params).map(key => `${key}:${params[key]}`);
6
6
  exports.getDirectories = (path) => {
@@ -20,6 +20,14 @@ exports.getFastlaneConfigs = () => {
20
20
  }
21
21
  return {};
22
22
  };
23
+ exports.getJsonFile = (env) => {
24
+ let fileName = 'app';
25
+ if (env !== 'prod') {
26
+ fileName = `${fileName}.${env}`;
27
+ }
28
+ const file = process.cwd() + `/${fileName}.json`;
29
+ return file;
30
+ };
23
31
  const defaultVersion = {
24
32
  version: '0.0.1',
25
33
  build: 1,
@@ -1 +1 @@
1
- {"version":"0.6.17","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"},"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"}]},"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"}]}}}
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"}]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rnbuilder",
3
3
  "description": "React Native builder tool",
4
- "version": "0.6.17",
4
+ "version": "0.6.19",
5
5
  "author": "Tuan Luong @r0b0t3d",
6
6
  "bin": {
7
7
  "rnbuilder": "./bin/run"