@abaplint/transpiler-cli 2.14.27 → 2.14.29
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/build/bundle.js +701 -108
- package/package.json +3 -3
- package/schema.json +104 -97
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.29",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"author": "abaplint",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@abaplint/core": "^2.120.
|
|
31
|
-
"@abaplint/transpiler": "^2.14.
|
|
30
|
+
"@abaplint/core": "^2.120.103",
|
|
31
|
+
"@abaplint/transpiler": "^2.14.29",
|
|
32
32
|
"@types/glob": "^9.0.0",
|
|
33
33
|
"@types/node": "^26.6.6",
|
|
34
34
|
"@types/progress": "^2.0.7",
|
package/schema.json
CHANGED
|
@@ -1,7 +1,105 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$ref": "#/definitions/ITranspilerConfig",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"definitions": {
|
|
4
|
+
"ICLITranspilerOptions": {
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"properties": {
|
|
7
|
+
"addCommonJS": {
|
|
8
|
+
"description": "adds common js modules",
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"addFilenames": {
|
|
12
|
+
"description": "adds filenames as comments in the output js",
|
|
13
|
+
"type": "boolean"
|
|
14
|
+
},
|
|
15
|
+
"ignoreSourceMap": {
|
|
16
|
+
"description": "ignore source map",
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"ignoreSyntaxCheck": {
|
|
20
|
+
"description": "ignore syntax check, used for internal testing",
|
|
21
|
+
"type": "boolean"
|
|
22
|
+
},
|
|
23
|
+
"importProg": {
|
|
24
|
+
"description": "import programs",
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
},
|
|
27
|
+
"keywords": {
|
|
28
|
+
"description": "list of keywords to rename, if not supplied default will be used",
|
|
29
|
+
"items": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"type": "array"
|
|
33
|
+
},
|
|
34
|
+
"populateTables": {
|
|
35
|
+
"additionalProperties": false,
|
|
36
|
+
"description": "populate tables, all tables are populated if undefined and they exist",
|
|
37
|
+
"properties": {
|
|
38
|
+
"reposrc": {
|
|
39
|
+
"description": "insert into REPOSRC, skips if equals false",
|
|
40
|
+
"type": "boolean"
|
|
41
|
+
},
|
|
42
|
+
"seosubco": {
|
|
43
|
+
"description": "insert into SEOSUBCO, skips if equals false",
|
|
44
|
+
"type": "boolean"
|
|
45
|
+
},
|
|
46
|
+
"seosubcodf": {
|
|
47
|
+
"description": "insert into SEOSUBCODF, skips if equals false",
|
|
48
|
+
"type": "boolean"
|
|
49
|
+
},
|
|
50
|
+
"seosubcotx": {
|
|
51
|
+
"description": "insert into SEOSUBCOTX, skips if equals false",
|
|
52
|
+
"type": "boolean"
|
|
53
|
+
},
|
|
54
|
+
"tadir": {
|
|
55
|
+
"description": "insert into TADIR, skips if equals false",
|
|
56
|
+
"type": "boolean"
|
|
57
|
+
},
|
|
58
|
+
"wwwparams": {
|
|
59
|
+
"description": "insert into WWWPARAMS, skips if equals false",
|
|
60
|
+
"type": "boolean"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"type": "object"
|
|
64
|
+
},
|
|
65
|
+
"setup": {
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"description": "extra setup script to be executed during initialization",
|
|
68
|
+
"properties": {
|
|
69
|
+
"filename": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
"postFunction": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"preFunction": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"filename"
|
|
81
|
+
],
|
|
82
|
+
"type": "object"
|
|
83
|
+
},
|
|
84
|
+
"sharedTypeFactories": {
|
|
85
|
+
"description": "Deduplicate generated composite type constructors within each output module (default: true).",
|
|
86
|
+
"type": "boolean"
|
|
87
|
+
},
|
|
88
|
+
"skip": {
|
|
89
|
+
"$ref": "#/definitions/TestMethodList",
|
|
90
|
+
"description": "list of unit tests to skip"
|
|
91
|
+
},
|
|
92
|
+
"skipVersionCheck": {
|
|
93
|
+
"description": "skips version check, not recommended",
|
|
94
|
+
"type": "boolean"
|
|
95
|
+
},
|
|
96
|
+
"unknownTypes": {
|
|
97
|
+
"$ref": "#/definitions/UnknownTypesEnum",
|
|
98
|
+
"description": "sets behavior for unknown types, either fail at compile- or run-time"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"type": "object"
|
|
102
|
+
},
|
|
5
103
|
"ITranspilerConfig": {
|
|
6
104
|
"additionalProperties": false,
|
|
7
105
|
"properties": {
|
|
@@ -110,6 +208,10 @@
|
|
|
110
208
|
"minLength": 1,
|
|
111
209
|
"type": "string"
|
|
112
210
|
},
|
|
211
|
+
"ref": {
|
|
212
|
+
"description": "commit SHA, tag or branch to check out from url; defaults to the default branch",
|
|
213
|
+
"type": "string"
|
|
214
|
+
},
|
|
113
215
|
"url": {
|
|
114
216
|
"type": "string"
|
|
115
217
|
}
|
|
@@ -119,7 +221,7 @@
|
|
|
119
221
|
"type": "array"
|
|
120
222
|
},
|
|
121
223
|
"options": {
|
|
122
|
-
"$ref": "#/definitions/
|
|
224
|
+
"$ref": "#/definitions/ICLITranspilerOptions"
|
|
123
225
|
},
|
|
124
226
|
"output_folder": {
|
|
125
227
|
"minLength": 1,
|
|
@@ -143,101 +245,6 @@
|
|
|
143
245
|
],
|
|
144
246
|
"type": "object"
|
|
145
247
|
},
|
|
146
|
-
"ITranspilerOptions": {
|
|
147
|
-
"additionalProperties": false,
|
|
148
|
-
"properties": {
|
|
149
|
-
"addCommonJS": {
|
|
150
|
-
"description": "adds common js modules",
|
|
151
|
-
"type": "boolean"
|
|
152
|
-
},
|
|
153
|
-
"addFilenames": {
|
|
154
|
-
"description": "adds filenames as comments in the output js",
|
|
155
|
-
"type": "boolean"
|
|
156
|
-
},
|
|
157
|
-
"ignoreSourceMap": {
|
|
158
|
-
"description": "ignore source map",
|
|
159
|
-
"type": "boolean"
|
|
160
|
-
},
|
|
161
|
-
"ignoreSyntaxCheck": {
|
|
162
|
-
"description": "ignore syntax check, used for internal testing",
|
|
163
|
-
"type": "boolean"
|
|
164
|
-
},
|
|
165
|
-
"importProg": {
|
|
166
|
-
"description": "import programs",
|
|
167
|
-
"type": "boolean"
|
|
168
|
-
},
|
|
169
|
-
"keywords": {
|
|
170
|
-
"description": "list of keywords to rename, if not supplied default will be used",
|
|
171
|
-
"items": {
|
|
172
|
-
"type": "string"
|
|
173
|
-
},
|
|
174
|
-
"type": "array"
|
|
175
|
-
},
|
|
176
|
-
"populateTables": {
|
|
177
|
-
"additionalProperties": false,
|
|
178
|
-
"description": "populate tables, all tables are populated if undefined and they exist",
|
|
179
|
-
"properties": {
|
|
180
|
-
"reposrc": {
|
|
181
|
-
"description": "insert into REPOSRC, skips if equals false",
|
|
182
|
-
"type": "boolean"
|
|
183
|
-
},
|
|
184
|
-
"seosubco": {
|
|
185
|
-
"description": "insert into SEOSUBCO, skips if equals false",
|
|
186
|
-
"type": "boolean"
|
|
187
|
-
},
|
|
188
|
-
"seosubcodf": {
|
|
189
|
-
"description": "insert into SEOSUBCODF, skips if equals false",
|
|
190
|
-
"type": "boolean"
|
|
191
|
-
},
|
|
192
|
-
"seosubcotx": {
|
|
193
|
-
"description": "insert into SEOSUBCOTX, skips if equals false",
|
|
194
|
-
"type": "boolean"
|
|
195
|
-
},
|
|
196
|
-
"tadir": {
|
|
197
|
-
"description": "insert into TADIR, skips if equals false",
|
|
198
|
-
"type": "boolean"
|
|
199
|
-
},
|
|
200
|
-
"wwwparams": {
|
|
201
|
-
"description": "insert into WWWPARAMS, skips if equals false",
|
|
202
|
-
"type": "boolean"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"type": "object"
|
|
206
|
-
},
|
|
207
|
-
"setup": {
|
|
208
|
-
"additionalProperties": false,
|
|
209
|
-
"description": "extra setup script to be executed during initialization",
|
|
210
|
-
"properties": {
|
|
211
|
-
"filename": {
|
|
212
|
-
"type": "string"
|
|
213
|
-
},
|
|
214
|
-
"postFunction": {
|
|
215
|
-
"type": "string"
|
|
216
|
-
},
|
|
217
|
-
"preFunction": {
|
|
218
|
-
"type": "string"
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
"required": [
|
|
222
|
-
"filename"
|
|
223
|
-
],
|
|
224
|
-
"type": "object"
|
|
225
|
-
},
|
|
226
|
-
"skip": {
|
|
227
|
-
"$ref": "#/definitions/TestMethodList",
|
|
228
|
-
"description": "list of unit tests to skip"
|
|
229
|
-
},
|
|
230
|
-
"skipVersionCheck": {
|
|
231
|
-
"description": "skips version check, not recommended",
|
|
232
|
-
"type": "boolean"
|
|
233
|
-
},
|
|
234
|
-
"unknownTypes": {
|
|
235
|
-
"$ref": "#/definitions/UnknownTypesEnum",
|
|
236
|
-
"description": "sets behavior for unknown types, either fail at compile- or run-time"
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
"type": "object"
|
|
240
|
-
},
|
|
241
248
|
"TestMethodList": {
|
|
242
249
|
"items": {
|
|
243
250
|
"additionalProperties": false,
|