@fgv/ts-res-cli 5.0.0-9 → 5.0.1-1

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/src/compiler.ts DELETED
@@ -1,545 +0,0 @@
1
- /*
2
- * Copyright (c) 2025 Erik Fortune
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- * SOFTWARE.
21
- */
22
-
23
- import { Result, succeed, fail, FileTree } from '@fgv/ts-utils';
24
- import { JsonObject } from '@fgv/ts-json-base';
25
- import * as TsRes from '@fgv/ts-res';
26
- import { ICompileOptions } from './options';
27
- import { DEFAULT_SYSTEM_CONFIGURATION } from './defaultConfiguration';
28
- import { promises as fs } from 'fs';
29
- import * as path from 'path';
30
-
31
- /**
32
- * Information about compiled resources
33
- */
34
- export interface IResourceInfo {
35
- totalResources: number;
36
- totalCandidates: number;
37
- filteredResources: number;
38
- filteredCandidates: number;
39
- resourceTypes: string[];
40
- qualifiers: string[];
41
- context?: JsonObject;
42
- }
43
-
44
- export interface IFilteredManager {
45
- original: TsRes.Resources.ResourceManagerBuilder;
46
- manager: TsRes.Resources.ResourceManagerBuilder;
47
- context?: JsonObject;
48
- }
49
-
50
- /**
51
- * Compiled resource blob
52
- */
53
- export interface IResourceBlob {
54
- resources?: TsRes.ResourceJson.Json.IResourceCollectionDecl;
55
- compiledCollection?: TsRes.ResourceJson.Compiled.ICompiledResourceCollection;
56
- bundle?: TsRes.Bundle.IBundle;
57
- metadata?: IResourceInfo;
58
- }
59
-
60
- /**
61
- * Main resource compiler class
62
- */
63
- export class ResourceCompiler {
64
- private readonly _options: ICompileOptions;
65
- private _systemConfiguration?: TsRes.Config.Model.ISystemConfiguration;
66
-
67
- public constructor(options: ICompileOptions) {
68
- this._options = options;
69
- }
70
-
71
- /**
72
- * Compiles resources according to the configured options
73
- */
74
- public async compile(): Promise<Result<IResourceBlob>> {
75
- try {
76
- if (this._options.debug) {
77
- console.error('Starting resource compilation...');
78
- console.error('Options:', JSON.stringify(this._options, null, 2));
79
- }
80
-
81
- // Load and validate configuration
82
- const config = (await this._loadConfiguration()).orThrow(
83
- (err) => `Failed to load configuration: ${err}`
84
- );
85
-
86
- if (this._options.debug) {
87
- console.error('Configuration loaded successfully');
88
- }
89
-
90
- // Load resources from input
91
- const original = (await this._loadResources(config)).orThrow(
92
- (err) => `Failed to load resources: ${err}`
93
- );
94
-
95
- if (this._options.verbose) {
96
- console.error(`Loaded ${original.numResources} resources with ${original.numCandidates} candidates`);
97
- }
98
-
99
- // Apply context filtering if specified
100
- const filtered = this._applyFilters(original).orThrow(
101
- (err) => `Failed to apply context filtering: ${err}`
102
- );
103
-
104
- if (this._options.verbose && filtered.manager !== filtered.original) {
105
- console.error(
106
- `After context filtering: ${filtered.manager.numResources} resources, ${filtered.manager.numCandidates} candidates`
107
- );
108
- }
109
-
110
- // Generate output blob
111
- const blob = (await this._generateBlob(filtered)).orThrow(
112
- (err) => `Failed to generate output blob: ${err}`
113
- );
114
-
115
- if (this._options.debug) {
116
- console.error(`Generated ${this._options.format} format output blob`);
117
- }
118
-
119
- // Write output
120
- (await this._writeOutput(blob)).orThrow((err) => `Failed to write output: ${err}`);
121
-
122
- if (this._options.debug) {
123
- console.error(`Output written to: ${this._options.output}`);
124
- }
125
-
126
- return succeed(blob);
127
- } catch (error) {
128
- return fail(`Compilation failed: ${error}`);
129
- }
130
- }
131
-
132
- /**
133
- * Validates resources without compilation
134
- */
135
- public async validate(): Promise<Result<TsRes.Resources.ResourceManagerBuilder>> {
136
- try {
137
- // Load and validate configuration
138
- const config = (await this._loadConfiguration()).orThrow(
139
- (err) => `Failed to load configuration: ${err}`
140
- );
141
-
142
- const manager = (await this._loadResources(config)).orThrow(
143
- (err) => `Failed to load resources: ${err}`
144
- );
145
-
146
- const filtered = this._applyFilters(manager).orThrow(
147
- (err) => `Failed to apply context filtering: ${err}`
148
- );
149
-
150
- // Build all resources to trigger validation
151
- return filtered.manager.build().onSuccess((manager) => {
152
- if (this._options.verbose) {
153
- console.error(
154
- `Resource validation successful with ${manager.numResources} resources and ${manager.numCandidates} candidates`
155
- );
156
- }
157
- return succeed(manager);
158
- });
159
- } catch (error) {
160
- return fail(`Validation failed: ${error}`);
161
- }
162
- }
163
-
164
- /**
165
- * Gets information about the resources
166
- */
167
- public async getInfo(): Promise<Result<IResourceInfo>> {
168
- try {
169
- // Load and validate configuration
170
- const config = (await this._loadConfiguration()).orThrow(
171
- (err) => `Failed to load configuration: ${err}`
172
- );
173
-
174
- const manager = (await this._loadResources(config)).orThrow(
175
- (err) => `Failed to load resources: ${err}`
176
- );
177
-
178
- const filtered = this._applyFilters(manager).orThrow(
179
- (err) => `Failed to apply context filtering: ${err}`
180
- );
181
-
182
- return succeed(this._generateResourceInfo(filtered));
183
- } catch (error) {
184
- return fail(`Failed to get resource info: ${error}`);
185
- }
186
- }
187
-
188
- /**
189
- * Loads and validates the system configuration
190
- */
191
- private async _loadConfiguration(): Promise<Result<TsRes.Config.Model.ISystemConfiguration>> {
192
- try {
193
- if (this._options.config) {
194
- // Check if it's a predefined configuration name
195
- const predefinedNames: TsRes.Config.PredefinedSystemConfiguration[] = [
196
- 'default',
197
- 'language-priority',
198
- 'territory-priority',
199
- 'extended-example'
200
- ];
201
- if (predefinedNames.includes(this._options.config as TsRes.Config.PredefinedSystemConfiguration)) {
202
- const predefinedResult = TsRes.Config.getPredefinedDeclaration(
203
- this._options.config as TsRes.Config.PredefinedSystemConfiguration
204
- );
205
- if (predefinedResult.isSuccess()) {
206
- this._systemConfiguration = predefinedResult.value;
207
- if (this._options.verbose) {
208
- console.error(`Using predefined configuration: ${this._systemConfiguration.name}`);
209
- }
210
- return succeed(this._systemConfiguration);
211
- }
212
- }
213
-
214
- // If not a predefined config, try to load as file path
215
- try {
216
- const configPath = path.resolve(this._options.config);
217
- if (this._options.debug) {
218
- console.error(`Loading configuration from: ${configPath}`);
219
- }
220
- const configContent = await fs.readFile(configPath, 'utf-8');
221
- const configData = JSON.parse(configContent);
222
-
223
- // Validate the configuration using ts-res converter
224
- const configResult = TsRes.Config.Convert.systemConfiguration.convert(configData);
225
- if (configResult.isFailure()) {
226
- return fail(`Invalid configuration file: ${configResult.message}`);
227
- }
228
-
229
- this._systemConfiguration = configResult.value;
230
- if (this._options.verbose) {
231
- console.error(`Using custom configuration: ${this._systemConfiguration.name}`);
232
- }
233
- } catch (fileError) {
234
- return fail(
235
- `Configuration '${this._options.config}' is not a predefined configuration name and failed to load as file: ${fileError}`
236
- );
237
- }
238
- } else {
239
- // Use default predefined configuration
240
- const defaultResult = TsRes.Config.getPredefinedDeclaration('default');
241
- if (defaultResult.isSuccess()) {
242
- this._systemConfiguration = defaultResult.value;
243
- } else {
244
- // Fallback to hardcoded default if predefined default is not available
245
- this._systemConfiguration = DEFAULT_SYSTEM_CONFIGURATION;
246
- }
247
- if (this._options.verbose) {
248
- console.error(`Using default configuration: ${this._systemConfiguration.name}`);
249
- }
250
- }
251
-
252
- return succeed(this._systemConfiguration);
253
- } catch (error) {
254
- return fail(`Failed to load configuration: ${error}`);
255
- }
256
- }
257
-
258
- /**
259
- * Loads resources from the input path using the configured system
260
- */
261
- private async _loadResources(
262
- config: TsRes.Config.Model.ISystemConfiguration
263
- ): Promise<Result<TsRes.Resources.ResourceManagerBuilder>> {
264
- try {
265
- if (!this._systemConfiguration) {
266
- return fail('System configuration not loaded');
267
- }
268
-
269
- // Parse qualifier defaults if provided
270
- let qualifierDefaultValues: Record<string, string | null> | undefined;
271
- if (this._options.qualifierDefaults) {
272
- // We need to create a temporary system configuration first to parse defaults
273
- const tempSystemConfigResult = TsRes.Config.SystemConfiguration.create(this._systemConfiguration);
274
- if (tempSystemConfigResult.isFailure()) {
275
- return fail(`Failed to create temporary system configuration: ${tempSystemConfigResult.message}`);
276
- }
277
-
278
- const tokens = new TsRes.Qualifiers.QualifierDefaultValueTokens(
279
- tempSystemConfigResult.value.qualifiers
280
- );
281
- const defaultsResult = tokens.qualifierDefaultValuesTokenToDecl(this._options.qualifierDefaults);
282
- if (defaultsResult.isFailure()) {
283
- return fail(`Failed to parse qualifier defaults: ${defaultsResult.message}`);
284
- }
285
-
286
- qualifierDefaultValues = defaultsResult.value;
287
- }
288
-
289
- // Create system configuration and ts-res system
290
- const systemConfigResult = TsRes.Config.SystemConfiguration.create(
291
- this._systemConfiguration,
292
- qualifierDefaultValues ? { qualifierDefaultValues } : undefined
293
- );
294
- if (systemConfigResult.isFailure()) {
295
- return fail(`Failed to create system configuration: ${systemConfigResult.message}`);
296
- }
297
-
298
- const systemConfig = systemConfigResult.value;
299
-
300
- // Create resource manager from system configuration
301
- const manager = TsRes.Resources.ResourceManagerBuilder.create({
302
- qualifiers: systemConfig.qualifiers,
303
- resourceTypes: systemConfig.resourceTypes
304
- });
305
-
306
- if (manager.isFailure()) {
307
- return fail(`Failed to create resource manager: ${manager.message}`);
308
- }
309
-
310
- // Load resources from input path
311
- const importResult = await this._importResources(manager.value);
312
- if (importResult.isFailure()) {
313
- return fail(`Failed to import resources: ${importResult.message}`);
314
- }
315
-
316
- return succeed(manager.value);
317
- } catch (error) {
318
- return fail(`Failed to load resources: ${error}`);
319
- }
320
- }
321
-
322
- /**
323
- * Imports resources from the input path using ImportManager
324
- */
325
- private async _importResources(manager: TsRes.Resources.ResourceManagerBuilder): Promise<Result<void>> {
326
- try {
327
- const inputPath = path.resolve(this._options.input);
328
-
329
- // Create FileTree for file system operations
330
- const fileTree = FileTree.forFilesystem();
331
- if (fileTree.isFailure()) {
332
- return fail(`Failed to create file tree: ${fileTree.message}`);
333
- }
334
-
335
- // Create ImportManager with the resource manager and file tree
336
- const importManager = TsRes.Import.ImportManager.create({
337
- resources: manager,
338
- fileTree: fileTree.value
339
- });
340
-
341
- if (importManager.isFailure()) {
342
- return fail(`Failed to create import manager: ${importManager.message}`);
343
- }
344
-
345
- // Use ImportManager to handle both files and directories automatically
346
- if (this._options.debug) {
347
- console.error(`Importing resources from: ${inputPath}`);
348
- }
349
- const importResult = importManager.value.importFromFileSystem(inputPath);
350
- if (importResult.isFailure()) {
351
- return fail(`Failed to import from ${inputPath}: ${importResult.message}`);
352
- }
353
-
354
- if (this._options.verbose) {
355
- console.error(`Successfully imported resources from: ${inputPath}`);
356
- }
357
-
358
- return succeed(undefined);
359
- } catch (error) {
360
- return fail(`Failed to import resources: ${error}`);
361
- }
362
- }
363
-
364
- /**
365
- * Applies filters to imported resources
366
- */
367
- private _applyFilters(original: TsRes.Resources.ResourceManagerBuilder): Result<IFilteredManager> {
368
- if (this._options.contextFilter) {
369
- const tokens = new TsRes.Context.ContextTokens(original.qualifiers);
370
- return tokens.contextTokenToPartialContext(this._options.contextFilter).onSuccess((context) => {
371
- return original
372
- .clone({
373
- filterForContext: context,
374
- reduceQualifiers: this._options.reduceQualifiers
375
- })
376
- .onSuccess((manager) => {
377
- return succeed({ original, manager, context });
378
- });
379
- });
380
- }
381
- return succeed({ original, manager: original });
382
- }
383
-
384
- /**
385
- * Generates the output blob
386
- */
387
- private async _generateBlob(filtered: IFilteredManager): Promise<Result<IResourceBlob>> {
388
- try {
389
- if (this._options.format === 'compiled') {
390
- return this._generateCompiledBlob(filtered);
391
- } else if (this._options.format === 'bundle') {
392
- return this._generateBundleBlob(filtered);
393
- } else {
394
- return this._generateSourceBlob(filtered);
395
- }
396
- } catch (error) {
397
- return fail(`Failed to generate blob: ${error}`);
398
- }
399
- }
400
-
401
- /**
402
- * Generates a compiled resource collection blob
403
- */
404
- private _generateCompiledBlob(filtered: IFilteredManager): Result<IResourceBlob> {
405
- // Build all resources to ensure they're ready for compilation
406
- return filtered.manager.getCompiledResourceCollection().onSuccess((compiled) => {
407
- const blob: IResourceBlob = {
408
- compiledCollection: compiled
409
- };
410
-
411
- if (this._options.includeMetadata) {
412
- blob.metadata = this._generateResourceInfo(filtered);
413
- }
414
- return succeed(blob);
415
- });
416
- }
417
-
418
- /**
419
- * Generates a source format blob (legacy format)
420
- */
421
- private _generateSourceBlob(filtered: IFilteredManager): Result<IResourceBlob> {
422
- return filtered.manager.getResourceCollectionDecl().onSuccess((resources) => {
423
- const blob: IResourceBlob = { resources };
424
-
425
- if (this._options.includeMetadata) {
426
- blob.metadata = this._generateResourceInfo(filtered);
427
- }
428
-
429
- return succeed(blob);
430
- });
431
- }
432
-
433
- /**
434
- * Generates a bundle blob
435
- */
436
- private _generateBundleBlob(filtered: IFilteredManager): Result<IResourceBlob> {
437
- if (!this._systemConfiguration) {
438
- return fail('System configuration is required for bundle generation');
439
- }
440
-
441
- // Create SystemConfiguration from the loaded configuration
442
- return TsRes.Config.SystemConfiguration.create(this._systemConfiguration).onSuccess((systemConfig) => {
443
- // Create bundle using BundleBuilder
444
- const bundleParams: TsRes.Bundle.IBundleCreateParams = {
445
- version: '1.0.0',
446
- description: 'Generated bundle from ts-res-cli',
447
- normalize: true // Use order-resilient normalization for consistent output
448
- };
449
-
450
- return TsRes.Bundle.BundleBuilder.create(filtered.manager, systemConfig, bundleParams).onSuccess(
451
- (bundle) => {
452
- const blob: IResourceBlob = {
453
- bundle
454
- };
455
-
456
- if (this._options.includeMetadata) {
457
- blob.metadata = this._generateResourceInfo(filtered);
458
- }
459
-
460
- return succeed(blob);
461
- }
462
- );
463
- });
464
- }
465
-
466
- /**
467
- * Generates resource information
468
- */
469
- private _generateResourceInfo(filtered: IFilteredManager): IResourceInfo {
470
- const resourceTypes = Array.from(
471
- new Set(
472
- filtered.manager
473
- .getAllCandidates()
474
- .map((c) => c.resourceType?.key)
475
- .filter(Boolean)
476
- )
477
- ) as string[];
478
-
479
- const qualifiers = Array.from(filtered.manager.qualifiers.keys());
480
-
481
- const info: IResourceInfo = {
482
- totalResources: filtered.original.numResources,
483
- totalCandidates: filtered.original.numCandidates,
484
- filteredResources: filtered.manager.numResources,
485
- filteredCandidates: filtered.manager.numCandidates,
486
- resourceTypes,
487
- qualifiers,
488
- ...(filtered.context ? { context: filtered.context } : undefined)
489
- };
490
-
491
- return info;
492
- }
493
-
494
- /**
495
- * Writes the output blob to the specified output path
496
- */
497
- private async _writeOutput(blob: IResourceBlob): Promise<Result<void>> {
498
- try {
499
- const outputPath = path.resolve(this._options.output);
500
- const outputDir = path.dirname(outputPath);
501
-
502
- // Ensure output directory exists
503
- await fs.mkdir(outputDir, { recursive: true });
504
-
505
- let content: string;
506
-
507
- switch (this._options.format) {
508
- case 'compiled':
509
- // If metadata is included, write the full blob; otherwise, write just the compiled collection
510
- const compiledData = this._options.includeMetadata ? blob : blob.compiledCollection;
511
- content = JSON.stringify(compiledData, null, 2);
512
- break;
513
- case 'source':
514
- content = JSON.stringify(blob, null, 2);
515
- break;
516
- case 'js':
517
- const jsData = blob.compiledCollection || blob;
518
- content = `module.exports = ${JSON.stringify(jsData, null, 2)};`;
519
- break;
520
- case 'ts':
521
- const tsData = blob.compiledCollection || blob;
522
- content = `export const resources = ${JSON.stringify(tsData, null, 2)} as const;`;
523
- break;
524
- case 'binary':
525
- // For binary format, we could use a more efficient serialization
526
- // For now, use JSON as a placeholder
527
- const binaryData = blob.compiledCollection || blob;
528
- content = JSON.stringify(binaryData);
529
- break;
530
- case 'bundle':
531
- // Bundle format outputs the complete bundle with metadata, config, and compiled resources
532
- const bundleData = this._options.includeMetadata ? blob : blob.bundle;
533
- content = JSON.stringify(bundleData, null, 2);
534
- break;
535
- default:
536
- return fail(`Unsupported output format: ${this._options.format}`);
537
- }
538
-
539
- await fs.writeFile(outputPath, content, 'utf-8');
540
- return succeed(undefined);
541
- } catch (error) {
542
- return fail(`Failed to write output: ${error}`);
543
- }
544
- }
545
- }
@@ -1,78 +0,0 @@
1
- /*
2
- * Copyright (c) 2025 Erik Fortune
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- * SOFTWARE.
21
- */
22
-
23
- import * as TsRes from '@fgv/ts-res';
24
-
25
- /**
26
- * Default system configuration for ts-res CLI tool
27
- * This matches the configuration used in the ts-res-browser tool
28
- */
29
- export const DEFAULT_SYSTEM_CONFIGURATION: TsRes.Config.Model.ISystemConfiguration = {
30
- name: 'Default CLI Configuration',
31
- description: 'Built-in default configuration for ts-res CLI tool',
32
- qualifierTypes: [
33
- {
34
- name: 'language',
35
- systemType: 'language',
36
- configuration: {}
37
- },
38
- {
39
- name: 'territory',
40
- systemType: 'territory',
41
- configuration: {}
42
- },
43
- {
44
- name: 'role',
45
- systemType: 'literal',
46
- configuration: {
47
- enumeratedValues: ['admin', 'user', 'guest']
48
- }
49
- }
50
- ],
51
- qualifiers: [
52
- {
53
- name: 'language',
54
- typeName: 'language',
55
- token: 'language',
56
- defaultPriority: 600
57
- },
58
- {
59
- name: 'territory',
60
- typeName: 'territory',
61
- token: 'territory',
62
- defaultPriority: 500
63
- },
64
- {
65
- name: 'role',
66
- typeName: 'role',
67
- token: 'role',
68
- tokenIsOptional: true,
69
- defaultPriority: 400
70
- }
71
- ],
72
- resourceTypes: [
73
- {
74
- name: 'json',
75
- typeName: 'json'
76
- }
77
- ]
78
- };
package/src/index.ts DELETED
@@ -1,25 +0,0 @@
1
- /*
2
- * Copyright (c) 2025 Erik Fortune
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- * SOFTWARE.
21
- */
22
-
23
- export * from './cli';
24
- export * from './compiler';
25
- export * from './options';