@react-native/codegen 0.77.0-nightly-20241008-40a4feb68 → 0.77.0-nightly-20241009-e4814b0d6
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.
|
@@ -59,11 +59,17 @@ const _require = require('./combine-js-to-schema'),
|
|
|
59
59
|
_require.combineSchemasInFileListAndWriteToFile;
|
|
60
60
|
const yargs = require('yargs');
|
|
61
61
|
const argv = yargs
|
|
62
|
+
.usage('Usage: $0 <outfile> <file1> [<file2> ...]')
|
|
62
63
|
.option('p', {
|
|
64
|
+
describe:
|
|
65
|
+
'Platforms to generate schema for, this works on filenames: <filename>[.<platform>].(js|tsx?)',
|
|
63
66
|
alias: 'platform',
|
|
67
|
+
default: null,
|
|
64
68
|
})
|
|
65
69
|
.option('e', {
|
|
70
|
+
describe: 'Regular expression to exclude files from schema generation',
|
|
66
71
|
alias: 'exclude',
|
|
72
|
+
default: null,
|
|
67
73
|
})
|
|
68
74
|
.parseSync();
|
|
69
75
|
const _argv$_ = _toArray(argv._),
|
|
@@ -17,11 +17,17 @@ const {
|
|
|
17
17
|
const yargs = require('yargs');
|
|
18
18
|
|
|
19
19
|
const argv = yargs
|
|
20
|
+
.usage('Usage: $0 <outfile> <file1> [<file2> ...]')
|
|
20
21
|
.option('p', {
|
|
22
|
+
describe:
|
|
23
|
+
'Platforms to generate schema for, this works on filenames: <filename>[.<platform>].(js|tsx?)',
|
|
21
24
|
alias: 'platform',
|
|
25
|
+
default: null,
|
|
22
26
|
})
|
|
23
27
|
.option('e', {
|
|
28
|
+
describe: 'Regular expression to exclude files from schema generation',
|
|
24
29
|
alias: 'exclude',
|
|
30
|
+
default: null,
|
|
25
31
|
})
|
|
26
32
|
.parseSync();
|
|
27
33
|
|