@storm-software/esbuild 0.0.1 → 0.2.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/README.md +9 -8
- package/dist/build.cjs +15 -0
- package/dist/build.cjs.map +1 -0
- package/dist/build.d.cts +14 -0
- package/dist/build.d.ts +14 -0
- package/dist/build.js +15 -0
- package/dist/build.js.map +1 -0
- package/dist/chunk-4ZPYEZJO.cjs +15 -0
- package/dist/chunk-4ZPYEZJO.cjs.map +1 -0
- package/dist/chunk-75SHW3Z4.cjs +320 -0
- package/dist/chunk-75SHW3Z4.cjs.map +1 -0
- package/dist/chunk-7U3F23ZZ.js +102 -0
- package/dist/chunk-7U3F23ZZ.js.map +1 -0
- package/dist/chunk-BF5W6GVP.cjs +53 -0
- package/dist/chunk-BF5W6GVP.cjs.map +1 -0
- package/dist/chunk-CMF37LBT.js +23 -0
- package/dist/chunk-CMF37LBT.js.map +1 -0
- package/dist/chunk-D5PRB2E2.cjs +40 -0
- package/dist/chunk-D5PRB2E2.cjs.map +1 -0
- package/dist/chunk-DFGHPRBD.cjs +29 -0
- package/dist/chunk-DFGHPRBD.cjs.map +1 -0
- package/dist/chunk-DRRPNILS.js +40 -0
- package/dist/chunk-DRRPNILS.js.map +1 -0
- package/dist/chunk-IDO67KEL.js +320 -0
- package/dist/chunk-IDO67KEL.js.map +1 -0
- package/dist/chunk-MUYXFAKB.cjs +1 -0
- package/dist/chunk-MUYXFAKB.cjs.map +1 -0
- package/dist/chunk-PRNPZZSV.cjs +23 -0
- package/dist/chunk-PRNPZZSV.cjs.map +1 -0
- package/dist/chunk-QBYHNHXL.js +127 -0
- package/dist/chunk-QBYHNHXL.js.map +1 -0
- package/dist/chunk-QNDLJ2W7.js +1 -0
- package/dist/chunk-QNDLJ2W7.js.map +1 -0
- package/dist/chunk-T5H2LBQA.cjs +127 -0
- package/dist/chunk-T5H2LBQA.cjs.map +1 -0
- package/dist/chunk-TTHABTDU.js +53 -0
- package/dist/chunk-TTHABTDU.js.map +1 -0
- package/dist/chunk-WCQVDF3K.js +14 -0
- package/dist/chunk-WCQVDF3K.js.map +1 -0
- package/dist/chunk-WGEGR3DF.cjs +14 -0
- package/dist/chunk-WGEGR3DF.cjs.map +1 -0
- package/dist/chunk-YQBU3FSL.js +29 -0
- package/dist/chunk-YQBU3FSL.js.map +1 -0
- package/dist/chunk-Z2M426LD.cjs +102 -0
- package/dist/chunk-Z2M426LD.cjs.map +1 -0
- package/dist/chunk-ZQ5NVDFP.js +15 -0
- package/dist/chunk-ZQ5NVDFP.js.map +1 -0
- package/dist/config.cjs +10 -0
- package/dist/config.cjs.map +1 -0
- package/dist/config.d.cts +15 -0
- package/dist/config.d.ts +15 -0
- package/dist/config.js +10 -0
- package/dist/config.js.map +1 -0
- package/dist/index.cjs +39 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +230 -0
- package/dist/index.d.ts +230 -0
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -0
- package/dist/types.cjs +2 -0
- package/dist/types.cjs.map +1 -0
- package/dist/types.d.cts +20 -0
- package/dist/types.d.ts +20 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +159 -3
- package/index.cjs +0 -19751
- package/index.js +0 -19748
- package/meta.cjs.json +0 -12657
- package/meta.esm.json +0 -12669
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/utilities/log.ts"],"sourcesContent":["/*-------------------------------------------------------------------\n\n ⚡ Storm Software - Storm Stack\n\n This code was released as part of the Storm Stack project. Storm Stack\n is maintained by Storm Software under the Apache-2.0 License, and is\n free for commercial and private use. For more information, please visit\n our licensing page.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/storm-ops\n Documentation: https://stormsoftware.com/projects/storm-ops/docs\n Contact: https://stormsoftware.com/contact\n License: https://stormsoftware.com/projects/storm-ops/license\n\n -------------------------------------------------------------------*/\n\nimport { type LogType, consola } from \"consola\";\n\n/**\n * Writes a log message to the console.\n *\n * @param type - The type of log message.\n * @param args - The arguments to log.\n */\nexport function writeLog(type: LogType, ...args: string[]) {\n consola[type](\"[Storm]\", ...args);\n}\n"],"mappings":";;;;;AAiBA,SAAuBA,eAAe;AAQ/B,SAASC,SAASC,SAAkBC,MAAc;AACvDC,UAAQF,IAAAA,EAAM,WAAA,GAAcC,IAAAA;AAC9B;AAFgBF;","names":["consola","writeLog","type","args","consola"]}
|
package/dist/config.cjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkD5PRB2E2cjs = require('./chunk-D5PRB2E2.cjs');
|
|
5
|
+
require('./chunk-WGEGR3DF.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunkD5PRB2E2cjs.DEFAULT_BUILD_OPTIONS; exports.adapterConfig = _chunkD5PRB2E2cjs.adapterConfig;
|
|
10
|
+
//# sourceMappingURL=config.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/storm-ops/storm-ops/packages/esbuild/dist/config.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACF,iIAAC","file":"/home/runner/work/storm-ops/storm-ops/packages/esbuild/dist/config.cjs"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ESBuildOptions } from './types.cjs';
|
|
2
|
+
import '@nx/devkit';
|
|
3
|
+
import 'esbuild';
|
|
4
|
+
import 'nx/src/utils/find-workspace-root';
|
|
5
|
+
|
|
6
|
+
declare const DEFAULT_BUILD_OPTIONS: {
|
|
7
|
+
readonly platform: "node";
|
|
8
|
+
readonly target: "ES2021";
|
|
9
|
+
readonly logLevel: "error";
|
|
10
|
+
readonly tsconfig: "tsconfig.json";
|
|
11
|
+
readonly metafile: true;
|
|
12
|
+
};
|
|
13
|
+
declare const adapterConfig: Omit<ESBuildOptions, "projectRoot">[];
|
|
14
|
+
|
|
15
|
+
export { DEFAULT_BUILD_OPTIONS, adapterConfig };
|
package/dist/config.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ESBuildOptions } from './types.js';
|
|
2
|
+
import '@nx/devkit';
|
|
3
|
+
import 'esbuild';
|
|
4
|
+
import 'nx/src/utils/find-workspace-root';
|
|
5
|
+
|
|
6
|
+
declare const DEFAULT_BUILD_OPTIONS: {
|
|
7
|
+
readonly platform: "node";
|
|
8
|
+
readonly target: "ES2021";
|
|
9
|
+
readonly logLevel: "error";
|
|
10
|
+
readonly tsconfig: "tsconfig.json";
|
|
11
|
+
readonly metafile: true;
|
|
12
|
+
};
|
|
13
|
+
declare const adapterConfig: Omit<ESBuildOptions, "projectRoot">[];
|
|
14
|
+
|
|
15
|
+
export { DEFAULT_BUILD_OPTIONS, adapterConfig };
|
package/dist/config.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk75SHW3Z4cjs = require('./chunk-75SHW3Z4.cjs');
|
|
10
|
+
require('./chunk-PRNPZZSV.cjs');
|
|
11
|
+
require('./chunk-BF5W6GVP.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var _chunkT5H2LBQAcjs = require('./chunk-T5H2LBQA.cjs');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
var _chunkD5PRB2E2cjs = require('./chunk-D5PRB2E2.cjs');
|
|
19
|
+
require('./chunk-MUYXFAKB.cjs');
|
|
20
|
+
require('./chunk-Z2M426LD.cjs');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var _chunk4ZPYEZJOcjs = require('./chunk-4ZPYEZJO.cjs');
|
|
24
|
+
require('./chunk-DFGHPRBD.cjs');
|
|
25
|
+
require('./chunk-WGEGR3DF.cjs');
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunkD5PRB2E2cjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunk75SHW3Z4cjs.Filter; exports.Mapper = _chunk75SHW3Z4cjs.Mapper; exports.adapterConfig = _chunkD5PRB2E2cjs.adapterConfig; exports.build = _chunk75SHW3Z4cjs.build; exports.handle = _chunk75SHW3Z4cjs.handle; exports.pipe = _chunk75SHW3Z4cjs.pipe; exports.run = _chunkT5H2LBQAcjs.run; exports.skip = _chunk75SHW3Z4cjs.skip; exports.transduce = _chunk75SHW3Z4cjs.transduce; exports.writeLog = _chunk4ZPYEZJOcjs.writeLog;
|
|
39
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/storm-ops/storm-ops/packages/esbuild/dist/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,8fAAC","file":"/home/runner/work/storm-ops/storm-ops/packages/esbuild/dist/index.cjs"}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
export { build } from './build.cjs';
|
|
2
|
+
export { DEFAULT_BUILD_OPTIONS, adapterConfig } from './config.cjs';
|
|
3
|
+
export { ESBuildOptions, ESBuildResolvedOptions, ESBuildResult } from './types.cjs';
|
|
4
|
+
import { LogType } from 'consola';
|
|
5
|
+
import * as execa from 'execa';
|
|
6
|
+
import 'esbuild';
|
|
7
|
+
import '@nx/devkit';
|
|
8
|
+
import 'nx/src/utils/find-workspace-root';
|
|
9
|
+
|
|
10
|
+
declare function handleSync<R, E = Error>(fn: () => R): R | E;
|
|
11
|
+
declare function handleAsync<R, E = Error>(fn: () => Promise<R> | R): Promise<R | E>;
|
|
12
|
+
/**
|
|
13
|
+
* Executes a function, catches exceptions, and returns any outcome.
|
|
14
|
+
* @param fn - to be executed
|
|
15
|
+
*/
|
|
16
|
+
declare const handle: typeof handleSync & {
|
|
17
|
+
async: typeof handleAsync;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare const skip: unique symbol;
|
|
21
|
+
type SyncTransformer<I, R> = (item: I, key: number) => R | typeof skip;
|
|
22
|
+
type ASyncTransformer<I, R> = (item: I, key: number) => Promise<R | typeof skip>;
|
|
23
|
+
declare function transduceSync<I, R>(list: Array<I>, transformer: SyncTransformer<I, R>): R[];
|
|
24
|
+
declare function transduceAsync<I, R>(list: Array<I>, transformer: ASyncTransformer<I, R>): Promise<R[]>;
|
|
25
|
+
declare const Filter: <I>(filter: (item: I) => boolean) => (item: I) => I;
|
|
26
|
+
declare const Mapper: <I, R>(mapper: (item: I) => R) => (item: I) => R;
|
|
27
|
+
/**
|
|
28
|
+
* Transducers enable efficient data processing. They allow the composition of
|
|
29
|
+
* mappers and filters to be applied on a list. And this is applied in a single
|
|
30
|
+
* pass, that's the efficient pipeline processing.
|
|
31
|
+
*
|
|
32
|
+
* (does not reduce at the same time)
|
|
33
|
+
*
|
|
34
|
+
* @see https://medium.com/javascript-scene/7985330fe73d
|
|
35
|
+
*
|
|
36
|
+
* @param list - to transform
|
|
37
|
+
* @param transformer - to apply
|
|
38
|
+
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const filterEven = Filter(<U>(unit: U) =>
|
|
42
|
+
* typeof unit === 'number' ? !(unit % 2) : true,
|
|
43
|
+
* )
|
|
44
|
+
* const mapTimes2 = Mapper(<U>(unit: U) =>
|
|
45
|
+
* typeof unit === 'number' ? unit * 2 : unit,
|
|
46
|
+
* )
|
|
47
|
+
* const mapString = Mapper(<U>(unit: U) => `${unit}`)
|
|
48
|
+
*
|
|
49
|
+
* const test0 = transduce(
|
|
50
|
+
* [1, 2, 3, 4, 5, 6, 7, 'a'],
|
|
51
|
+
* pipe(filterEven, mapTimes2, mapTimes2, mapString, filterEven),
|
|
52
|
+
* )
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
declare const transduce: typeof transduceSync & {
|
|
56
|
+
async: typeof transduceAsync;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
type FunctionLike<P extends Array<any> = any, R = any> = (...args: P) => R;
|
|
60
|
+
type Await<P> = P extends Promise<infer A> ? A : P;
|
|
61
|
+
/**
|
|
62
|
+
* Pipe the input and output of functions.
|
|
63
|
+
*
|
|
64
|
+
* @param fn - parameter-taking function
|
|
65
|
+
* @param fns - subsequent piped functions
|
|
66
|
+
* @returns
|
|
67
|
+
*/
|
|
68
|
+
declare const pipe: PipeMultiSync & {
|
|
69
|
+
async: PipeMultiAsync;
|
|
70
|
+
};
|
|
71
|
+
declare type PipeMultiSync = {
|
|
72
|
+
<R0, P extends any[]>(...fns: [FunctionLike<P, R0>]): FunctionLike<P, R0>;
|
|
73
|
+
<R0, R1, P extends any[]>(...fns: [FunctionLike<P, R0>, FunctionLike<[R0], R1>]): FunctionLike<P, R1>;
|
|
74
|
+
<R0, R1, R2, P extends any[]>(...fns: [
|
|
75
|
+
FunctionLike<P, R0>,
|
|
76
|
+
FunctionLike<[R0], R1>,
|
|
77
|
+
FunctionLike<[R1], R2>
|
|
78
|
+
]): FunctionLike<P, R2>;
|
|
79
|
+
<R0, R1, R2, R3, P extends any[]>(...fns: [
|
|
80
|
+
FunctionLike<P, R0>,
|
|
81
|
+
FunctionLike<[R0], R1>,
|
|
82
|
+
FunctionLike<[R1], R2>,
|
|
83
|
+
FunctionLike<[R2], R3>
|
|
84
|
+
]): FunctionLike<P, R3>;
|
|
85
|
+
<R0, R1, R2, R3, R4, P extends any[]>(...fns: [
|
|
86
|
+
FunctionLike<P, R0>,
|
|
87
|
+
FunctionLike<[R0], R1>,
|
|
88
|
+
FunctionLike<[R1], R2>,
|
|
89
|
+
FunctionLike<[R2], R3>,
|
|
90
|
+
FunctionLike<[R3], R4>
|
|
91
|
+
]): FunctionLike<P, R4>;
|
|
92
|
+
<R0, R1, R2, R3, R4, R5, P extends any[]>(...fns: [
|
|
93
|
+
FunctionLike<P, R0>,
|
|
94
|
+
FunctionLike<[R0], R1>,
|
|
95
|
+
FunctionLike<[R1], R2>,
|
|
96
|
+
FunctionLike<[R2], R3>,
|
|
97
|
+
FunctionLike<[R3], R4>,
|
|
98
|
+
FunctionLike<[R4], R5>
|
|
99
|
+
]): FunctionLike<P, R5>;
|
|
100
|
+
<R0, R1, R2, R3, R4, R5, R6, P extends any[]>(...fns: [
|
|
101
|
+
FunctionLike<P, R0>,
|
|
102
|
+
FunctionLike<[R0], R1>,
|
|
103
|
+
FunctionLike<[R1], R2>,
|
|
104
|
+
FunctionLike<[R2], R3>,
|
|
105
|
+
FunctionLike<[R3], R4>,
|
|
106
|
+
FunctionLike<[R4], R5>,
|
|
107
|
+
FunctionLike<[R5], R6>
|
|
108
|
+
]): FunctionLike<P, R6>;
|
|
109
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, P extends any[]>(...fns: [
|
|
110
|
+
FunctionLike<P, R0>,
|
|
111
|
+
FunctionLike<[R0], R1>,
|
|
112
|
+
FunctionLike<[R1], R2>,
|
|
113
|
+
FunctionLike<[R2], R3>,
|
|
114
|
+
FunctionLike<[R3], R4>,
|
|
115
|
+
FunctionLike<[R4], R5>,
|
|
116
|
+
FunctionLike<[R5], R6>,
|
|
117
|
+
FunctionLike<[R6], R7>
|
|
118
|
+
]): FunctionLike<P, R7>;
|
|
119
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, R8, P extends any[]>(...fns: [
|
|
120
|
+
FunctionLike<P, R0>,
|
|
121
|
+
FunctionLike<[R0], R1>,
|
|
122
|
+
FunctionLike<[R1], R2>,
|
|
123
|
+
FunctionLike<[R2], R3>,
|
|
124
|
+
FunctionLike<[R3], R4>,
|
|
125
|
+
FunctionLike<[R4], R5>,
|
|
126
|
+
FunctionLike<[R5], R6>,
|
|
127
|
+
FunctionLike<[R6], R7>,
|
|
128
|
+
FunctionLike<[R7], R8>
|
|
129
|
+
]): FunctionLike<P, R8>;
|
|
130
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, P extends any[]>(...fns: [
|
|
131
|
+
FunctionLike<P, R0>,
|
|
132
|
+
FunctionLike<[R0], R1>,
|
|
133
|
+
FunctionLike<[R1], R2>,
|
|
134
|
+
FunctionLike<[R2], R3>,
|
|
135
|
+
FunctionLike<[R3], R4>,
|
|
136
|
+
FunctionLike<[R4], R5>,
|
|
137
|
+
FunctionLike<[R5], R6>,
|
|
138
|
+
FunctionLike<[R6], R7>,
|
|
139
|
+
FunctionLike<[R7], R8>,
|
|
140
|
+
FunctionLike<[R8], R9>
|
|
141
|
+
]): FunctionLike<P, R9>;
|
|
142
|
+
};
|
|
143
|
+
declare type PipeMultiAsync = {
|
|
144
|
+
<R0, P extends any[]>(...fns: [FunctionLike<P, R0>]): FunctionLike<P, Promise<Await<R0>>>;
|
|
145
|
+
<R0, R1, P extends any[]>(...fns: [FunctionLike<P, R0>, FunctionLike<[Await<R0>], R1>]): FunctionLike<P, Promise<Await<R1>>>;
|
|
146
|
+
<R0, R1, R2, P extends any[]>(...fns: [
|
|
147
|
+
FunctionLike<P, R0>,
|
|
148
|
+
FunctionLike<[Await<R0>], R1>,
|
|
149
|
+
FunctionLike<[Await<R1>], R2>
|
|
150
|
+
]): FunctionLike<P, Promise<Await<R2>>>;
|
|
151
|
+
<R0, R1, R2, R3, P extends any[]>(...fns: [
|
|
152
|
+
FunctionLike<P, R0>,
|
|
153
|
+
FunctionLike<[Await<R0>], R1>,
|
|
154
|
+
FunctionLike<[Await<R1>], R2>,
|
|
155
|
+
FunctionLike<[Await<R2>], R3>
|
|
156
|
+
]): FunctionLike<P, Promise<Await<R3>>>;
|
|
157
|
+
<R0, R1, R2, R3, R4, P extends any[]>(...fns: [
|
|
158
|
+
FunctionLike<P, R0>,
|
|
159
|
+
FunctionLike<[Await<R0>], R1>,
|
|
160
|
+
FunctionLike<[Await<R1>], R2>,
|
|
161
|
+
FunctionLike<[Await<R2>], R3>,
|
|
162
|
+
FunctionLike<[Await<R3>], R4>
|
|
163
|
+
]): FunctionLike<P, Promise<Await<R4>>>;
|
|
164
|
+
<R0, R1, R2, R3, R4, R5, P extends any[]>(...fns: [
|
|
165
|
+
FunctionLike<P, R0>,
|
|
166
|
+
FunctionLike<[Await<R0>], R1>,
|
|
167
|
+
FunctionLike<[Await<R1>], R2>,
|
|
168
|
+
FunctionLike<[Await<R2>], R3>,
|
|
169
|
+
FunctionLike<[Await<R3>], R4>,
|
|
170
|
+
FunctionLike<[Await<R4>], R5>
|
|
171
|
+
]): FunctionLike<P, Promise<Await<R5>>>;
|
|
172
|
+
<R0, R1, R2, R3, R4, R5, R6, P extends any[]>(...fns: [
|
|
173
|
+
FunctionLike<P, R0>,
|
|
174
|
+
FunctionLike<[Await<R0>], R1>,
|
|
175
|
+
FunctionLike<[Await<R1>], R2>,
|
|
176
|
+
FunctionLike<[Await<R2>], R3>,
|
|
177
|
+
FunctionLike<[Await<R3>], R4>,
|
|
178
|
+
FunctionLike<[Await<R4>], R5>,
|
|
179
|
+
FunctionLike<[Await<R5>], R6>
|
|
180
|
+
]): FunctionLike<P, Promise<Await<R6>>>;
|
|
181
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, P extends any[]>(...fns: [
|
|
182
|
+
FunctionLike<P, R0>,
|
|
183
|
+
FunctionLike<[Await<R0>], R1>,
|
|
184
|
+
FunctionLike<[Await<R1>], R2>,
|
|
185
|
+
FunctionLike<[Await<R2>], R3>,
|
|
186
|
+
FunctionLike<[Await<R3>], R4>,
|
|
187
|
+
FunctionLike<[Await<R4>], R5>,
|
|
188
|
+
FunctionLike<[Await<R5>], R6>,
|
|
189
|
+
FunctionLike<[Await<R6>], R7>
|
|
190
|
+
]): FunctionLike<P, Promise<Await<R7>>>;
|
|
191
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, R8, P extends any[]>(...fns: [
|
|
192
|
+
FunctionLike<P, R0>,
|
|
193
|
+
FunctionLike<[Await<R0>], R1>,
|
|
194
|
+
FunctionLike<[Await<R1>], R2>,
|
|
195
|
+
FunctionLike<[Await<R2>], R3>,
|
|
196
|
+
FunctionLike<[Await<R3>], R4>,
|
|
197
|
+
FunctionLike<[Await<R4>], R5>,
|
|
198
|
+
FunctionLike<[Await<R5>], R6>,
|
|
199
|
+
FunctionLike<[Await<R6>], R7>,
|
|
200
|
+
FunctionLike<[Await<R7>], R8>
|
|
201
|
+
]): FunctionLike<P, Promise<Await<R8>>>;
|
|
202
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, P extends any[]>(...fns: [
|
|
203
|
+
FunctionLike<P, R0>,
|
|
204
|
+
FunctionLike<[Await<R0>], R1>,
|
|
205
|
+
FunctionLike<[Await<R1>], R2>,
|
|
206
|
+
FunctionLike<[Await<R2>], R3>,
|
|
207
|
+
FunctionLike<[Await<R3>], R4>,
|
|
208
|
+
FunctionLike<[Await<R4>], R5>,
|
|
209
|
+
FunctionLike<[Await<R5>], R6>,
|
|
210
|
+
FunctionLike<[Await<R6>], R7>,
|
|
211
|
+
FunctionLike<[Await<R7>], R8>,
|
|
212
|
+
FunctionLike<[Await<R8>], R9>
|
|
213
|
+
]): FunctionLike<P, Promise<Await<R9>>>;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Writes a log message to the console.
|
|
218
|
+
*
|
|
219
|
+
* @param type - The type of log message.
|
|
220
|
+
* @param args - The arguments to log.
|
|
221
|
+
*/
|
|
222
|
+
declare function writeLog(type: LogType, ...args: string[]): void;
|
|
223
|
+
|
|
224
|
+
declare function run(command: string): execa.ResultPromise<{
|
|
225
|
+
preferLocal: true;
|
|
226
|
+
shell: true;
|
|
227
|
+
stdio: "inherit";
|
|
228
|
+
}>;
|
|
229
|
+
|
|
230
|
+
export { Filter, Mapper, type PipeMultiAsync, type PipeMultiSync, handle, pipe, run, skip, transduce, writeLog };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
export { build } from './build.js';
|
|
2
|
+
export { DEFAULT_BUILD_OPTIONS, adapterConfig } from './config.js';
|
|
3
|
+
export { ESBuildOptions, ESBuildResolvedOptions, ESBuildResult } from './types.js';
|
|
4
|
+
import { LogType } from 'consola';
|
|
5
|
+
import * as execa from 'execa';
|
|
6
|
+
import 'esbuild';
|
|
7
|
+
import '@nx/devkit';
|
|
8
|
+
import 'nx/src/utils/find-workspace-root';
|
|
9
|
+
|
|
10
|
+
declare function handleSync<R, E = Error>(fn: () => R): R | E;
|
|
11
|
+
declare function handleAsync<R, E = Error>(fn: () => Promise<R> | R): Promise<R | E>;
|
|
12
|
+
/**
|
|
13
|
+
* Executes a function, catches exceptions, and returns any outcome.
|
|
14
|
+
* @param fn - to be executed
|
|
15
|
+
*/
|
|
16
|
+
declare const handle: typeof handleSync & {
|
|
17
|
+
async: typeof handleAsync;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare const skip: unique symbol;
|
|
21
|
+
type SyncTransformer<I, R> = (item: I, key: number) => R | typeof skip;
|
|
22
|
+
type ASyncTransformer<I, R> = (item: I, key: number) => Promise<R | typeof skip>;
|
|
23
|
+
declare function transduceSync<I, R>(list: Array<I>, transformer: SyncTransformer<I, R>): R[];
|
|
24
|
+
declare function transduceAsync<I, R>(list: Array<I>, transformer: ASyncTransformer<I, R>): Promise<R[]>;
|
|
25
|
+
declare const Filter: <I>(filter: (item: I) => boolean) => (item: I) => I;
|
|
26
|
+
declare const Mapper: <I, R>(mapper: (item: I) => R) => (item: I) => R;
|
|
27
|
+
/**
|
|
28
|
+
* Transducers enable efficient data processing. They allow the composition of
|
|
29
|
+
* mappers and filters to be applied on a list. And this is applied in a single
|
|
30
|
+
* pass, that's the efficient pipeline processing.
|
|
31
|
+
*
|
|
32
|
+
* (does not reduce at the same time)
|
|
33
|
+
*
|
|
34
|
+
* @see https://medium.com/javascript-scene/7985330fe73d
|
|
35
|
+
*
|
|
36
|
+
* @param list - to transform
|
|
37
|
+
* @param transformer - to apply
|
|
38
|
+
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const filterEven = Filter(<U>(unit: U) =>
|
|
42
|
+
* typeof unit === 'number' ? !(unit % 2) : true,
|
|
43
|
+
* )
|
|
44
|
+
* const mapTimes2 = Mapper(<U>(unit: U) =>
|
|
45
|
+
* typeof unit === 'number' ? unit * 2 : unit,
|
|
46
|
+
* )
|
|
47
|
+
* const mapString = Mapper(<U>(unit: U) => `${unit}`)
|
|
48
|
+
*
|
|
49
|
+
* const test0 = transduce(
|
|
50
|
+
* [1, 2, 3, 4, 5, 6, 7, 'a'],
|
|
51
|
+
* pipe(filterEven, mapTimes2, mapTimes2, mapString, filterEven),
|
|
52
|
+
* )
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
declare const transduce: typeof transduceSync & {
|
|
56
|
+
async: typeof transduceAsync;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
type FunctionLike<P extends Array<any> = any, R = any> = (...args: P) => R;
|
|
60
|
+
type Await<P> = P extends Promise<infer A> ? A : P;
|
|
61
|
+
/**
|
|
62
|
+
* Pipe the input and output of functions.
|
|
63
|
+
*
|
|
64
|
+
* @param fn - parameter-taking function
|
|
65
|
+
* @param fns - subsequent piped functions
|
|
66
|
+
* @returns
|
|
67
|
+
*/
|
|
68
|
+
declare const pipe: PipeMultiSync & {
|
|
69
|
+
async: PipeMultiAsync;
|
|
70
|
+
};
|
|
71
|
+
declare type PipeMultiSync = {
|
|
72
|
+
<R0, P extends any[]>(...fns: [FunctionLike<P, R0>]): FunctionLike<P, R0>;
|
|
73
|
+
<R0, R1, P extends any[]>(...fns: [FunctionLike<P, R0>, FunctionLike<[R0], R1>]): FunctionLike<P, R1>;
|
|
74
|
+
<R0, R1, R2, P extends any[]>(...fns: [
|
|
75
|
+
FunctionLike<P, R0>,
|
|
76
|
+
FunctionLike<[R0], R1>,
|
|
77
|
+
FunctionLike<[R1], R2>
|
|
78
|
+
]): FunctionLike<P, R2>;
|
|
79
|
+
<R0, R1, R2, R3, P extends any[]>(...fns: [
|
|
80
|
+
FunctionLike<P, R0>,
|
|
81
|
+
FunctionLike<[R0], R1>,
|
|
82
|
+
FunctionLike<[R1], R2>,
|
|
83
|
+
FunctionLike<[R2], R3>
|
|
84
|
+
]): FunctionLike<P, R3>;
|
|
85
|
+
<R0, R1, R2, R3, R4, P extends any[]>(...fns: [
|
|
86
|
+
FunctionLike<P, R0>,
|
|
87
|
+
FunctionLike<[R0], R1>,
|
|
88
|
+
FunctionLike<[R1], R2>,
|
|
89
|
+
FunctionLike<[R2], R3>,
|
|
90
|
+
FunctionLike<[R3], R4>
|
|
91
|
+
]): FunctionLike<P, R4>;
|
|
92
|
+
<R0, R1, R2, R3, R4, R5, P extends any[]>(...fns: [
|
|
93
|
+
FunctionLike<P, R0>,
|
|
94
|
+
FunctionLike<[R0], R1>,
|
|
95
|
+
FunctionLike<[R1], R2>,
|
|
96
|
+
FunctionLike<[R2], R3>,
|
|
97
|
+
FunctionLike<[R3], R4>,
|
|
98
|
+
FunctionLike<[R4], R5>
|
|
99
|
+
]): FunctionLike<P, R5>;
|
|
100
|
+
<R0, R1, R2, R3, R4, R5, R6, P extends any[]>(...fns: [
|
|
101
|
+
FunctionLike<P, R0>,
|
|
102
|
+
FunctionLike<[R0], R1>,
|
|
103
|
+
FunctionLike<[R1], R2>,
|
|
104
|
+
FunctionLike<[R2], R3>,
|
|
105
|
+
FunctionLike<[R3], R4>,
|
|
106
|
+
FunctionLike<[R4], R5>,
|
|
107
|
+
FunctionLike<[R5], R6>
|
|
108
|
+
]): FunctionLike<P, R6>;
|
|
109
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, P extends any[]>(...fns: [
|
|
110
|
+
FunctionLike<P, R0>,
|
|
111
|
+
FunctionLike<[R0], R1>,
|
|
112
|
+
FunctionLike<[R1], R2>,
|
|
113
|
+
FunctionLike<[R2], R3>,
|
|
114
|
+
FunctionLike<[R3], R4>,
|
|
115
|
+
FunctionLike<[R4], R5>,
|
|
116
|
+
FunctionLike<[R5], R6>,
|
|
117
|
+
FunctionLike<[R6], R7>
|
|
118
|
+
]): FunctionLike<P, R7>;
|
|
119
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, R8, P extends any[]>(...fns: [
|
|
120
|
+
FunctionLike<P, R0>,
|
|
121
|
+
FunctionLike<[R0], R1>,
|
|
122
|
+
FunctionLike<[R1], R2>,
|
|
123
|
+
FunctionLike<[R2], R3>,
|
|
124
|
+
FunctionLike<[R3], R4>,
|
|
125
|
+
FunctionLike<[R4], R5>,
|
|
126
|
+
FunctionLike<[R5], R6>,
|
|
127
|
+
FunctionLike<[R6], R7>,
|
|
128
|
+
FunctionLike<[R7], R8>
|
|
129
|
+
]): FunctionLike<P, R8>;
|
|
130
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, P extends any[]>(...fns: [
|
|
131
|
+
FunctionLike<P, R0>,
|
|
132
|
+
FunctionLike<[R0], R1>,
|
|
133
|
+
FunctionLike<[R1], R2>,
|
|
134
|
+
FunctionLike<[R2], R3>,
|
|
135
|
+
FunctionLike<[R3], R4>,
|
|
136
|
+
FunctionLike<[R4], R5>,
|
|
137
|
+
FunctionLike<[R5], R6>,
|
|
138
|
+
FunctionLike<[R6], R7>,
|
|
139
|
+
FunctionLike<[R7], R8>,
|
|
140
|
+
FunctionLike<[R8], R9>
|
|
141
|
+
]): FunctionLike<P, R9>;
|
|
142
|
+
};
|
|
143
|
+
declare type PipeMultiAsync = {
|
|
144
|
+
<R0, P extends any[]>(...fns: [FunctionLike<P, R0>]): FunctionLike<P, Promise<Await<R0>>>;
|
|
145
|
+
<R0, R1, P extends any[]>(...fns: [FunctionLike<P, R0>, FunctionLike<[Await<R0>], R1>]): FunctionLike<P, Promise<Await<R1>>>;
|
|
146
|
+
<R0, R1, R2, P extends any[]>(...fns: [
|
|
147
|
+
FunctionLike<P, R0>,
|
|
148
|
+
FunctionLike<[Await<R0>], R1>,
|
|
149
|
+
FunctionLike<[Await<R1>], R2>
|
|
150
|
+
]): FunctionLike<P, Promise<Await<R2>>>;
|
|
151
|
+
<R0, R1, R2, R3, P extends any[]>(...fns: [
|
|
152
|
+
FunctionLike<P, R0>,
|
|
153
|
+
FunctionLike<[Await<R0>], R1>,
|
|
154
|
+
FunctionLike<[Await<R1>], R2>,
|
|
155
|
+
FunctionLike<[Await<R2>], R3>
|
|
156
|
+
]): FunctionLike<P, Promise<Await<R3>>>;
|
|
157
|
+
<R0, R1, R2, R3, R4, P extends any[]>(...fns: [
|
|
158
|
+
FunctionLike<P, R0>,
|
|
159
|
+
FunctionLike<[Await<R0>], R1>,
|
|
160
|
+
FunctionLike<[Await<R1>], R2>,
|
|
161
|
+
FunctionLike<[Await<R2>], R3>,
|
|
162
|
+
FunctionLike<[Await<R3>], R4>
|
|
163
|
+
]): FunctionLike<P, Promise<Await<R4>>>;
|
|
164
|
+
<R0, R1, R2, R3, R4, R5, P extends any[]>(...fns: [
|
|
165
|
+
FunctionLike<P, R0>,
|
|
166
|
+
FunctionLike<[Await<R0>], R1>,
|
|
167
|
+
FunctionLike<[Await<R1>], R2>,
|
|
168
|
+
FunctionLike<[Await<R2>], R3>,
|
|
169
|
+
FunctionLike<[Await<R3>], R4>,
|
|
170
|
+
FunctionLike<[Await<R4>], R5>
|
|
171
|
+
]): FunctionLike<P, Promise<Await<R5>>>;
|
|
172
|
+
<R0, R1, R2, R3, R4, R5, R6, P extends any[]>(...fns: [
|
|
173
|
+
FunctionLike<P, R0>,
|
|
174
|
+
FunctionLike<[Await<R0>], R1>,
|
|
175
|
+
FunctionLike<[Await<R1>], R2>,
|
|
176
|
+
FunctionLike<[Await<R2>], R3>,
|
|
177
|
+
FunctionLike<[Await<R3>], R4>,
|
|
178
|
+
FunctionLike<[Await<R4>], R5>,
|
|
179
|
+
FunctionLike<[Await<R5>], R6>
|
|
180
|
+
]): FunctionLike<P, Promise<Await<R6>>>;
|
|
181
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, P extends any[]>(...fns: [
|
|
182
|
+
FunctionLike<P, R0>,
|
|
183
|
+
FunctionLike<[Await<R0>], R1>,
|
|
184
|
+
FunctionLike<[Await<R1>], R2>,
|
|
185
|
+
FunctionLike<[Await<R2>], R3>,
|
|
186
|
+
FunctionLike<[Await<R3>], R4>,
|
|
187
|
+
FunctionLike<[Await<R4>], R5>,
|
|
188
|
+
FunctionLike<[Await<R5>], R6>,
|
|
189
|
+
FunctionLike<[Await<R6>], R7>
|
|
190
|
+
]): FunctionLike<P, Promise<Await<R7>>>;
|
|
191
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, R8, P extends any[]>(...fns: [
|
|
192
|
+
FunctionLike<P, R0>,
|
|
193
|
+
FunctionLike<[Await<R0>], R1>,
|
|
194
|
+
FunctionLike<[Await<R1>], R2>,
|
|
195
|
+
FunctionLike<[Await<R2>], R3>,
|
|
196
|
+
FunctionLike<[Await<R3>], R4>,
|
|
197
|
+
FunctionLike<[Await<R4>], R5>,
|
|
198
|
+
FunctionLike<[Await<R5>], R6>,
|
|
199
|
+
FunctionLike<[Await<R6>], R7>,
|
|
200
|
+
FunctionLike<[Await<R7>], R8>
|
|
201
|
+
]): FunctionLike<P, Promise<Await<R8>>>;
|
|
202
|
+
<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, P extends any[]>(...fns: [
|
|
203
|
+
FunctionLike<P, R0>,
|
|
204
|
+
FunctionLike<[Await<R0>], R1>,
|
|
205
|
+
FunctionLike<[Await<R1>], R2>,
|
|
206
|
+
FunctionLike<[Await<R2>], R3>,
|
|
207
|
+
FunctionLike<[Await<R3>], R4>,
|
|
208
|
+
FunctionLike<[Await<R4>], R5>,
|
|
209
|
+
FunctionLike<[Await<R5>], R6>,
|
|
210
|
+
FunctionLike<[Await<R6>], R7>,
|
|
211
|
+
FunctionLike<[Await<R7>], R8>,
|
|
212
|
+
FunctionLike<[Await<R8>], R9>
|
|
213
|
+
]): FunctionLike<P, Promise<Await<R9>>>;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Writes a log message to the console.
|
|
218
|
+
*
|
|
219
|
+
* @param type - The type of log message.
|
|
220
|
+
* @param args - The arguments to log.
|
|
221
|
+
*/
|
|
222
|
+
declare function writeLog(type: LogType, ...args: string[]): void;
|
|
223
|
+
|
|
224
|
+
declare function run(command: string): execa.ResultPromise<{
|
|
225
|
+
preferLocal: true;
|
|
226
|
+
shell: true;
|
|
227
|
+
stdio: "inherit";
|
|
228
|
+
}>;
|
|
229
|
+
|
|
230
|
+
export { Filter, Mapper, type PipeMultiAsync, type PipeMultiSync, handle, pipe, run, skip, transduce, writeLog };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Filter,
|
|
3
|
+
Mapper,
|
|
4
|
+
build,
|
|
5
|
+
handle,
|
|
6
|
+
pipe,
|
|
7
|
+
skip,
|
|
8
|
+
transduce
|
|
9
|
+
} from "./chunk-IDO67KEL.js";
|
|
10
|
+
import "./chunk-CMF37LBT.js";
|
|
11
|
+
import "./chunk-TTHABTDU.js";
|
|
12
|
+
import {
|
|
13
|
+
run
|
|
14
|
+
} from "./chunk-QBYHNHXL.js";
|
|
15
|
+
import {
|
|
16
|
+
DEFAULT_BUILD_OPTIONS,
|
|
17
|
+
adapterConfig
|
|
18
|
+
} from "./chunk-DRRPNILS.js";
|
|
19
|
+
import "./chunk-QNDLJ2W7.js";
|
|
20
|
+
import "./chunk-7U3F23ZZ.js";
|
|
21
|
+
import {
|
|
22
|
+
writeLog
|
|
23
|
+
} from "./chunk-ZQ5NVDFP.js";
|
|
24
|
+
import "./chunk-YQBU3FSL.js";
|
|
25
|
+
import "./chunk-WCQVDF3K.js";
|
|
26
|
+
export {
|
|
27
|
+
DEFAULT_BUILD_OPTIONS,
|
|
28
|
+
Filter,
|
|
29
|
+
Mapper,
|
|
30
|
+
adapterConfig,
|
|
31
|
+
build,
|
|
32
|
+
handle,
|
|
33
|
+
pipe,
|
|
34
|
+
run,
|
|
35
|
+
skip,
|
|
36
|
+
transduce,
|
|
37
|
+
writeLog
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/storm-ops/storm-ops/packages/esbuild/dist/types.cjs"],"names":[],"mappings":"AAAA,6CAA6B","file":"/home/runner/work/storm-ops/storm-ops/packages/esbuild/dist/types.cjs"}
|
package/dist/types.d.cts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ProjectGraph, ProjectsConfigurations } from '@nx/devkit';
|
|
2
|
+
import * as esbuild from 'esbuild';
|
|
3
|
+
import { WorkspaceTypeAndRoot } from 'nx/src/utils/find-workspace-root';
|
|
4
|
+
|
|
5
|
+
type ESBuildOptions = Omit<esbuild.BuildOptions, "outbase" | "outfile"> & {
|
|
6
|
+
projectRoot: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
emitTypes?: boolean;
|
|
9
|
+
emitMetafile?: boolean;
|
|
10
|
+
};
|
|
11
|
+
type ESBuildResult = esbuild.BuildResult;
|
|
12
|
+
type ESBuildResolvedOptions = ESBuildOptions & Required<Pick<ESBuildOptions, "name" | "outdir" | "entryPoints">> & {
|
|
13
|
+
workspaceRoot: WorkspaceTypeAndRoot;
|
|
14
|
+
sourceRoot: string;
|
|
15
|
+
projectName: string;
|
|
16
|
+
projectGraph: ProjectGraph;
|
|
17
|
+
projectConfigurations: ProjectsConfigurations;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type { ESBuildOptions, ESBuildResolvedOptions, ESBuildResult };
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ProjectGraph, ProjectsConfigurations } from '@nx/devkit';
|
|
2
|
+
import * as esbuild from 'esbuild';
|
|
3
|
+
import { WorkspaceTypeAndRoot } from 'nx/src/utils/find-workspace-root';
|
|
4
|
+
|
|
5
|
+
type ESBuildOptions = Omit<esbuild.BuildOptions, "outbase" | "outfile"> & {
|
|
6
|
+
projectRoot: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
emitTypes?: boolean;
|
|
9
|
+
emitMetafile?: boolean;
|
|
10
|
+
};
|
|
11
|
+
type ESBuildResult = esbuild.BuildResult;
|
|
12
|
+
type ESBuildResolvedOptions = ESBuildOptions & Required<Pick<ESBuildOptions, "name" | "outdir" | "entryPoints">> & {
|
|
13
|
+
workspaceRoot: WorkspaceTypeAndRoot;
|
|
14
|
+
sourceRoot: string;
|
|
15
|
+
projectName: string;
|
|
16
|
+
projectGraph: ProjectGraph;
|
|
17
|
+
projectConfigurations: ProjectsConfigurations;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type { ESBuildOptions, ESBuildResolvedOptions, ESBuildResult };
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|