@tsparticles/cli-command-build-tsc 4.0.0-beta.12

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.
@@ -0,0 +1 @@
1
+ [{"/Users/matteo/Projects/GitHub/tsparticles/tsparticles/cli/commands/build-tsc/src/tsc.ts":"1","/Users/matteo/Projects/GitHub/tsparticles/tsparticles/cli/commands/build-tsc/src/utils.ts":"2"},{"size":1072,"mtime":1777824895202,"results":"3","hashOfConfig":"4"},{"size":5391,"mtime":1777824895202,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","suppressedMessages":"8","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1jxt5is",{"filePath":"9","messages":"10","suppressedMessages":"11","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/matteo/Projects/GitHub/tsparticles/tsparticles/cli/commands/build-tsc/src/tsc.ts",[],[],"/Users/matteo/Projects/GitHub/tsparticles/tsparticles/cli/commands/build-tsc/src/utils.ts",[],[]]
@@ -0,0 +1,382 @@
1
+ /** @type {import('dependency-cruiser').IConfiguration} */
2
+ module.exports = {
3
+ forbidden: [
4
+ {
5
+ name: 'no-circular',
6
+ severity: 'warn',
7
+ comment:
8
+ "This dependency is part of a circular relationship. You might want to revise " +
9
+ "your solution (i.e. use dependency inversion, make sure the modules have a single responsibility) ",
10
+ from: {},
11
+ to: {
12
+ circular: true
13
+ }
14
+ },
15
+ {
16
+ name: 'no-orphans',
17
+ comment:
18
+ "This is an orphan module - it's likely not used (anymore?). Either use it or " +
19
+ "remove it. If it's logical this module is an orphan (i.e. it's a config file), " +
20
+ "add an exception for it in your dependency-cruiser configuration. By default " +
21
+ "this rule does not scrutinize dot-files (e.g. .eslintrc.js), TypeScript declaration " +
22
+ "files (.d.ts), tsconfig.json and some of the babel and webpack configs.",
23
+ severity: 'warn',
24
+ from: {
25
+ orphan: true,
26
+ pathNot: [
27
+ '(^|/)[.][^/]+[.](?:js|cjs|mjs|ts|cts|mts|json)$', // dot files
28
+ '[.]d[.]ts$', // TypeScript declaration files
29
+ '(^|/)tsconfig[.]json$', // TypeScript config
30
+ '(^|/)(?:babel|webpack)[.]config[.](?:js|cjs|mjs|ts|cts|mts|json)$' // other configs
31
+ ]
32
+ },
33
+ to: {},
34
+ },
35
+ {
36
+ name: 'no-deprecated-core',
37
+ comment:
38
+ 'A module depends on a node core module that has been deprecated. Find an alternative - these are ' +
39
+ "bound to exist - node doesn't deprecate lightly.",
40
+ severity: 'warn',
41
+ from: {},
42
+ to: {
43
+ dependencyTypes: [
44
+ 'core'
45
+ ],
46
+ path: [
47
+ '^v8/tools/codemap$',
48
+ '^v8/tools/consarray$',
49
+ '^v8/tools/csvparser$',
50
+ '^v8/tools/logreader$',
51
+ '^v8/tools/profile_view$',
52
+ '^v8/tools/profile$',
53
+ '^v8/tools/SourceMap$',
54
+ '^v8/tools/splaytree$',
55
+ '^v8/tools/tickprocessor-driver$',
56
+ '^v8/tools/tickprocessor$',
57
+ '^node-inspect/lib/_inspect$',
58
+ '^node-inspect/lib/internal/inspect_client$',
59
+ '^node-inspect/lib/internal/inspect_repl$',
60
+ '^async_hooks$',
61
+ '^punycode$',
62
+ '^domain$',
63
+ '^constants$',
64
+ '^sys$',
65
+ '^_linklist$',
66
+ '^_stream_wrap$'
67
+ ],
68
+ }
69
+ },
70
+ {
71
+ name: 'not-to-deprecated',
72
+ comment:
73
+ 'This module uses a (version of an) npm module that has been deprecated. Either upgrade to a later ' +
74
+ 'version of that module, or find an alternative. Deprecated modules are a security risk.',
75
+ severity: 'warn',
76
+ from: {},
77
+ to: {
78
+ dependencyTypes: [
79
+ 'deprecated'
80
+ ]
81
+ }
82
+ },
83
+ {
84
+ name: 'no-non-package-json',
85
+ severity: 'error',
86
+ comment:
87
+ "This module depends on an npm package that isn't in the 'dependencies' section of your package.json. " +
88
+ "That's problematic as the package either (1) won't be available on live (2 - worse) will be " +
89
+ "available on live with an non-guaranteed version. Fix it by adding the package to the dependencies " +
90
+ "in your package.json.",
91
+ from: {},
92
+ to: {
93
+ dependencyTypes: [
94
+ 'npm-no-pkg',
95
+ 'npm-unknown'
96
+ ]
97
+ }
98
+ },
99
+ {
100
+ name: 'not-to-unresolvable',
101
+ comment:
102
+ "This module depends on a module that cannot be found ('resolved to disk'). If it's an npm " +
103
+ 'module: add it to your package.json. In all other cases you likely already know what to do.',
104
+ severity: 'error',
105
+ from: {},
106
+ to: {
107
+ couldNotResolve: true
108
+ }
109
+ },
110
+ {
111
+ name: 'no-duplicate-dep-types',
112
+ comment:
113
+ "Likely this module depends on an external ('npm') package that occurs more than once " +
114
+ "in your package.json i.e. bot as a devDependencies and in dependencies. This will cause " +
115
+ "maintenance problems later on.",
116
+ severity: 'warn',
117
+ from: {},
118
+ to: {
119
+ moreThanOneDependencyType: true,
120
+ // as it's common to use a devDependency for type-only imports: don't
121
+ // consider type-only dependencyTypes for this rule
122
+ dependencyTypesNot: ["type-only"]
123
+ }
124
+ },
125
+
126
+ // rules you might want to tweak for your specific situation:
127
+ {
128
+ name: 'not-to-test',
129
+ comment:
130
+ "This module depends on code within a folder that should only contain tests. As tests don't " +
131
+ "implement functionality this is odd. Either you're writing a test outside the test folder " +
132
+ "or there's something in the test folder that isn't a test.",
133
+ severity: 'error',
134
+ from: {
135
+ pathNot: '^(tests)'
136
+ },
137
+ to: {
138
+ path: '^(tests)'
139
+ }
140
+ },
141
+ {
142
+ name: 'not-to-spec',
143
+ comment:
144
+ 'This module depends on a spec (test) file. The responsibility of a spec file is to test code. ' +
145
+ "If there's something in a spec that's of use to other modules, it doesn't have that single " +
146
+ 'responsibility anymore. Factor it out into (e.g.) a separate utility/ helper or a mock.',
147
+ severity: 'error',
148
+ from: {},
149
+ to: {
150
+ path: '[.](?:spec|test)[.](?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$'
151
+ }
152
+ },
153
+ {
154
+ name: 'not-to-dev-dep',
155
+ severity: 'error',
156
+ comment:
157
+ "This module depends on an npm package from the 'devDependencies' section of your " +
158
+ 'package.json. It looks like something that ships to production, though. To prevent problems ' +
159
+ "with npm packages that aren't there on production declare it (only!) in the 'dependencies'" +
160
+ 'section of your package.json. If this module is development only - add it to the ' +
161
+ 'from.pathNot re of the not-to-dev-dep rule in the dependency-cruiser configuration',
162
+ from: {
163
+ path: '^(src)',
164
+ pathNot: '[.](?:spec|test)[.](?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$'
165
+ },
166
+ to: {
167
+ dependencyTypes: [
168
+ 'npm-dev',
169
+ ],
170
+ // type only dependencies are not a problem as they don't end up in the
171
+ // production code or are ignored by the runtime.
172
+ dependencyTypesNot: [
173
+ 'type-only'
174
+ ],
175
+ pathNot: [
176
+ 'node_modules/@types/'
177
+ ]
178
+ }
179
+ },
180
+ {
181
+ name: 'optional-deps-used',
182
+ severity: 'info',
183
+ comment:
184
+ "This module depends on an npm package that is declared as an optional dependency " +
185
+ "in your package.json. As this makes sense in limited situations only, it's flagged here. " +
186
+ "If you use an optional dependency here by design - add an exception to your" +
187
+ "dependency-cruiser configuration.",
188
+ from: {},
189
+ to: {
190
+ dependencyTypes: [
191
+ 'npm-optional'
192
+ ]
193
+ }
194
+ },
195
+ {
196
+ name: 'peer-deps-used',
197
+ comment:
198
+ "This module depends on an npm package that is declared as a peer dependency " +
199
+ "in your package.json. This makes sense if your package is e.g. a plugin, but in " +
200
+ "other cases - maybe not so much. If the use of a peer dependency is intentional " +
201
+ "add an exception to your dependency-cruiser configuration.",
202
+ severity: 'warn',
203
+ from: {},
204
+ to: {
205
+ dependencyTypes: [
206
+ 'npm-peer'
207
+ ]
208
+ }
209
+ }
210
+ ],
211
+ options: {
212
+ // Which modules not to follow further when encountered
213
+ doNotFollow: {
214
+ // path: an array of regular expressions in strings to match against
215
+ path: ['node_modules']
216
+ },
217
+
218
+ // Which modules to exclude
219
+ // exclude : {
220
+ // // path: an array of regular expressions in strings to match against
221
+ // path: '',
222
+ // },
223
+
224
+ // Which modules to exclusively include (array of regular expressions in strings)
225
+ // dependency-cruiser will skip everything that doesn't match this pattern
226
+ // includeOnly : [''],
227
+
228
+ // List of module systems to cruise.
229
+ // When left out dependency-cruiser will fall back to the list of _all_
230
+ // module systems it knows of ('amd', 'cjs', 'es6', 'tsd']). It's the
231
+ // default because it's the safe option. It comes at a performance penalty, though
232
+ // As in practice only commonjs ('cjs') and ecmascript modules ('es6')
233
+ // are in wide use, you can limit the moduleSystems to those.
234
+ // moduleSystems: ['cjs', 'es6'],
235
+
236
+ // false: don't look at JSDoc imports (the default)
237
+ // true: detect dependencies in JSDoc-style import statements.
238
+ // Implies parser: 'tsc', which a.o. means the typescript compiler will need
239
+ // to be installed in the same spot you run dependency-cruiser from.
240
+ // detectJSDocImports: true,
241
+
242
+ // false: don't look at process.getBuiltinModule calls (the default)
243
+ // true: dependency-cruiser will detect calls to process.getBuiltinModule/
244
+ // globalThis.process.getBuiltinModule as imports.
245
+ // detectProcessBuiltinModuleCalls: true,
246
+
247
+ // prefix for links in html, d2, mermaid and dot/ svg output (e.g. 'https://github.com/you/yourrepo/blob/main/'
248
+ // to open it on your online repo or `vscode://file/${process.cwd()}/` to
249
+ // open it in visual studio code),
250
+ // prefix: `vscode://file/${process.cwd()}/`,
251
+
252
+ // suffix for links in output. E.g. put .html here if you use it to link to
253
+ // your coverage reports.
254
+ // suffix: '.html',
255
+
256
+ // false (the default): ignore dependencies that only exist before typescript-to-javascript compilation
257
+ // true: also detect dependencies that only exist before typescript-to-javascript compilation
258
+ // 'specify': for each dependency identify whether it only exists before compilation or also after
259
+ // tsPreCompilationDeps: false,
260
+
261
+ // list of extensions to scan that aren't javascript or compile-to-javascript.
262
+ // Empty by default. Only put extensions in here that you want to take into
263
+ // account that are _not_ parsable.
264
+ // extraExtensionsToScan: ['.json', '.jpg', '.png', '.svg', '.webp'],
265
+
266
+ // if true combines the package.jsons found from the module up to the base
267
+ // folder the cruise is initiated from. Useful for how (some) mono-repos
268
+ // manage dependencies & dependency definitions.
269
+ // combinedDependencies: false,
270
+
271
+ // if true leave symlinks untouched, otherwise use the realpath
272
+ // preserveSymlinks: false,
273
+
274
+ // TypeScript project file ('tsconfig.json') to use for
275
+ // (1) compilation and
276
+ // (2) resolution (e.g. with the paths property)
277
+ //
278
+ // The (optional) fileName attribute specifies which file to take (relative to
279
+ // dependency-cruiser's current working directory). When not provided
280
+ // defaults to './tsconfig.json'.
281
+ tsConfig: {
282
+ fileName: 'src/tsconfig.json'
283
+ },
284
+
285
+ // Webpack configuration to use to get resolve options from.
286
+ //
287
+ // The (optional) fileName attribute specifies which file to take (relative
288
+ // to dependency-cruiser's current working directory. When not provided defaults
289
+ // to './webpack.conf.js'.
290
+ //
291
+ // The (optional) 'env' and 'arguments' attributes contain the parameters
292
+ // to be passed if your webpack config is a function and takes them (see
293
+ // webpack documentation for details)
294
+ // webpackConfig: {
295
+ // fileName: 'webpack.config.js',
296
+ // env: {},
297
+ // arguments: {}
298
+ // },
299
+
300
+ // Babel config ('.babelrc', '.babelrc.json', '.babelrc.json5', ...) to use
301
+ // for compilation
302
+ // babelConfig: {
303
+ // fileName: '.babelrc',
304
+ // },
305
+
306
+ // List of strings you have in use in addition to cjs/ es6 requires
307
+ // & imports to declare module dependencies. Use this e.g. if you've
308
+ // re-declared require, use a require-wrapper or use window.require as
309
+ // a hack.
310
+ // exoticRequireStrings: [],
311
+
312
+ // options to pass on to enhanced-resolve, the package dependency-cruiser
313
+ // uses to resolve module references to disk. The values below should be
314
+ // suitable for most situations
315
+ //
316
+ // If you use webpack: you can also set these in webpack.conf.js. The set
317
+ // there will override the ones specified here.
318
+ enhancedResolveOptions: {
319
+ // What to consider as an 'exports' field in package.jsons
320
+ exportsFields: ['exports'],
321
+
322
+ // List of conditions to check for in the exports field.
323
+ // Only works when the 'exportsFields' array is non-empty.
324
+ conditionNames: ['import', 'require', 'node', 'default', 'types'],
325
+
326
+ // The extensions, by default are the same as the ones dependency-cruiser
327
+ // can access (run `npx depcruise --info` to see which ones that are in
328
+ // _your_ environment). If that list is larger than you need you can pass
329
+ // the extensions you actually use (e.g. ['.js', '.jsx']). This can speed
330
+ // up module resolution, which is the most expensive step.
331
+ // extensions: [".js", ".jsx", ".ts", ".tsx", ".d.ts"],
332
+
333
+ // What to consider a 'main' field in package.json
334
+ mainFields: ["module", "main", "types", "typings"],
335
+
336
+ // A list of alias fields in package.jsons
337
+ // See https://github.com/defunctzombie/package-browser-field-spec and
338
+ // the webpack [resolve.alias](https://webpack.js.org/configuration/resolve/#resolvealiasfields)
339
+ // documentation.
340
+ // Defaults to an empty array (= don't use alias fields).
341
+ // aliasFields: ['browser'],
342
+ },
343
+
344
+ // skipAnalysisNotInRules will make dependency-cruiser execute
345
+ // analysis strictly necessary for checking the rule set only.
346
+ // See https://github.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#skipanalysisnotinrules
347
+ skipAnalysisNotInRules: true,
348
+
349
+ reporterOptions: {
350
+ dot: {
351
+ // Pattern of modules to consolidate to. The default pattern in this configuration
352
+ // collapses everything in node_modules to one folder deep so you see
353
+ // the external modules, but not their innards.
354
+ collapsePattern: 'node_modules/(?:@[^/]+/[^/]+|[^/]+)',
355
+
356
+ // Options to tweak the appearance of your graph. See
357
+ // https://github.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#reporteroptions
358
+ // If you don't specify a theme dependency-cruiser falls back to a built-in one.
359
+ // theme: {
360
+ // graph: {
361
+ // // splines: 'ortho' - straight lines; slow on big graphs
362
+ // // splines: 'true' - bezier curves; fast but not as nice as ortho
363
+ // splines: 'true'
364
+ // },
365
+ // },
366
+ },
367
+ archi: {
368
+ // Pattern of modules to consolidate to.
369
+ collapsePattern: '^(?:packages|src|lib(s?)|app(s?)|bin|test(s?)|spec(s?))/[^/]+|node_modules/(?:@[^/]+/[^/]+|[^/]+)',
370
+
371
+ // Options to tweak the appearance of your graph. If you don't specify a
372
+ // theme for 'archi' dependency-cruiser will use the one specified in the
373
+ // dot section above and otherwise use the default one.
374
+ // theme: { },
375
+ },
376
+ text: {
377
+ highlightFocused: true
378
+ },
379
+ }
380
+ }
381
+ };
382
+ // generated: dependency-cruiser@17.3.7 on 2026-01-28T14:30:16.611Z
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Matteo Bruni
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,49 @@
1
+ [![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org)
2
+
3
+ # tsParticles CLI
4
+
5
+ ## Installation
6
+
7
+ ### NPM
8
+
9
+ ```bash
10
+ npm install -g @tsparticles/cli-build
11
+ ```
12
+
13
+ ### Yarn
14
+
15
+ ```bash
16
+ yarn global add @tsparticles/cli-build
17
+ ```
18
+
19
+ ### PNPM
20
+
21
+ ```bash
22
+ pnpm global add @tsparticles/cli-build
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ ### Help
28
+
29
+ ```bash
30
+ npx @tsparticles/cli-build --help
31
+ ```
32
+
33
+ or
34
+
35
+ ```bash
36
+ tsparticles-build --help
37
+ ```
38
+
39
+ ### Build
40
+
41
+ ```bash
42
+ npx @tsparticles/cli-build
43
+ ```
44
+
45
+ or
46
+
47
+ ```bash
48
+ tsparticles-build
49
+ ```
package/dist/tsc.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import { Command } from "commander";
2
+ import { buildTS } from "./utils.js";
3
+ declare const tscCommand: Command;
4
+ export { buildTS, tscCommand };
package/dist/tsc.js ADDED
@@ -0,0 +1,18 @@
1
+ import { Command } from "commander";
2
+ import { buildTS } from "./utils.js";
3
+ import { existsSync } from "node:fs";
4
+ const tscCommand = new Command("tsc");
5
+ tscCommand.description("Build the TypeScript files for tsParticles library");
6
+ tscCommand.option("--ci", "Do all build steps for CI, no fixing files, only checking if they are formatted correctly, sets silent to true by default", false);
7
+ tscCommand.option("-s, --silent <boolean>", "Reduce the amount of output during the build, defaults to false, except when --ci is set", false);
8
+ tscCommand.action(async () => {
9
+ const opts = tscCommand.opts(), ci = !!opts["ci"], silentOpt = opts["silent"], silent = silentOpt === "false" ? false : !!silentOpt || ci, basePath = process.cwd();
10
+ if (!existsSync(basePath)) {
11
+ throw new Error("Provided path does not exist");
12
+ }
13
+ if (!(await buildTS(basePath, silent))) {
14
+ throw new Error("TypeScript build failed");
15
+ }
16
+ console.info("TypeScript build finished successfully!");
17
+ });
18
+ export { buildTS, tscCommand };
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2025.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2025.collection.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2025.float16.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2025.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2025.iterator.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2025.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2025.regexp.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.date.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.temporal.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/.pnpm/commander@14.0.3/node_modules/commander/typings/index.d.ts","../../../../node_modules/.pnpm/commander@14.0.3/node_modules/commander/typings/esm.d.mts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/typescript.d.ts","../src/utils.ts","../src/tsc.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/globals.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/blob.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/console.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/encoding.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/utility.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/header.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/readable.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/fetch.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/formdata.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/connector.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/client-stats.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/client.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/errors.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/global-origin.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/pool.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/handlers.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/round-robin-pool.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/h2c-client.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/agent.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/mock-call-history.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/mock-client.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/snapshot-agent.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/api.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/interceptors.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/util.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/cookies.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/patch.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/websocket.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/eventsource.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/content-type.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/cache.d.ts","../../../../node_modules/.pnpm/undici-types@7.19.2/node_modules/undici-types/index.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/importmeta.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/messaging.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/performance.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/timers.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/web-globals/url.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/assert.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/buffer.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/child_process.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/cluster.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/console.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/constants.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/crypto.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/dgram.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/dns.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/domain.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/events.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/fs.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/http.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/http2.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/https.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/inspector.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/inspector.generated.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/inspector/promises.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/module.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/net.d.ts","../../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/os.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/path.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/path/posix.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/path/win32.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/decode.d.ts","../../../../node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/encode.d.ts","../../../../node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/index.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/process.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/punycode.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/querystring.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/quic.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/readline.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/repl.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/sea.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/sqlite.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/stream.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/stream/web.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/test.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/test/reporters.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/timers.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/tls.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/trace_events.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/tty.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/url.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/util.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/util/types.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/v8.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/vm.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/wasi.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/zlib.d.ts","../../../../node_modules/.pnpm/@types+node@25.6.0/node_modules/@types/node/index.d.ts","../../../../node_modules/.pnpm/@types+klaw@3.0.7/node_modules/@types/klaw/index.d.ts","../../../../node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/kleur.d.ts","../../../../node_modules/.pnpm/@types+prompts@2.4.9/node_modules/@types/prompts/index.d.ts","../../../../node_modules/.pnpm/@types+estree@1.0.8/node_modules/@types/estree/index.d.ts","../../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts","../../../../node_modules/.pnpm/@eslint+core@1.2.1/node_modules/@eslint/core/dist/cjs/types.d.cts","../../../../node_modules/.pnpm/@eslint+plugin-kit@0.7.1/node_modules/@eslint/plugin-kit/dist/cjs/types.cts","../../../../node_modules/.pnpm/@eslint+plugin-kit@0.7.1/node_modules/@eslint/plugin-kit/dist/cjs/index.d.cts","../../../../node_modules/.pnpm/eslint@10.3.0_jiti@2.6.1/node_modules/eslint/lib/types/index.d.ts"],"fileIdsList":[[89,91,95,158,166,170,173,175,176,177,193],[90,95,158,166,170,171,173,175,176,177,182,193],[95,158,166,170,173,175,176,177,193,223],[95,158,166,170,173,175,176,177,193,224,225],[95,158,166,170,173,175,176,177,193,224],[95,158,166,170,173,175,176,177,193],[95,158,166,170,173,175,176,177,193,198,218],[95,155,156,158,166,170,173,175,176,177,193],[95,157,158,166,170,173,175,176,177,193],[158,166,170,173,175,176,177,193],[95,158,166,170,173,175,176,177,193,201],[95,158,159,164,166,169,170,173,175,176,177,179,193,198,210],[95,158,159,160,166,169,170,173,175,176,177,193],[95,158,161,166,170,173,175,176,177,193,211],[95,158,162,163,166,170,173,175,176,177,181,193],[95,158,163,166,170,173,175,176,177,193,198,207],[95,158,164,166,169,170,173,175,176,177,179,193],[95,157,158,165,166,170,173,175,176,177,193],[95,158,166,167,170,173,175,176,177,193],[95,158,166,168,169,170,173,175,176,177,193],[95,157,158,166,169,170,173,175,176,177,193],[95,158,166,169,170,171,173,175,176,177,193,198,210],[95,158,166,169,170,171,173,175,176,177,193,198,201],[95,145,158,166,169,170,172,173,175,176,177,179,193,198,210],[95,158,166,169,170,172,173,175,176,177,179,193,198,207,210],[95,158,166,170,172,173,174,175,176,177,193,198,207,210],[93,94,95,96,97,98,99,100,101,102,103,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217],[95,158,166,169,170,173,175,176,177,193],[95,158,166,170,173,175,177,193],[95,158,166,170,173,175,176,177,178,193,210],[95,158,166,169,170,173,175,176,177,179,193,198],[95,158,166,170,173,175,176,177,181,193],[95,158,166,170,173,175,176,177,182,193],[95,158,166,169,170,173,175,176,177,185,193],[95,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217],[95,158,166,170,173,175,176,177,190,193],[95,158,166,170,173,175,176,177,191,193],[95,158,163,166,170,173,175,176,177,179,193,201],[95,158,166,169,170,173,175,176,177,193,194],[95,158,166,170,173,175,176,177,193,195,211,214],[95,158,166,169,170,173,175,176,177,193,198,200,201],[95,158,166,170,173,175,176,177,193,199,201],[95,158,166,170,173,175,176,177,193,201,211],[95,158,166,170,173,175,176,177,193,202],[95,155,158,166,170,173,175,176,177,193,198,204,210],[95,158,166,170,173,175,176,177,193,198,203],[95,158,166,169,170,173,175,176,177,193,205,206],[95,158,166,170,173,175,176,177,193,205,206],[95,158,163,166,170,173,175,176,177,179,193,198,207],[95,158,166,170,173,175,176,177,193,208],[95,158,166,170,173,175,176,177,179,193,209],[95,158,166,170,172,173,175,176,177,191,193,210],[95,158,166,170,173,175,176,177,193,211,212],[95,158,163,166,170,173,175,176,177,193,212],[95,158,166,170,173,175,176,177,193,198,213],[95,158,166,170,173,175,176,177,178,193,214],[95,158,166,170,173,175,176,177,193,215],[95,158,161,166,170,173,175,176,177,193],[95,158,163,166,170,173,175,176,177,193],[95,158,166,170,173,175,176,177,193,211],[95,145,158,166,170,173,175,176,177,193],[95,158,166,170,173,175,176,177,193,210],[95,158,166,170,173,175,176,177,193,216],[95,158,166,170,173,175,176,177,185,193],[95,158,166,170,173,175,176,177,193,206],[95,145,158,166,169,170,171,173,175,176,177,185,193,198,201,210,213,214,216],[95,158,166,170,173,175,176,177,193,198,217],[95,158,166,170,173,175,176,177,193,198,218,220],[88,95,158,166,170,173,175,176,177,193],[95,158,166,170,173,175,176,177,193,222,224,226],[95,158,166,170,173,175,176,177,186,187,193],[95,110,113,116,117,158,166,170,173,175,176,177,193,210],[95,113,158,166,170,173,175,176,177,193,198,210],[95,113,117,158,166,170,173,175,176,177,193,210],[95,158,166,170,173,175,176,177,193,198],[95,107,158,166,170,173,175,176,177,193],[95,111,158,166,170,173,175,176,177,193],[95,109,110,113,158,166,170,173,175,176,177,193,210],[95,158,166,170,173,175,176,177,179,193,207],[95,158,166,170,173,175,176,177,193,218],[95,107,158,166,170,173,175,176,177,193,218],[95,109,113,158,166,170,173,175,176,177,179,193,210],[95,104,105,106,108,112,158,166,169,170,173,175,176,177,193,198,210],[95,113,122,130,158,166,170,173,175,176,177,193],[95,105,111,158,166,170,173,175,176,177,193],[95,113,139,140,158,166,170,173,175,176,177,193],[95,105,108,113,158,166,170,173,175,176,177,193,201,210,218],[95,113,158,166,170,173,175,176,177,193],[95,109,113,158,166,170,173,175,176,177,193,210],[95,104,158,166,170,173,175,176,177,193],[95,107,108,109,111,112,113,114,115,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,140,141,142,143,144,158,166,170,173,175,176,177,193],[95,113,132,135,158,166,170,173,175,176,177,193],[95,113,122,123,124,158,166,170,173,175,176,177,193],[95,111,113,123,125,158,166,170,173,175,176,177,193],[95,112,158,166,170,173,175,176,177,193],[95,105,107,113,158,166,170,173,175,176,177,193],[95,113,117,123,125,158,166,170,173,175,176,177,193],[95,117,158,166,170,173,175,176,177,193],[95,111,113,116,158,166,170,173,175,176,177,193,210],[95,105,109,113,122,158,166,170,173,175,176,177,193],[95,113,132,158,166,170,173,175,176,177,193],[95,125,158,166,170,173,175,176,177,193],[95,107,113,139,158,166,170,173,175,176,177,193,201,216,218]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"1e9332c23e9a907175e0ffc6a49e236f97b48838cc8aec9ce7e4cec21e544b65","impliedFormat":1},{"version":"3753fbc1113dc511214802a2342280a8b284ab9094f6420e7aa171e868679f91","impliedFormat":1},{"version":"999ca32883495a866aa5737fe1babc764a469e4cde6ee6b136a4b9ae68853e4b","impliedFormat":1},{"version":"17f13ecb98cbc39243f2eee1f16d45cd8ec4706b03ee314f1915f1a8b42f6984","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"0bd714129fca875f7d4c477a1a392200b0bcd13fb2e80928cd334b63830ea047","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2c9037ae6cd2c52d80ceef0b3c5ffdb488627d71529cf4f63776daf11161c9a","affectsGlobalScope":true,"impliedFormat":1},{"version":"135d5cf4d345f59f1a9caadfafcd858d3d9cc68290db616cc85797224448cccc","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc238c3f81c2984751932b6aab223cd5b830e0ac6cad76389e5e9d2ffc03287d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4a07f9b76d361f572620927e5735b77d6d2101c23cdd94383eb5b706e7b36357","affectsGlobalScope":true,"impliedFormat":1},{"version":"7c4e8dc6ab834cc6baa0227e030606d29e3e8449a9f67cdf5605ea5493c4db29","affectsGlobalScope":true,"impliedFormat":1},{"version":"de7ba0fd02e06cd9a5bd4ab441ed0e122735786e67dde1e849cced1cd8b46b78","affectsGlobalScope":true,"impliedFormat":1},{"version":"6148e4e88d720a06855071c3db02069434142a8332cf9c182cda551adedf3156","affectsGlobalScope":true,"impliedFormat":1},{"version":"d63dba625b108316a40c95a4425f8d4294e0deeccfd6c7e59d819efa19e23409","affectsGlobalScope":true,"impliedFormat":1},{"version":"0568d6befee03dd435bed4fc25c4e46865b24bdcb8c563fdc21f580a2c301904","affectsGlobalScope":true,"impliedFormat":1},{"version":"30d62269b05b584741f19a5369852d5d34895aa2ac4fd948956f886d15f9cc0d","affectsGlobalScope":true,"impliedFormat":1},{"version":"f128dae7c44d8f35ee42e0a437000a57c9f06cc04f8b4fb42eebf44954d53dc8","affectsGlobalScope":true,"impliedFormat":1},{"version":"ffbe6d7b295306b2ba88030f65b74c107d8d99bdcf596ea99c62a02f606108b0","affectsGlobalScope":true,"impliedFormat":1},{"version":"996fb27b15277369c68a4ba46ed138b4e9e839a02fb4ec756f7997629242fd9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"79b712591b270d4778c89706ca2cfc56ddb8c3f895840e477388f1710dc5eda9","affectsGlobalScope":true,"impliedFormat":1},{"version":"20884846cef428b992b9bd032e70a4ef88e349263f63aeddf04dda837a7dba26","affectsGlobalScope":true,"impliedFormat":1},{"version":"5fcab789c73a97cd43828ee3cc94a61264cf24d4c44472ce64ced0e0f148bdb2","affectsGlobalScope":true,"impliedFormat":1},{"version":"db59a81f070c1880ad645b2c0275022baa6a0c4f0acdc58d29d349c6efcf0903","affectsGlobalScope":true,"impliedFormat":1},{"version":"673294292640f5722b700e7d814e17aaf7d93f83a48a2c9b38f33cbc940ad8b0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d786b48f934cbca483b3c6d0a798cb43bbb4ada283e76fb22c28e53ae05b9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ecb8e347cb6b2a8927c09b86263663289418df375f5e68e11a0ae683776978f","affectsGlobalScope":true,"impliedFormat":1},{"version":"142efd4ce210576f777dc34df121777be89eda476942d6d6663b03dcb53be3ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"379bc41580c2d774f82e828c70308f24a005b490c25ba34d679d84bcf05c3d9d","affectsGlobalScope":true,"impliedFormat":1},{"version":"ed484fb2aa8a1a23d0277056ec3336e0a0b52f9b8d6a961f338a642faf43235d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ffedae1d1c2d53fdbca1c96d3c7dda544281f7d262f99b6880634f8fd8d9820","affectsGlobalScope":true,"impliedFormat":1},{"version":"83a730b125d477dd264df8ba479afab27a3dae7152b005c214ab94dc7ee44fd3","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"0237580177f1a858ab125992af8a6dfc29268fe7d4bac5308b9f462f88b0cd31","impliedFormat":1},{"version":"b124c0624b15412ace7d54644ade38d7a69db7e25488a1a4d2a8df6e11696538","impliedFormat":99},{"version":"c967e03c8dbb4770f7e2f0b71b5d13593de679a41cc2b60266c4b69f1342a263","impliedFormat":1},{"version":"96b5463b87a7c41b340949580def393111d353104a0633e671a32fd252e5a05a","signature":"33b16964144d6bd70d011c6fd39e82f617bd8386252f55a06945765b74acd14f","impliedFormat":99},{"version":"4325dba480a1e6f2d0d8a47e9db72bc255bcb5678d41d0066dcdb516527e8109","signature":"642b2acb2a08c0eafe5e63ac477026f2db17b0f6dd6819c69a9e0f4bb02d8f14","impliedFormat":99},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"cc2110f7decca6bfb9392e30421cfa1436479e4a6756e8fec6cbc22625d4f881","affectsGlobalScope":true,"impliedFormat":1},{"version":"096116f8fedc1765d5bd6ef360c257b4a9048e5415054b3bf3c41b07f8951b0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"156a859e21ef3244d13afeeba4e49760a6afa035c149dda52f0c45ea8903b338","impliedFormat":1},{"version":"10ec5e82144dfac6f04fa5d1d6c11763b3e4dbbac6d99101427219ab3e2ae887","impliedFormat":1},{"version":"615754924717c0b1e293e083b83503c0a872717ad5aa60ed7f1a699eb1b4ea5c","impliedFormat":1},{"version":"074de5b2fdead0165a2757e3aaef20f27a6347b1c36adea27d51456795b37682","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"4137ebf04166f3a325f056aa56101adc75e9dceb30404a1844eb8604d89770e2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"3e11fce78ad8c0e1d1db4ba5f0652285509be3acdd519529bc8fcef85f7dafd9","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"9c32412007b5662fd34a8eb04292fb5314ec370d7016d1c2fb8aa193c807fe22","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"4d327f7d72ad0918275cea3eee49a6a8dc8114ae1d5b7f3f5d0774de75f7439a","impliedFormat":1},{"version":"6ebe8ebb8659aaa9d1acbf3710d7dae3e923e97610238b9511c25dc39023a166","impliedFormat":1},{"version":"e85d7f8068f6a26710bff0cc8c0fc5e47f71089c3780fbede05857331d2ddec9","impliedFormat":1},{"version":"7befaf0e76b5671be1d47b77fcc65f2b0aad91cc26529df1904f4a7c46d216e9","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"8aee8b6d4f9f62cf3776cda1305fb18763e2aade7e13cea5bbe699112df85214","impliedFormat":1},{"version":"98498b101803bb3dde9f76a56e65c14b75db1cc8bec5f4db72be541570f74fc5","impliedFormat":1},{"version":"1cc2a09e1a61a5222d4174ab358a9f9de5e906afe79dbf7363d871a7edda3955","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"b64d4d1c5f877f9c666e98e833f0205edb9384acc46e98a1fef344f64d6aba44","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"12950411eeab8563b349cb7959543d92d8d02c289ed893d78499a19becb5a8cc","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"c9381908473a1c92cb8c516b184e75f4d226dad95c3a85a5af35f670064d9a2f","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"d2ae155afe8a01cc0ae612d99117cf8ef16692ba7c4366590156fdec1bcf2d8c","impliedFormat":1},{"version":"3f5e5d9be35913db9fea42a63f3df0b7e3c8703b97670a2125587b4dbbd56d7c","impliedFormat":1},{"version":"8caeb65fdc3bfe0d13f86f67324fcb2d858ed1c55f1f0cce892eb1acfb9f3239","impliedFormat":1},{"version":"57c23df0b5f7a8e26363a3849b0bc7763f6b241207157c8e40089d1df4116f35","affectsGlobalScope":true,"impliedFormat":1},{"version":"3b8bc0c17b54081b0878673989216229e575d67a10874e84566a21025a2461ee","impliedFormat":1},{"version":"5b0db5a58b73498792a29bfebc333438e61906fef75da898b410e24e52229e6f","impliedFormat":1},{"version":"dbe055b2b29a7bab2c1ca8f259436306adb43f469dca7e639a02cd3695d3f621","impliedFormat":1},{"version":"1678b04557dca52feab73cc67610918a7f5e25bfdba3e7fa081acd625d93106d","impliedFormat":1},{"version":"e3905f6902f0b69e5eefc230daa69fdd4ab707a973ec2d086d65af1b3ea47ef0","impliedFormat":1},{"version":"2ea729503db9793f2691162fec3dd1118cab62e96d025f8eeb376d43ec293395","impliedFormat":1},{"version":"9ec87fea42b92894b0f209931a880789d43c3397d09dd99c631ae40a2f7071d1","impliedFormat":1},{"version":"c68e88cdfadfb6c8ba5fc38e58a3a166b0beae77b1f05b7d921150a32a5ffb8d","impliedFormat":1},{"version":"2bc7aa4fba46df0bd495425a7c8201437a7d465f83854fac859df2d67f664df3","impliedFormat":1},{"version":"41d17e1ad9a002feb11c8cdd2777e5bbc0cdb1e3f595d237e4dded0b6949983b","impliedFormat":1},{"version":"07e4e61e946a9c15045539ecd5f5d2d02e7aab6fa82567826857e09cf0f37c2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c4714ccc29149efb8777a1da0b04b8d2258f5d13ddbf4cd3c3d361fb531ac86","impliedFormat":1},{"version":"3ff275f84f89f8a7c0543da838f9da9614201abc4ce74c533029825adfb4433d","impliedFormat":1},{"version":"0eb5d0cbf09de5d34542b977fd6a933bb2e0817bffe8e1a541b2f1ad1b9af1ff","impliedFormat":1},{"version":"f9713757bcdfa4d58b48c0fb249e752c94a3eee8bf4532b906094246ac49ef88","impliedFormat":1},{"version":"2c2bdaa1d8ead9f68628d6d9d250e46ee8e81aa4898b4769a36956ae15e060fe","impliedFormat":1},{"version":"c32c840c62d8bd7aeb3147aa6754cd2d922b990a6b6634530cb2ebdce5adc8e9","impliedFormat":1},{"version":"e1c1a0b4d1ead0de9eca52203aeb1f771f21e6238d6fcd15aa56ac2a02f1b7bf","impliedFormat":1},{"version":"82b91e4e42e6c41bc7fc1b6c2dc5eba6a2ba98375eb1f210e6ff6bba2d54177e","impliedFormat":1},{"version":"6fe28249ac0c7bc19a79aa9264baf00efbd080e868dbe1d3052033ad1c64f206","affectsGlobalScope":true,"impliedFormat":1},{"version":"cbed824fec91efefc7bbdcb8b43d1a531fdbebd0e2ef19481501ff365a93cb70","impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"d0716593b3f2b0451bcf0c24cfa86dec2235c325c89f201934248b7c742715fc","impliedFormat":1},{"version":"ec501101c2a96133a6c695f934c8f6642149cc728571b29cbb7b770984c1088e","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"2991bca2cc0f0628a278df2a2ccdb8d6cbcb700f3761abbed62bba137d5b1790","impliedFormat":1},{"version":"ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa","impliedFormat":1},{"version":"ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26","impliedFormat":1},{"version":"46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f","impliedFormat":1},{"version":"ce8653341224f8b45ff46d2a06f2cacb96f841f768a886c9d8dd8ec0878b11bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"230763250f20449fa7b3c9273e1967adb0023dc890d4be1553faca658ee65971","impliedFormat":1},{"version":"c3e9078b60cb329d1221f5878e88cecfa3e74460550e605a58fcfb41a66029ff","impliedFormat":1},{"version":"a74edb3bab7394a9dbde529d60632be590def2f5f01024dbd85441587fbfbbe0","impliedFormat":1},{"version":"0ea59f7d3e51440baa64f429253759b106cfcbaf51e474cae606e02265b37cf8","impliedFormat":1},{"version":"bc18a1991ba681f03e13285fa1d7b99b03b67ee671b7bc936254467177543890","impliedFormat":1},{"version":"00049ccc87f3f37726db03c01ca68fe74fd9c0109b68c29eb9923ebec2c76b13","impliedFormat":1},{"version":"fa94bbf532b7af8f394b95fa310980d6e20bd2d4c871c6a6cb9f70f03750a44b","impliedFormat":1},{"version":"68d3f35108e2608b1f2f28b36d19d7055f31c4465cc5692cbd06c716a9fe7973","impliedFormat":1},{"version":"a6d543044570fbeed13a7f9925a868081cd2b14ef59cdd9da6ae76d41cab03d3","affectsGlobalScope":true,"impliedFormat":1},{"version":"7fa2214bb0d64701bc6f9ce8cde2fd2ff8c571e0b23065fa04a8a5a6beb91511","impliedFormat":1},{"version":"f1c93e046fb3d9b7f8249629f4b63dc068dd839b824dd0aa39a5e68476dc9420","impliedFormat":1},{"version":"eab2f3179607acb3d44b2db2a76dd7d621c5039b145dc160a1ee733963f9d2f5","impliedFormat":1},{"version":"841983e39bd4cbb463be385e92fda11057cab368bf27100a801c492f1d86cbaa","impliedFormat":1},{"version":"6f5383b3df1cdf4ff1aa7fb0850f77042b5786b5e65ec9a9b6be56ebfe4d9036","impliedFormat":1},{"version":"62fc21ed9ccbd83bd1166de277a4b5daaa8d15b5fa614c75610d20f3b73fba87","impliedFormat":1},{"version":"e4156ddb25aa0e3b5303d372f26957b36778f0f6bbd4326359269873295e3058","affectsGlobalScope":true,"impliedFormat":1},{"version":"cc1b433a84cae05ddc5672d4823170af78606ad21ecef60dbc4570190cbf1357","impliedFormat":1},{"version":"9d3821bc75c59577e52643324cec92fc2145642e8d17cf7ee07a3181f21d985d","impliedFormat":1},{"version":"7f78cfb2b343838612c192cb251746e3a7c62ac7675726a47e130d9b213f6580","impliedFormat":1},{"version":"201db9cf1687fab1adf5282fcba861f382b32303dc4f67c89d59655e78a25461","impliedFormat":1},{"version":"c77fb31bc17fd241d3922a9f88c59e3361cdf76d1328ba9412fc6bf7310b638d","impliedFormat":1},{"version":"0a20eaf2e4b1e3c1e1f87f7bccb0c936375b23b022baeea750519b7c9bc6ce83","impliedFormat":1},{"version":"b484ec11ba00e3a2235562a41898d55372ccabe607986c6fa4f4aba72093749f","impliedFormat":1},{"version":"a16b91b27bd6b706c687c88cbc8a7d4ee98e5ed6043026d6b84bda923c0aed67","impliedFormat":1},{"version":"694b812e0ed11285e8822cf8131e3ce7083a500b3b1d185fff9ed1089677bd0a","impliedFormat":1},{"version":"99ab6d0d660ce4d21efb52288a39fd35bb3f556980ec5463b1ae8f304a3bbc85","impliedFormat":1},{"version":"6eeded8c7e352be6e0efb83f4935ec752513c4d22043b52522b90849a49a3a11","impliedFormat":1},{"version":"6c1ad90050ffbb151cacc68e2d06ea1a26a945659391e32651f5d42b86fd7f2c","impliedFormat":1},{"version":"55cdbeebe76a1fa18bbd7e7bf73350a2173926bd3085bb050cf5a5397025ee4e","impliedFormat":1},{"version":"153e8706f08877b1a8fa309ad836499cc6e98c05db7457f46c2e8e39b6b0f65e","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ab263df6465e2ed8f1d02922bae18bb5b407020767de021449a4c509859b22e","impliedFormat":1},{"version":"6805621d9f970cda51ab1516e051febe5f3ec0e45b371c7ad98ac2700d13d57c","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"3671af8f58c05e9c83409ae56cb2a3db3c2e0a4cd082e685933d72f1c1a621ae","impliedFormat":1},{"version":"0f6d2591c6dbab10e42a87df2e9cfdf1673cb4001a03f32c75ad1a327329080a","impliedFormat":1},{"version":"37ecd7aa9e464b72ca1286207dc7567bff2214cd73e9da6bf9b5d3274707e210","impliedFormat":1},{"version":"ba3cb8eac8836e194aab59cc7bc6a622d2a0d4bd4041b97550d0d1a21e45fd41","impliedFormat":1}],"root":[91,92],"options":{"allowSyntheticDefaultImports":true,"alwaysStrict":true,"composite":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noImplicitReturns":true,"noImplicitThis":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","strict":true,"strictBindCallApply":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":99,"useUnknownInCatchVariables":true},"referencedMap":[[92,1],[91,2],[224,3],[226,4],[225,5],[222,6],[223,6],[219,7],[155,8],[156,8],[157,9],[95,10],[158,11],[159,12],[160,13],[93,6],[161,14],[162,15],[163,16],[164,17],[165,18],[166,19],[167,19],[168,20],[169,21],[170,22],[171,23],[96,6],[94,6],[172,24],[173,25],[174,26],[218,27],[175,28],[176,29],[177,28],[178,30],[179,31],[181,32],[182,33],[183,33],[184,33],[185,34],[189,35],[190,36],[191,37],[192,38],[193,39],[194,39],[195,40],[196,6],[197,6],[198,41],[199,42],[200,41],[201,43],[202,44],[203,45],[204,46],[205,47],[206,48],[207,49],[208,50],[209,51],[210,52],[211,53],[212,54],[213,55],[214,56],[215,57],[97,28],[98,6],[99,58],[100,59],[101,6],[102,60],[103,6],[146,61],[147,62],[148,63],[149,63],[150,64],[151,6],[152,11],[153,65],[154,62],[216,66],[217,67],[221,68],[180,6],[89,69],[88,6],[227,70],[220,6],[186,6],[187,6],[188,71],[86,6],[87,6],[15,6],[14,6],[2,6],[16,6],[17,6],[18,6],[19,6],[20,6],[21,6],[22,6],[23,6],[3,6],[24,6],[25,6],[4,6],[26,6],[30,6],[27,6],[28,6],[29,6],[31,6],[32,6],[33,6],[5,6],[34,6],[35,6],[36,6],[37,6],[6,6],[41,6],[38,6],[39,6],[40,6],[42,6],[7,6],[43,6],[48,6],[49,6],[44,6],[45,6],[46,6],[47,6],[8,6],[53,6],[50,6],[51,6],[52,6],[54,6],[9,6],[55,6],[56,6],[57,6],[59,6],[58,6],[60,6],[61,6],[10,6],[62,6],[63,6],[64,6],[11,6],[65,6],[66,6],[67,6],[68,6],[69,6],[70,6],[12,6],[71,6],[72,6],[73,6],[74,6],[75,6],[1,6],[76,6],[77,6],[13,6],[78,6],[79,6],[80,6],[81,6],[82,6],[83,6],[84,6],[85,6],[90,6],[122,72],[134,73],[119,74],[135,75],[144,76],[110,77],[111,78],[109,79],[143,80],[138,81],[142,82],[113,83],[131,84],[112,85],[141,86],[107,87],[108,81],[114,88],[115,6],[121,89],[118,88],[105,90],[145,91],[136,92],[125,93],[124,88],[126,94],[129,95],[123,96],[127,97],[139,80],[116,98],[117,99],[130,100],[106,75],[133,101],[132,88],[120,99],[128,102],[137,6],[104,6],[140,103]],"latestChangedDtsFile":"./tsc.d.ts","version":"6.0.3"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @param basePath -
3
+ * @param silent -
4
+ * @returns true if the build was successful
5
+ */
6
+ export declare function buildTS(basePath: string, silent: boolean): Promise<boolean>;
package/dist/utils.js ADDED
@@ -0,0 +1,164 @@
1
+ import { existsSync } from "node:fs";
2
+ import path from "node:path";
3
+ import { readFile } from "node:fs/promises";
4
+ var ExitCodes;
5
+ (function (ExitCodes) {
6
+ ExitCodes[ExitCodes["OK"] = 0] = "OK";
7
+ ExitCodes[ExitCodes["EmitErrors"] = 1] = "EmitErrors";
8
+ ExitCodes[ExitCodes["NoDataOrOptions"] = 2] = "NoDataOrOptions";
9
+ ExitCodes[ExitCodes["NoOptions"] = 3] = "NoOptions";
10
+ ExitCodes[ExitCodes["ParseError"] = 4] = "ParseError";
11
+ })(ExitCodes || (ExitCodes = {}));
12
+ const compileConfigs = {
13
+ browser: {
14
+ configFile: "tsconfig.browser.json",
15
+ extends: "@tsparticles/tsconfig/dist/tsconfig.browser.json",
16
+ outDir: "./dist/browser",
17
+ },
18
+ cjs: {
19
+ configFile: "tsconfig.json",
20
+ extends: "@tsparticles/tsconfig/dist/tsconfig.json",
21
+ outDir: "./dist/cjs",
22
+ },
23
+ esm: {
24
+ configFile: "tsconfig.module.json",
25
+ extends: "@tsparticles/tsconfig/dist/tsconfig.module.json",
26
+ outDir: "./dist/esm",
27
+ },
28
+ types: {
29
+ configFile: "tsconfig.types.json",
30
+ extends: "@tsparticles/tsconfig/dist/tsconfig.types.json",
31
+ outDir: "./dist/types",
32
+ },
33
+ };
34
+ /**
35
+ * @param type -
36
+ * @returns -
37
+ */
38
+ function getDefaultOptions(type) {
39
+ const config = compileConfigs[type];
40
+ return {
41
+ extends: config.extends,
42
+ compilerOptions: {
43
+ rootDir: "./src",
44
+ outDir: config.outDir,
45
+ },
46
+ include: ["./src"],
47
+ };
48
+ }
49
+ /**
50
+ * @param basePath -
51
+ * @param file -
52
+ * @returns the file content or undefined if the file doesn't exist
53
+ */
54
+ async function readConfig(basePath, file) {
55
+ const tsconfigPath = path.join(basePath, file);
56
+ if (existsSync(tsconfigPath)) {
57
+ const data = await readFile(path.join(basePath, file));
58
+ return data.toString();
59
+ }
60
+ return undefined;
61
+ }
62
+ /**
63
+ * @param basePath -
64
+ * @param type -
65
+ * @param silent -
66
+ * @returns the exit code
67
+ */
68
+ async function compile(basePath, type, silent) {
69
+ let options;
70
+ const logs = [], data = await readConfig(basePath, compileConfigs[type].configFile);
71
+ if (!data) {
72
+ options = getDefaultOptions(type);
73
+ }
74
+ if (!data && !options) {
75
+ logs.push(`No TS config found for ${type} build.`);
76
+ return {
77
+ type,
78
+ logs,
79
+ exitCode: ExitCodes.NoDataOrOptions,
80
+ };
81
+ }
82
+ if (!options && data) {
83
+ options = JSON.parse(data);
84
+ }
85
+ if (!options) {
86
+ logs.push(`No TS options available for ${type} build.`);
87
+ return {
88
+ type,
89
+ logs,
90
+ exitCode: ExitCodes.NoOptions,
91
+ };
92
+ }
93
+ const ts = await import("typescript");
94
+ let parsed = ts.parseJsonConfigFileContent(options, ts.sys, basePath);
95
+ if (parsed.errors.length && type === "cjs" && data) {
96
+ const noInputsCode = 18003, hasNoInputsError = parsed.errors.some(diagnostic => diagnostic.code === noInputsCode);
97
+ if (hasNoInputsError) {
98
+ options = getDefaultOptions(type);
99
+ parsed = ts.parseJsonConfigFileContent(options, ts.sys, basePath);
100
+ if (!silent) {
101
+ logs.push("Using default cjs build options because tsconfig.json has no input files for this build.");
102
+ }
103
+ }
104
+ }
105
+ if (parsed.errors.length) {
106
+ for (const diagnostic of parsed.errors) {
107
+ logs.push(ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n"));
108
+ }
109
+ return {
110
+ type,
111
+ logs,
112
+ exitCode: ExitCodes.ParseError,
113
+ };
114
+ }
115
+ const program = ts.createProgram(parsed.fileNames, parsed.options), emitResult = program.emit(), allDiagnostics = ts.getPreEmitDiagnostics(program).concat(emitResult.diagnostics);
116
+ let failed = false;
117
+ for (const diagnostic of allDiagnostics) {
118
+ failed = failed || diagnostic.category === ts.DiagnosticCategory.Error;
119
+ if (diagnostic.file) {
120
+ const startingPos = 0, { line, character } = ts.getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start ?? startingPos), message = ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n"), increment = 1;
121
+ logs.push(`${diagnostic.file.fileName} (${(line + increment).toString()},${(character + increment).toString()}): ${message}`);
122
+ }
123
+ else {
124
+ logs.push(ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n"));
125
+ }
126
+ }
127
+ const exitCode = emitResult.emitSkipped || failed ? ExitCodes.EmitErrors : ExitCodes.OK;
128
+ if (!silent || exitCode) {
129
+ logs.push(`TSC for ${type} done with exit code: '${exitCode.toLocaleString()}'.`);
130
+ }
131
+ return {
132
+ type,
133
+ logs,
134
+ exitCode,
135
+ };
136
+ }
137
+ /**
138
+ * @param basePath -
139
+ * @param silent -
140
+ * @returns true if the build was successful
141
+ */
142
+ export async function buildTS(basePath, silent) {
143
+ if (!silent) {
144
+ console.info("Building TS files");
145
+ }
146
+ const types = ["browser", "cjs", "esm", "types"], results = await Promise.all(types.map(type => compile(basePath, type, silent)));
147
+ for (const type of types) {
148
+ const result = results.find(r => r.type === type);
149
+ if (!result) {
150
+ continue;
151
+ }
152
+ if (!silent) {
153
+ console.info(`Building TS files for ${type} configuration`);
154
+ }
155
+ for (const log of result.logs) {
156
+ console.info(log);
157
+ }
158
+ }
159
+ const res = results.every(result => result.exitCode === ExitCodes.OK);
160
+ if (!silent) {
161
+ console.info("Building TS files done");
162
+ }
163
+ return res;
164
+ }
@@ -0,0 +1,22 @@
1
+ import path from "path";
2
+ import {fileURLToPath} from "url";
3
+ import {defineConfig} from "eslint/config";
4
+ import tsParticlesESLintConfig from "@tsparticles/eslint-config";
5
+
6
+ const __dirname = path.dirname(fileURLToPath(import.meta.url));
7
+
8
+ export default defineConfig([
9
+ tsParticlesESLintConfig,
10
+ {
11
+ languageOptions: {
12
+ parserOptions: {
13
+ project: [path.join(__dirname, "src", "tsconfig.json")],
14
+ tsconfigRootDir: __dirname,
15
+ sourceType: "module"
16
+ }
17
+ },
18
+ rules: {
19
+ "no-console": "off"
20
+ }
21
+ }
22
+ ]);
package/package.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "@tsparticles/cli-command-build-tsc",
3
+ "version": "4.0.0-beta.12",
4
+ "license": "MIT",
5
+ "type": "module",
6
+ "publishConfig": {
7
+ "access": "public",
8
+ "tagVersionPrefix": "v"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/tsparticles/tsparticles.git",
13
+ "directory": "cli/commands/build-tsc"
14
+ },
15
+ "prettier": "@tsparticles/prettier-config",
16
+ "peerDependencies": {
17
+ "commander": "^14",
18
+ "typescript": "^6"
19
+ },
20
+ "dependencies": {
21
+ "@swc/core": "^1.15.32",
22
+ "eslint": "^10.3.0",
23
+ "eslint-config-prettier": "^10.1.8",
24
+ "eslint-plugin-jsdoc": "^62.9.0",
25
+ "eslint-plugin-prettier": "^5.5.5",
26
+ "eslint-plugin-tsdoc": "^0.5.2",
27
+ "klaw": "^4.1.0",
28
+ "lookpath": "^1.2.3",
29
+ "dependency-cruiser": "^17.3.10",
30
+ "path-scurry": "^2.0.2",
31
+ "prettier": "^3.8.3",
32
+ "prettier-plugin-multiline-arrays": "^4.1.7",
33
+ "prompts": "^2.4.2",
34
+ "rimraf": "^6.1.3",
35
+ "swc-loader": "^0.2.7",
36
+ "typescript-eslint": "^8.59.1",
37
+ "@tsparticles/eslint-config": "^4.0.0-beta.12",
38
+ "@tsparticles/prettier-config": "^4.0.0-beta.12",
39
+ "@tsparticles/tsconfig": "^4.0.0-beta.12",
40
+ "@tsparticles/depcruise-config": "^4.0.0-beta.12"
41
+ },
42
+ "devDependencies": {
43
+ "@types/estree": "^1.0.8",
44
+ "@types/klaw": "^3.0.7",
45
+ "@types/node": "^25.6.0",
46
+ "@types/prompts": "^2.4.9",
47
+ "browserslist": "^4.28.2",
48
+ "commander": "^14.0.3",
49
+ "copyfiles": "^2.4.1",
50
+ "cross-env": "^10.1.0",
51
+ "ts-node": "^10.9.2",
52
+ "typescript": "^6.0.3"
53
+ },
54
+ "description": "tsParticles CLI",
55
+ "main": "dist/tsc.js",
56
+ "author": "Matteo Bruni <matteo.bruni@me.com>",
57
+ "scripts": {
58
+ "prettify:ci:src": "prettier --check ./src/*",
59
+ "prettify:ci:readme": "prettier --check ./README.md",
60
+ "prettify:src": "prettier --write ./src/*",
61
+ "prettify:readme": "prettier --write ./README.md",
62
+ "lint": "eslint src --ext .js,.jsx,.ts,.tsx --cache --cache-location .cache/eslint/.eslintcache --cache-strategy metadata --fix",
63
+ "lint:ci": "eslint src --ext .js,.jsx,.ts,.tsx --cache --cache-location .cache/eslint/.eslintcache --cache-strategy metadata",
64
+ "circular-deps": "depcruise src --include-only '^src' --validate --output-type err-long",
65
+ "compile": "pnpm run build:ts",
66
+ "compile:ci": "pnpm run build:ts",
67
+ "build:ts": "pnpm run build:ts:cjs",
68
+ "build:ts:cjs": "tsc -p src",
69
+ "build": "pnpm run clear:dist && pnpm run prettify:src && pnpm run lint && pnpm run compile && pnpm run circular-deps && pnpm run prettify:readme",
70
+ "build:ci": "pnpm run clear:dist && pnpm run prettify:ci:src && pnpm run lint:ci && pnpm run compile:ci && pnpm run prettify:ci:readme",
71
+ "clear:dist": "rimraf ./dist"
72
+ }
73
+ }
package/renovate.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "baseBranches": [
4
+ "dev"
5
+ ],
6
+ "extends": [
7
+ "config:base"
8
+ ]
9
+ }
package/src/tsc.ts ADDED
@@ -0,0 +1,37 @@
1
+ import { Command } from "commander";
2
+ import { buildTS } from "./utils.js";
3
+ import { existsSync } from "node:fs";
4
+
5
+ const tscCommand = new Command("tsc");
6
+
7
+ tscCommand.description("Build the TypeScript files for tsParticles library");
8
+ tscCommand.option(
9
+ "--ci",
10
+ "Do all build steps for CI, no fixing files, only checking if they are formatted correctly, sets silent to true by default",
11
+ false,
12
+ );
13
+ tscCommand.option(
14
+ "-s, --silent <boolean>",
15
+ "Reduce the amount of output during the build, defaults to false, except when --ci is set",
16
+ false,
17
+ );
18
+
19
+ tscCommand.action(async () => {
20
+ const opts = tscCommand.opts(),
21
+ ci = !!opts["ci"],
22
+ silentOpt = opts["silent"] as string | boolean,
23
+ silent = silentOpt === "false" ? false : !!silentOpt || ci,
24
+ basePath = process.cwd();
25
+
26
+ if (!existsSync(basePath)) {
27
+ throw new Error("Provided path does not exist");
28
+ }
29
+
30
+ if (!(await buildTS(basePath, silent))) {
31
+ throw new Error("TypeScript build failed");
32
+ }
33
+
34
+ console.info("TypeScript build finished successfully!");
35
+ });
36
+
37
+ export { buildTS, tscCommand };
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "rootDir": ".",
5
+ "outDir": "../dist"
6
+ },
7
+ "references": [{ "path": "../" }],
8
+ "include": ["**/*"]
9
+ }
package/src/utils.ts ADDED
@@ -0,0 +1,226 @@
1
+ import { existsSync } from "node:fs";
2
+ import path from "node:path";
3
+ import { readFile } from "node:fs/promises";
4
+
5
+ enum ExitCodes {
6
+ OK = 0,
7
+ EmitErrors = 1,
8
+ NoDataOrOptions = 2,
9
+ NoOptions = 3,
10
+ ParseError = 4,
11
+ }
12
+
13
+ type CompileType = "browser" | "cjs" | "esm" | "types";
14
+
15
+ interface CompileResult {
16
+ exitCode: ExitCodes;
17
+ logs: string[];
18
+ type: CompileType;
19
+ }
20
+
21
+ interface CompileConfig {
22
+ configFile: string;
23
+ extends: string;
24
+ outDir: string;
25
+ }
26
+
27
+ const compileConfigs: Record<CompileType, CompileConfig> = {
28
+ browser: {
29
+ configFile: "tsconfig.browser.json",
30
+ extends: "@tsparticles/tsconfig/dist/tsconfig.browser.json",
31
+ outDir: "./dist/browser",
32
+ },
33
+ cjs: {
34
+ configFile: "tsconfig.json",
35
+ extends: "@tsparticles/tsconfig/dist/tsconfig.json",
36
+ outDir: "./dist/cjs",
37
+ },
38
+ esm: {
39
+ configFile: "tsconfig.module.json",
40
+ extends: "@tsparticles/tsconfig/dist/tsconfig.module.json",
41
+ outDir: "./dist/esm",
42
+ },
43
+ types: {
44
+ configFile: "tsconfig.types.json",
45
+ extends: "@tsparticles/tsconfig/dist/tsconfig.types.json",
46
+ outDir: "./dist/types",
47
+ },
48
+ };
49
+
50
+ /**
51
+ * @param type -
52
+ * @returns -
53
+ */
54
+ function getDefaultOptions(type: CompileType): unknown {
55
+ const config = compileConfigs[type];
56
+
57
+ return {
58
+ extends: config.extends,
59
+ compilerOptions: {
60
+ rootDir: "./src",
61
+ outDir: config.outDir,
62
+ },
63
+ include: ["./src"],
64
+ };
65
+ }
66
+
67
+ /**
68
+ * @param basePath -
69
+ * @param file -
70
+ * @returns the file content or undefined if the file doesn't exist
71
+ */
72
+ async function readConfig(basePath: string, file: string): Promise<string | undefined> {
73
+ const tsconfigPath = path.join(basePath, file);
74
+
75
+ if (existsSync(tsconfigPath)) {
76
+ const data = await readFile(path.join(basePath, file));
77
+
78
+ return data.toString();
79
+ }
80
+
81
+ return undefined;
82
+ }
83
+
84
+ /**
85
+ * @param basePath -
86
+ * @param type -
87
+ * @param silent -
88
+ * @returns the exit code
89
+ */
90
+ async function compile(basePath: string, type: CompileType, silent: boolean): Promise<CompileResult> {
91
+ let options: unknown;
92
+
93
+ const logs: string[] = [],
94
+ data = await readConfig(basePath, compileConfigs[type].configFile);
95
+
96
+ if (!data) {
97
+ options = getDefaultOptions(type);
98
+ }
99
+
100
+ if (!data && !options) {
101
+ logs.push(`No TS config found for ${type} build.`);
102
+
103
+ return {
104
+ type,
105
+ logs,
106
+ exitCode: ExitCodes.NoDataOrOptions,
107
+ };
108
+ }
109
+
110
+ if (!options && data) {
111
+ options = JSON.parse(data);
112
+ }
113
+
114
+ if (!options) {
115
+ logs.push(`No TS options available for ${type} build.`);
116
+
117
+ return {
118
+ type,
119
+ logs,
120
+ exitCode: ExitCodes.NoOptions,
121
+ };
122
+ }
123
+
124
+ const ts = await import("typescript");
125
+
126
+ let parsed = ts.parseJsonConfigFileContent(options, ts.sys, basePath);
127
+
128
+ if (parsed.errors.length && type === "cjs" && data) {
129
+ const noInputsCode = 18003,
130
+ hasNoInputsError = parsed.errors.some(diagnostic => diagnostic.code === noInputsCode);
131
+
132
+ if (hasNoInputsError) {
133
+ options = getDefaultOptions(type);
134
+ parsed = ts.parseJsonConfigFileContent(options, ts.sys, basePath);
135
+
136
+ if (!silent) {
137
+ logs.push("Using default cjs build options because tsconfig.json has no input files for this build.");
138
+ }
139
+ }
140
+ }
141
+
142
+ if (parsed.errors.length) {
143
+ for (const diagnostic of parsed.errors) {
144
+ logs.push(ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n"));
145
+ }
146
+
147
+ return {
148
+ type,
149
+ logs,
150
+ exitCode: ExitCodes.ParseError,
151
+ };
152
+ }
153
+
154
+ const program = ts.createProgram(parsed.fileNames, parsed.options),
155
+ emitResult = program.emit(),
156
+ allDiagnostics = ts.getPreEmitDiagnostics(program).concat(emitResult.diagnostics);
157
+
158
+ let failed = false;
159
+
160
+ for (const diagnostic of allDiagnostics) {
161
+ failed = failed || diagnostic.category === ts.DiagnosticCategory.Error;
162
+
163
+ if (diagnostic.file) {
164
+ const startingPos = 0,
165
+ { line, character } = ts.getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start ?? startingPos),
166
+ message = ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n"),
167
+ increment = 1;
168
+
169
+ logs.push(
170
+ `${diagnostic.file.fileName} (${(line + increment).toString()},${(character + increment).toString()}): ${message}`,
171
+ );
172
+ } else {
173
+ logs.push(ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n"));
174
+ }
175
+ }
176
+
177
+ const exitCode = emitResult.emitSkipped || failed ? ExitCodes.EmitErrors : ExitCodes.OK;
178
+
179
+ if (!silent || exitCode) {
180
+ logs.push(`TSC for ${type} done with exit code: '${exitCode.toLocaleString()}'.`);
181
+ }
182
+
183
+ return {
184
+ type,
185
+ logs,
186
+ exitCode,
187
+ };
188
+ }
189
+
190
+ /**
191
+ * @param basePath -
192
+ * @param silent -
193
+ * @returns true if the build was successful
194
+ */
195
+ export async function buildTS(basePath: string, silent: boolean): Promise<boolean> {
196
+ if (!silent) {
197
+ console.info("Building TS files");
198
+ }
199
+
200
+ const types: CompileType[] = ["browser", "cjs", "esm", "types"],
201
+ results = await Promise.all(types.map(type => compile(basePath, type, silent)));
202
+
203
+ for (const type of types) {
204
+ const result = results.find(r => r.type === type);
205
+
206
+ if (!result) {
207
+ continue;
208
+ }
209
+
210
+ if (!silent) {
211
+ console.info(`Building TS files for ${type} configuration`);
212
+ }
213
+
214
+ for (const log of result.logs) {
215
+ console.info(log);
216
+ }
217
+ }
218
+
219
+ const res = results.every(result => result.exitCode === ExitCodes.OK);
220
+
221
+ if (!silent) {
222
+ console.info("Building TS files done");
223
+ }
224
+
225
+ return res;
226
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "compilerOptions": {
3
+ "rootDir": ".",
4
+ "outDir": ".",
5
+ "resolveJsonModule": true,
6
+ "composite": true,
7
+ "target": "ESNext",
8
+ "module": "NodeNext",
9
+ "moduleResolution": "NodeNext",
10
+ "lib": [
11
+ "ESNext",
12
+ "ES2024",
13
+ "ES2023",
14
+ "ES2022",
15
+ "ES2021",
16
+ "ES2020",
17
+ "ES2019",
18
+ "ES2018",
19
+ "ES2017",
20
+ "ES2016",
21
+ "ES2015"
22
+ ],
23
+ "types": [
24
+ "node",
25
+ "klaw",
26
+ "prompts",
27
+ "eslint"
28
+ ],
29
+ "strict": true,
30
+ "noImplicitAny": true,
31
+ "strictNullChecks": true,
32
+ "strictFunctionTypes": true,
33
+ "strictBindCallApply": true,
34
+ "strictPropertyInitialization": true,
35
+ "noImplicitThis": true,
36
+ "useUnknownInCatchVariables": true,
37
+ "alwaysStrict": true,
38
+ "noUnusedLocals": true,
39
+ "noUnusedParameters": true,
40
+ "exactOptionalPropertyTypes": true,
41
+ "noImplicitReturns": true,
42
+ "noFallthroughCasesInSwitch": true,
43
+ "noUncheckedIndexedAccess": true,
44
+ "noImplicitOverride": true,
45
+ "noPropertyAccessFromIndexSignature": true,
46
+ "esModuleInterop": true,
47
+ "forceConsistentCasingInFileNames": true,
48
+ "allowSyntheticDefaultImports": true
49
+ },
50
+ "include": [
51
+ "src/**/*"
52
+ ]
53
+ }