jsii-rosetta 1.70.0 → 1.72.0
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/bin/jsii-rosetta.js +14 -13
- package/package.json +9 -9
package/bin/jsii-rosetta.js
CHANGED
|
@@ -56,8 +56,8 @@ function main() {
|
|
|
56
56
|
.command('infuse [ASSEMBLY..]', '(EXPERIMENTAL) mutates one or more assemblies by adding documentation examples to top-level types', (command) => command
|
|
57
57
|
.positional('ASSEMBLY', {
|
|
58
58
|
type: 'string',
|
|
59
|
-
|
|
60
|
-
default:
|
|
59
|
+
array: true,
|
|
60
|
+
default: [],
|
|
61
61
|
describe: 'Assembly or directory to mutate',
|
|
62
62
|
})
|
|
63
63
|
.option('log-file', {
|
|
@@ -114,8 +114,8 @@ function main() {
|
|
|
114
114
|
.command(['extract [ASSEMBLY..]', '$0 [ASSEMBLY..]'], 'Extract code snippets from one or more assemblies into language tablets', (command) => command
|
|
115
115
|
.positional('ASSEMBLY', {
|
|
116
116
|
type: 'string',
|
|
117
|
-
|
|
118
|
-
default:
|
|
117
|
+
array: true,
|
|
118
|
+
default: [],
|
|
119
119
|
describe: 'Assembly or directory to extract from',
|
|
120
120
|
})
|
|
121
121
|
.option('output', {
|
|
@@ -137,9 +137,10 @@ function main() {
|
|
|
137
137
|
})
|
|
138
138
|
.option('include', {
|
|
139
139
|
alias: 'i',
|
|
140
|
-
type: '
|
|
140
|
+
type: 'string',
|
|
141
|
+
array: true,
|
|
141
142
|
describe: 'Extract only snippets with given ids',
|
|
142
|
-
default:
|
|
143
|
+
default: [],
|
|
143
144
|
})
|
|
144
145
|
.option('infuse', {
|
|
145
146
|
type: 'boolean',
|
|
@@ -240,16 +241,16 @@ function main() {
|
|
|
240
241
|
.command('transliterate [ASSEMBLY..]', '(EXPERIMENTAL) Transliterates the designated assemblies', (command) => command
|
|
241
242
|
.positional('ASSEMBLY', {
|
|
242
243
|
type: 'string',
|
|
243
|
-
|
|
244
|
-
default:
|
|
244
|
+
array: true,
|
|
245
|
+
default: [],
|
|
245
246
|
required: true,
|
|
246
247
|
describe: 'Assembly to transliterate',
|
|
247
248
|
})
|
|
248
249
|
.option('language', {
|
|
249
250
|
alias: 'l',
|
|
250
251
|
type: 'string',
|
|
251
|
-
|
|
252
|
-
default:
|
|
252
|
+
array: true,
|
|
253
|
+
default: [],
|
|
253
254
|
describe: 'Language ID to transliterate to',
|
|
254
255
|
})
|
|
255
256
|
.options('strict', {
|
|
@@ -289,8 +290,8 @@ function main() {
|
|
|
289
290
|
})
|
|
290
291
|
.positional('ASSEMBLY', {
|
|
291
292
|
type: 'string',
|
|
292
|
-
|
|
293
|
-
default:
|
|
293
|
+
array: true,
|
|
294
|
+
default: [],
|
|
294
295
|
describe: 'Assembly or directory to search',
|
|
295
296
|
})
|
|
296
297
|
.demandOption('TABLET'), wrapHandler(async (args) => {
|
|
@@ -301,7 +302,7 @@ function main() {
|
|
|
301
302
|
}))
|
|
302
303
|
.command('coverage [ASSEMBLY..]', 'Check the translation coverage of implicit tablets for the given assemblies', (command) => command.positional('ASSEMBLY', {
|
|
303
304
|
type: 'string',
|
|
304
|
-
|
|
305
|
+
array: true,
|
|
305
306
|
default: ['.'],
|
|
306
307
|
describe: 'Assembly or directory to search',
|
|
307
308
|
}), wrapHandler(async (args) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsii-rosetta",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.72.0",
|
|
4
4
|
"description": "Translate TypeScript code snippets to other languages",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"@types/commonmark": "^0.27.5",
|
|
20
20
|
"@types/mock-fs": "^4.13.1",
|
|
21
21
|
"@types/workerpool": "^6.1.0",
|
|
22
|
-
"@types/semver": "^7.3.
|
|
23
|
-
"jsii-build-tools": "1.
|
|
22
|
+
"@types/semver": "^7.3.13",
|
|
23
|
+
"jsii-build-tools": "1.72.0",
|
|
24
24
|
"memory-streams": "^0.1.3",
|
|
25
|
-
"mock-fs": "^5.
|
|
25
|
+
"mock-fs": "^5.2.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@jsii/check-node": "1.
|
|
29
|
-
"@jsii/spec": "1.
|
|
28
|
+
"@jsii/check-node": "1.72.0",
|
|
29
|
+
"@jsii/spec": "1.72.0",
|
|
30
30
|
"commonmark": "^0.30.0",
|
|
31
31
|
"typescript": "~3.9.10",
|
|
32
|
-
"@xmldom/xmldom": "^0.8.
|
|
33
|
-
"workerpool": "^6.
|
|
32
|
+
"@xmldom/xmldom": "^0.8.6",
|
|
33
|
+
"workerpool": "^6.3.1",
|
|
34
34
|
"yargs": "^16.2.0",
|
|
35
35
|
"semver": "^7.3.8",
|
|
36
36
|
"semver-intersect": "^1.4.0",
|
|
37
37
|
"fast-glob": "^3.2.12",
|
|
38
|
-
"jsii": "1.
|
|
38
|
+
"jsii": "1.72.0"
|
|
39
39
|
},
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"author": {
|