powerlines 0.24.4 → 0.24.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +2 -2
- package/dist/api.js +1 -1
- package/dist/astro.cjs +4 -4
- package/dist/astro.js +3 -3
- package/dist/{chunk-MPNS4WJG.js → chunk-4YOH66OR.js} +1 -1
- package/dist/{chunk-FYRK42WJ.js → chunk-5VVIGLK7.js} +27 -56
- package/dist/{chunk-3GIUBMCO.js → chunk-6F2RGMWO.js} +1 -1
- package/dist/{chunk-VM5QO2QI.cjs → chunk-D7IZZTKR.cjs} +2 -2
- package/dist/{chunk-72IKSCJB.js → chunk-E2CYWY4C.js} +1 -1
- package/dist/{chunk-YSHE2L5C.cjs → chunk-J42CWDHS.cjs} +3 -3
- package/dist/{chunk-YVKPBIAR.cjs → chunk-MBWFPGQL.cjs} +2 -2
- package/dist/{chunk-M2RYLU4O.cjs → chunk-MWURGZO3.cjs} +27 -56
- package/dist/{chunk-WHQHVACG.js → chunk-RUNRTWUD.js} +1 -1
- package/dist/{chunk-QXH7GHN2.cjs → chunk-TSGTSGEL.cjs} +2 -2
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.js +2 -2
- package/dist/index.cjs +11 -11
- package/dist/index.js +2 -2
- package/dist/lib/{chunk-LDMWUKGL.js → chunk-B6MVU5AR.js} +1 -1
- package/dist/lib/{chunk-VSN5AZP5.cjs → chunk-FSV2WXHS.cjs} +4 -4
- package/dist/lib/{chunk-BQU53ZNB.cjs → chunk-GA3RXX4R.cjs} +24 -7
- package/dist/lib/{chunk-3HVJF7CD.js → chunk-HQ7626MD.js} +2 -2
- package/dist/lib/{chunk-IG4PBAEY.js → chunk-IRIEW3X6.js} +6 -51
- package/dist/lib/{chunk-RJLPU6PQ.js → chunk-JFHYBGFE.js} +2 -1
- package/dist/lib/{chunk-PPUZYUCI.cjs → chunk-QOS4T645.cjs} +2 -1
- package/dist/lib/{chunk-ICO2ZK64.cjs → chunk-SJCNXDNU.cjs} +22 -67
- package/dist/lib/{chunk-YOENMDZY.js → chunk-ZGMEHSNN.js} +24 -8
- package/dist/lib/{chunk-INSBEK3W.cjs → chunk-ZTI2BIQ4.cjs} +10 -10
- package/dist/lib/contexts/api-context.cjs +5 -4
- package/dist/lib/contexts/api-context.js +4 -3
- package/dist/lib/contexts/context.cjs +3 -2
- package/dist/lib/contexts/context.js +2 -1
- package/dist/lib/contexts/environment-context.cjs +4 -3
- package/dist/lib/contexts/environment-context.js +3 -2
- package/dist/lib/contexts/index.cjs +7 -6
- package/dist/lib/contexts/index.js +4 -3
- package/dist/lib/index.cjs +38 -34
- package/dist/lib/index.d.cts +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +5 -5
- package/dist/lib/typescript/compiler-host.cjs +2 -2
- package/dist/lib/typescript/compiler-host.js +1 -1
- package/dist/lib/typescript/index.cjs +29 -25
- package/dist/lib/typescript/index.d.cts +1 -1
- package/dist/lib/typescript/index.d.ts +1 -1
- package/dist/lib/typescript/index.js +1 -1
- package/dist/lib/typescript/tsconfig.cjs +11 -7
- package/dist/lib/typescript/tsconfig.d.cts +11 -1
- package/dist/lib/typescript/tsconfig.d.ts +11 -1
- package/dist/lib/typescript/tsconfig.js +1 -1
- package/dist/lib/unplugin/factory.cjs +6 -6
- package/dist/lib/unplugin/factory.js +5 -5
- package/dist/lib/unplugin/index.cjs +6 -6
- package/dist/lib/unplugin/index.js +5 -5
- package/dist/next.cjs +4 -4
- package/dist/next.js +3 -3
- package/dist/nuxt.cjs +6 -6
- package/dist/nuxt.js +4 -4
- package/dist/rolldown.cjs +3 -3
- package/dist/rolldown.js +2 -2
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.js +2 -2
- package/dist/tsup.cjs +4 -4
- package/dist/tsup.js +3 -3
- package/dist/unloader.cjs +3 -3
- package/dist/unloader.js +2 -2
- package/dist/unplugin.cjs +5 -5
- package/dist/unplugin.js +3 -3
- package/dist/vite.cjs +6 -6
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.js +3 -3
- package/package.json +2 -2
|
@@ -13,23 +13,39 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
13
13
|
var defu__default = /*#__PURE__*/_interopDefault(defu);
|
|
14
14
|
var ts__default = /*#__PURE__*/_interopDefault(ts);
|
|
15
15
|
|
|
16
|
-
function getTsconfigFilePath(workspaceRoot, projectRoot, tsconfig
|
|
16
|
+
function getTsconfigFilePath(workspaceRoot, projectRoot, tsconfig) {
|
|
17
|
+
let tsconfigFilePath;
|
|
18
|
+
if (tsconfig) {
|
|
19
|
+
tsconfigFilePath = tryTsconfigFilePath(workspaceRoot, projectRoot, tsconfig);
|
|
20
|
+
} else {
|
|
21
|
+
tsconfigFilePath = tryTsconfigFilePath(workspaceRoot, projectRoot, "tsconfig.app.json");
|
|
22
|
+
if (!tsconfigFilePath) {
|
|
23
|
+
tsconfigFilePath = tryTsconfigFilePath(workspaceRoot, projectRoot, "tsconfig.lib.json");
|
|
24
|
+
if (!tsconfigFilePath) {
|
|
25
|
+
tsconfigFilePath = tryTsconfigFilePath(workspaceRoot, projectRoot, "tsconfig.json");
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
if (!tsconfigFilePath) {
|
|
30
|
+
throw new Error(`Cannot find the \`tsconfig.json\` configuration file for the project at ${projectRoot}.`);
|
|
31
|
+
}
|
|
32
|
+
return tsconfigFilePath;
|
|
33
|
+
}
|
|
34
|
+
chunkUSNT2KNT_cjs.__name(getTsconfigFilePath, "getTsconfigFilePath");
|
|
35
|
+
function tryTsconfigFilePath(workspaceRoot, projectRoot, tsconfig) {
|
|
17
36
|
let tsconfigFilePath = tsconfig;
|
|
18
37
|
if (!exists.existsSync(tsconfigFilePath)) {
|
|
19
38
|
tsconfigFilePath = append.appendPath(tsconfig, projectRoot);
|
|
20
39
|
if (!exists.existsSync(tsconfigFilePath)) {
|
|
21
|
-
tsconfigFilePath = append.appendPath(tsconfig, workspaceRoot);
|
|
40
|
+
tsconfigFilePath = append.appendPath(tsconfig, append.appendPath(projectRoot, workspaceRoot));
|
|
22
41
|
if (!exists.existsSync(tsconfigFilePath)) {
|
|
23
|
-
|
|
24
|
-
if (!exists.existsSync(tsconfigFilePath)) {
|
|
25
|
-
throw new Error(`Cannot find the \`tsconfig.json\` configuration file at ${tsconfig}, ${append.appendPath(tsconfig, projectRoot)}, ${append.appendPath(tsconfig, workspaceRoot)}, or ${tsconfigFilePath}`);
|
|
26
|
-
}
|
|
42
|
+
return void 0;
|
|
27
43
|
}
|
|
28
44
|
}
|
|
29
45
|
}
|
|
30
46
|
return tsconfigFilePath;
|
|
31
47
|
}
|
|
32
|
-
chunkUSNT2KNT_cjs.__name(
|
|
48
|
+
chunkUSNT2KNT_cjs.__name(tryTsconfigFilePath, "tryTsconfigFilePath");
|
|
33
49
|
function findMatch(tsconfigType, types, extensions = [
|
|
34
50
|
".ts",
|
|
35
51
|
".tsx",
|
|
@@ -106,3 +122,4 @@ exports.getParsedTypeScriptConfig = getParsedTypeScriptConfig;
|
|
|
106
122
|
exports.getTsconfigFilePath = getTsconfigFilePath;
|
|
107
123
|
exports.isIncludeMatchFound = isIncludeMatchFound;
|
|
108
124
|
exports.isMatchFound = isMatchFound;
|
|
125
|
+
exports.tryTsconfigFilePath = tryTsconfigFilePath;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PowerlinesEnvironmentContext } from './chunk-
|
|
2
|
-
import { PowerlinesContext } from './chunk-
|
|
1
|
+
import { PowerlinesEnvironmentContext } from './chunk-B6MVU5AR.js';
|
|
2
|
+
import { PowerlinesContext } from './chunk-JFHYBGFE.js';
|
|
3
3
|
import { loadWorkspaceConfig } from './chunk-XBM7FHNK.js';
|
|
4
4
|
import { __name } from './chunk-SHUYVCID.js';
|
|
5
5
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { writeFile } from './chunk-TANQDHYY.js';
|
|
2
2
|
import { getFileHeader } from './chunk-GANVMM73.js';
|
|
3
|
-
import {
|
|
4
|
-
import { PowerlinesAPIContext } from './chunk-3HVJF7CD.js';
|
|
3
|
+
import { PowerlinesAPIContext } from './chunk-HQ7626MD.js';
|
|
5
4
|
import { callHook } from './chunk-KFJCWNVG.js';
|
|
6
|
-
import { __VFS_REVERT__, isPluginConfig, isPlugin, isPluginConfigTuple, isPluginConfigObject, checkDedupe } from './chunk-
|
|
5
|
+
import { __VFS_REVERT__, isPluginConfig, isPlugin, isPluginConfigTuple, isPluginConfigObject, checkDedupe } from './chunk-JFHYBGFE.js';
|
|
7
6
|
import { writeMetaFile } from './chunk-FQLZZYYO.js';
|
|
7
|
+
import { getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound } from './chunk-ZGMEHSNN.js';
|
|
8
8
|
import { createLog } from './chunk-ENRLU4UR.js';
|
|
9
9
|
import { getString } from './chunk-M263EZ4F.js';
|
|
10
10
|
import { __name } from './chunk-SHUYVCID.js';
|
|
@@ -245,15 +245,6 @@ async function resolveTsconfigChanges(context) {
|
|
|
245
245
|
const tsconfigFilePath = getTsconfigFilePath(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig);
|
|
246
246
|
const tsconfigJson = await readJsonFile(tsconfigFilePath);
|
|
247
247
|
tsconfigJson.compilerOptions ??= {};
|
|
248
|
-
if (tsconfigJson.reflection !== true) {
|
|
249
|
-
tsconfigJson.reflection = true;
|
|
250
|
-
}
|
|
251
|
-
if (tsconfig.options.experimentalDecorators !== true) {
|
|
252
|
-
tsconfigJson.compilerOptions.experimentalDecorators = true;
|
|
253
|
-
}
|
|
254
|
-
if (tsconfig.options.emitDecoratorMetadata !== true) {
|
|
255
|
-
tsconfigJson.compilerOptions.emitDecoratorMetadata = true;
|
|
256
|
-
}
|
|
257
248
|
if (context.config.output.dts !== false) {
|
|
258
249
|
context.config.output.dts = context.config.output.dts ? isParentPath(context.config.output.dts, context.workspaceConfig.workspaceRoot) ? context.config.output.dts : appendPath(context.config.output.dts, context.workspaceConfig.workspaceRoot) : appendPath(context.config.projectRoot, context.workspaceConfig.workspaceRoot);
|
|
259
250
|
if (findFileExtension(context.config.output.dts) !== "d.ts" && findFileExtension(context.config.output.dts) !== "d.cts" && findFileExtension(context.config.output.dts) !== "d.mts") {
|
|
@@ -296,49 +287,13 @@ async function resolveTsconfigChanges(context) {
|
|
|
296
287
|
if (tsconfig.options.moduleDetection !== ts.ModuleDetectionKind.Force) {
|
|
297
288
|
tsconfigJson.compilerOptions.moduleDetection = "force";
|
|
298
289
|
}
|
|
299
|
-
if (tsconfig.options.allowSyntheticDefaultImports !== true) {
|
|
300
|
-
tsconfigJson.compilerOptions.allowSyntheticDefaultImports = true;
|
|
301
|
-
}
|
|
302
|
-
if (tsconfig.options.noImplicitOverride !== true) {
|
|
303
|
-
tsconfigJson.compilerOptions.noImplicitOverride = true;
|
|
304
|
-
}
|
|
305
|
-
if (tsconfig.options.noUncheckedIndexedAccess !== true) {
|
|
306
|
-
tsconfigJson.compilerOptions.noUncheckedIndexedAccess = true;
|
|
307
|
-
}
|
|
308
|
-
if (tsconfig.options.skipLibCheck !== true) {
|
|
309
|
-
tsconfigJson.compilerOptions.skipLibCheck = true;
|
|
310
|
-
}
|
|
311
|
-
if (tsconfig.options.resolveJsonModule !== true) {
|
|
312
|
-
tsconfigJson.compilerOptions.resolveJsonModule = true;
|
|
313
|
-
}
|
|
314
|
-
if (tsconfig.options.isolatedModules !== true) {
|
|
315
|
-
tsconfigJson.compilerOptions.isolatedModules = true;
|
|
316
|
-
}
|
|
317
|
-
if (tsconfig.options.verbatimModuleSyntax !== false) {
|
|
318
|
-
tsconfigJson.compilerOptions.verbatimModuleSyntax = false;
|
|
319
|
-
}
|
|
320
|
-
if (tsconfig.options.allowJs !== true) {
|
|
321
|
-
tsconfigJson.compilerOptions.allowJs = true;
|
|
322
|
-
}
|
|
323
290
|
if (tsconfig.options.esModuleInterop !== true) {
|
|
324
291
|
tsconfigJson.compilerOptions.esModuleInterop = true;
|
|
325
292
|
}
|
|
326
|
-
if (tsconfig.options.
|
|
327
|
-
tsconfigJson.compilerOptions.
|
|
293
|
+
if (tsconfig.options.isolatedModules !== true) {
|
|
294
|
+
tsconfigJson.compilerOptions.isolatedModules = true;
|
|
328
295
|
}
|
|
329
|
-
if (context.
|
|
330
|
-
if (tsconfig.options.jsx !== ts.JsxEmit.ReactJSX) {
|
|
331
|
-
tsconfigJson.compilerOptions.jsx = "react-jsx";
|
|
332
|
-
}
|
|
333
|
-
if (!tsconfig.options.lib?.some((lib) => lib.toLowerCase() !== "dom")) {
|
|
334
|
-
tsconfigJson.compilerOptions.lib ??= [];
|
|
335
|
-
tsconfigJson.compilerOptions.lib.push("dom");
|
|
336
|
-
}
|
|
337
|
-
if (!tsconfig.options.lib?.some((lib) => lib.toLowerCase() !== "dom.iterable")) {
|
|
338
|
-
tsconfigJson.compilerOptions.lib ??= [];
|
|
339
|
-
tsconfigJson.compilerOptions.lib.push("dom.iterable");
|
|
340
|
-
}
|
|
341
|
-
} else if (context.config.build.platform === "node") {
|
|
296
|
+
if (context.config.build.platform === "node") {
|
|
342
297
|
if (!tsconfig.options.types?.some((type) => type.toLowerCase() === "node" || type.toLowerCase() === "@types/node")) {
|
|
343
298
|
tsconfigJson.compilerOptions.types ??= [];
|
|
344
299
|
tsconfigJson.compilerOptions.types.push("node");
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CACHE_HASH_LENGTH, PROJECT_ROOT_HASH_LENGTH, getPrefixedProjectRootHash } from './chunk-FQLZZYYO.js';
|
|
2
|
+
import { getTsconfigFilePath } from './chunk-ZGMEHSNN.js';
|
|
2
3
|
import { createProgram } from './chunk-YQ3ODCHV.js';
|
|
3
4
|
import { loadWorkspaceConfig, loadUserConfigFile } from './chunk-XBM7FHNK.js';
|
|
4
5
|
import { extendLog, createLog } from './chunk-ENRLU4UR.js';
|
|
@@ -2179,6 +2180,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2179
2180
|
userConfig
|
|
2180
2181
|
});
|
|
2181
2182
|
}
|
|
2183
|
+
this.config.tsconfig ??= getTsconfigFilePath(this.workspaceConfig.workspaceRoot, cacheKey.projectRoot, config.tsconfig);
|
|
2182
2184
|
if (isSetObject(config)) {
|
|
2183
2185
|
this.resolvedConfig = defu2({
|
|
2184
2186
|
inlineConfig: this.config.inlineConfig,
|
|
@@ -2194,7 +2196,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2194
2196
|
name: this.projectJson?.name || this.packageJson?.name,
|
|
2195
2197
|
version: this.packageJson?.version,
|
|
2196
2198
|
description: this.packageJson?.description,
|
|
2197
|
-
tsconfig: appendPath("tsconfig.json", cacheKey.projectRoot),
|
|
2198
2199
|
sourceRoot: this.projectJson?.sourceRoot || appendPath("src", cacheKey.projectRoot),
|
|
2199
2200
|
output: {
|
|
2200
2201
|
outputPath: cacheKey.projectRoot ? joinPaths(this.workspaceConfig?.directories?.build || "dist", cacheKey.projectRoot) : this.workspaceConfig?.directories?.build || "dist",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk7VJ42H2I_cjs = require('./chunk-7VJ42H2I.cjs');
|
|
4
|
+
var chunkGA3RXX4R_cjs = require('./chunk-GA3RXX4R.cjs');
|
|
4
5
|
var chunkSAS5EPBD_cjs = require('./chunk-SAS5EPBD.cjs');
|
|
5
6
|
var chunkK3NBD5LL_cjs = require('./chunk-K3NBD5LL.cjs');
|
|
6
7
|
var chunkJA4HSQRN_cjs = require('./chunk-JA4HSQRN.cjs');
|
|
@@ -2205,6 +2206,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2205
2206
|
userConfig
|
|
2206
2207
|
});
|
|
2207
2208
|
}
|
|
2209
|
+
this.config.tsconfig ??= chunkGA3RXX4R_cjs.getTsconfigFilePath(this.workspaceConfig.workspaceRoot, cacheKey.projectRoot, config.tsconfig);
|
|
2208
2210
|
if (isSetObject.isSetObject(config)) {
|
|
2209
2211
|
this.resolvedConfig = defu2__default.default({
|
|
2210
2212
|
inlineConfig: this.config.inlineConfig,
|
|
@@ -2220,7 +2222,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2220
2222
|
name: this.projectJson?.name || this.packageJson?.name,
|
|
2221
2223
|
version: this.packageJson?.version,
|
|
2222
2224
|
description: this.packageJson?.description,
|
|
2223
|
-
tsconfig: append.appendPath("tsconfig.json", cacheKey.projectRoot),
|
|
2224
2225
|
sourceRoot: this.projectJson?.sourceRoot || append.appendPath("src", cacheKey.projectRoot),
|
|
2225
2226
|
output: {
|
|
2226
2227
|
outputPath: cacheKey.projectRoot ? join.joinPaths(this.workspaceConfig?.directories?.build || "dist", cacheKey.projectRoot) : this.workspaceConfig?.directories?.build || "dist",
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var chunk2NZADVP5_cjs = require('./chunk-2NZADVP5.cjs');
|
|
4
4
|
var chunk4NHFXDTQ_cjs = require('./chunk-4NHFXDTQ.cjs');
|
|
5
|
-
var
|
|
6
|
-
var chunkVSN5AZP5_cjs = require('./chunk-VSN5AZP5.cjs');
|
|
5
|
+
var chunkFSV2WXHS_cjs = require('./chunk-FSV2WXHS.cjs');
|
|
7
6
|
var chunkB3EE3VHZ_cjs = require('./chunk-B3EE3VHZ.cjs');
|
|
8
|
-
var
|
|
7
|
+
var chunkQOS4T645_cjs = require('./chunk-QOS4T645.cjs');
|
|
9
8
|
var chunk7VJ42H2I_cjs = require('./chunk-7VJ42H2I.cjs');
|
|
9
|
+
var chunkGA3RXX4R_cjs = require('./chunk-GA3RXX4R.cjs');
|
|
10
10
|
var chunkJA4HSQRN_cjs = require('./chunk-JA4HSQRN.cjs');
|
|
11
11
|
var chunk3OCI4TH7_cjs = require('./chunk-3OCI4TH7.cjs');
|
|
12
12
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
@@ -268,26 +268,17 @@ ${Object.entries(context.devDependencies).map(([name, version]) => `- ${name}@${
|
|
|
268
268
|
}
|
|
269
269
|
chunkUSNT2KNT_cjs.__name(installDependencies, "installDependencies");
|
|
270
270
|
async function resolveTsconfigChanges(context) {
|
|
271
|
-
const tsconfig =
|
|
272
|
-
const tsconfigFilePath =
|
|
271
|
+
const tsconfig = chunkGA3RXX4R_cjs.getParsedTypeScriptConfig(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig, context.config.tsconfigRaw);
|
|
272
|
+
const tsconfigFilePath = chunkGA3RXX4R_cjs.getTsconfigFilePath(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig);
|
|
273
273
|
const tsconfigJson = await json.readJsonFile(tsconfigFilePath);
|
|
274
274
|
tsconfigJson.compilerOptions ??= {};
|
|
275
|
-
if (tsconfigJson.reflection !== true) {
|
|
276
|
-
tsconfigJson.reflection = true;
|
|
277
|
-
}
|
|
278
|
-
if (tsconfig.options.experimentalDecorators !== true) {
|
|
279
|
-
tsconfigJson.compilerOptions.experimentalDecorators = true;
|
|
280
|
-
}
|
|
281
|
-
if (tsconfig.options.emitDecoratorMetadata !== true) {
|
|
282
|
-
tsconfigJson.compilerOptions.emitDecoratorMetadata = true;
|
|
283
|
-
}
|
|
284
275
|
if (context.config.output.dts !== false) {
|
|
285
276
|
context.config.output.dts = context.config.output.dts ? isParentPath.isParentPath(context.config.output.dts, context.workspaceConfig.workspaceRoot) ? context.config.output.dts : append.appendPath(context.config.output.dts, context.workspaceConfig.workspaceRoot) : append.appendPath(context.config.projectRoot, context.workspaceConfig.workspaceRoot);
|
|
286
277
|
if (filePathFns.findFileExtension(context.config.output.dts) !== "d.ts" && filePathFns.findFileExtension(context.config.output.dts) !== "d.cts" && filePathFns.findFileExtension(context.config.output.dts) !== "d.mts") {
|
|
287
278
|
context.config.output.dts = joinPaths.joinPaths(context.config.output.dts, "powerlines.d.ts");
|
|
288
279
|
}
|
|
289
280
|
const dtsRelativePath = joinPaths.joinPaths(filePathFns.relativePath(joinPaths.joinPaths(context.workspaceConfig.workspaceRoot, context.config.projectRoot), filePathFns.findFilePath(context.config.output.dts)), filePathFns.findFileName(context.config.output.dts));
|
|
290
|
-
if (!tsconfigJson.include?.some((filePattern) =>
|
|
281
|
+
if (!tsconfigJson.include?.some((filePattern) => chunkGA3RXX4R_cjs.isIncludeMatchFound(filePattern, [
|
|
291
282
|
String(context.config.output.dts),
|
|
292
283
|
dtsRelativePath,
|
|
293
284
|
"storm.d.ts"
|
|
@@ -323,49 +314,13 @@ async function resolveTsconfigChanges(context) {
|
|
|
323
314
|
if (tsconfig.options.moduleDetection !== ts__default.default.ModuleDetectionKind.Force) {
|
|
324
315
|
tsconfigJson.compilerOptions.moduleDetection = "force";
|
|
325
316
|
}
|
|
326
|
-
if (tsconfig.options.allowSyntheticDefaultImports !== true) {
|
|
327
|
-
tsconfigJson.compilerOptions.allowSyntheticDefaultImports = true;
|
|
328
|
-
}
|
|
329
|
-
if (tsconfig.options.noImplicitOverride !== true) {
|
|
330
|
-
tsconfigJson.compilerOptions.noImplicitOverride = true;
|
|
331
|
-
}
|
|
332
|
-
if (tsconfig.options.noUncheckedIndexedAccess !== true) {
|
|
333
|
-
tsconfigJson.compilerOptions.noUncheckedIndexedAccess = true;
|
|
334
|
-
}
|
|
335
|
-
if (tsconfig.options.skipLibCheck !== true) {
|
|
336
|
-
tsconfigJson.compilerOptions.skipLibCheck = true;
|
|
337
|
-
}
|
|
338
|
-
if (tsconfig.options.resolveJsonModule !== true) {
|
|
339
|
-
tsconfigJson.compilerOptions.resolveJsonModule = true;
|
|
340
|
-
}
|
|
341
|
-
if (tsconfig.options.isolatedModules !== true) {
|
|
342
|
-
tsconfigJson.compilerOptions.isolatedModules = true;
|
|
343
|
-
}
|
|
344
|
-
if (tsconfig.options.verbatimModuleSyntax !== false) {
|
|
345
|
-
tsconfigJson.compilerOptions.verbatimModuleSyntax = false;
|
|
346
|
-
}
|
|
347
|
-
if (tsconfig.options.allowJs !== true) {
|
|
348
|
-
tsconfigJson.compilerOptions.allowJs = true;
|
|
349
|
-
}
|
|
350
317
|
if (tsconfig.options.esModuleInterop !== true) {
|
|
351
318
|
tsconfigJson.compilerOptions.esModuleInterop = true;
|
|
352
319
|
}
|
|
353
|
-
if (tsconfig.options.
|
|
354
|
-
tsconfigJson.compilerOptions.
|
|
320
|
+
if (tsconfig.options.isolatedModules !== true) {
|
|
321
|
+
tsconfigJson.compilerOptions.isolatedModules = true;
|
|
355
322
|
}
|
|
356
|
-
if (context.
|
|
357
|
-
if (tsconfig.options.jsx !== ts__default.default.JsxEmit.ReactJSX) {
|
|
358
|
-
tsconfigJson.compilerOptions.jsx = "react-jsx";
|
|
359
|
-
}
|
|
360
|
-
if (!tsconfig.options.lib?.some((lib) => lib.toLowerCase() !== "dom")) {
|
|
361
|
-
tsconfigJson.compilerOptions.lib ??= [];
|
|
362
|
-
tsconfigJson.compilerOptions.lib.push("dom");
|
|
363
|
-
}
|
|
364
|
-
if (!tsconfig.options.lib?.some((lib) => lib.toLowerCase() !== "dom.iterable")) {
|
|
365
|
-
tsconfigJson.compilerOptions.lib ??= [];
|
|
366
|
-
tsconfigJson.compilerOptions.lib.push("dom.iterable");
|
|
367
|
-
}
|
|
368
|
-
} else if (context.config.build.platform === "node") {
|
|
323
|
+
if (context.config.build.platform === "node") {
|
|
369
324
|
if (!tsconfig.options.types?.some((type) => type.toLowerCase() === "node" || type.toLowerCase() === "@types/node")) {
|
|
370
325
|
tsconfigJson.compilerOptions.types ??= [];
|
|
371
326
|
tsconfigJson.compilerOptions.types.push("node");
|
|
@@ -379,14 +334,14 @@ async function initializeTsconfig(context) {
|
|
|
379
334
|
if (!packageFns.isPackageExists("typescript")) {
|
|
380
335
|
throw new Error('The TypeScript package is not installed. Please install the package using the command: "npm install typescript --save-dev"');
|
|
381
336
|
}
|
|
382
|
-
const tsconfigFilePath =
|
|
337
|
+
const tsconfigFilePath = chunkGA3RXX4R_cjs.getTsconfigFilePath(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig);
|
|
383
338
|
context.tsconfig.originalTsconfigJson = await json.readJsonFile(tsconfigFilePath);
|
|
384
339
|
context.tsconfig.tsconfigJson = await resolveTsconfigChanges(context);
|
|
385
340
|
context.log(types.LogLevelLabel.TRACE, "Writing updated TypeScript configuration (tsconfig.json) file to disk.");
|
|
386
341
|
await context.fs.writeFile(tsconfigFilePath, stormJson.StormJSON.stringify(context.tsconfig.tsconfigJson), {
|
|
387
342
|
mode: "fs"
|
|
388
343
|
});
|
|
389
|
-
context.tsconfig =
|
|
344
|
+
context.tsconfig = chunkGA3RXX4R_cjs.getParsedTypeScriptConfig(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig, context.config.tsconfigRaw, context.tsconfig.originalTsconfigJson);
|
|
390
345
|
}
|
|
391
346
|
chunkUSNT2KNT_cjs.__name(initializeTsconfig, "initializeTsconfig");
|
|
392
347
|
async function resolveTsconfig(context) {
|
|
@@ -435,7 +390,7 @@ async function resolveTsconfig(context) {
|
|
|
435
390
|
`);
|
|
436
391
|
}
|
|
437
392
|
await chunk2NZADVP5_cjs.writeFile(context.log, context.tsconfig.tsconfigFilePath, stormJson.StormJSON.stringify(updateTsconfigJson));
|
|
438
|
-
context.tsconfig =
|
|
393
|
+
context.tsconfig = chunkGA3RXX4R_cjs.getParsedTypeScriptConfig(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig);
|
|
439
394
|
if (!context.tsconfig) {
|
|
440
395
|
throw new Error("Failed to parse the TypeScript configuration file.");
|
|
441
396
|
}
|
|
@@ -471,7 +426,7 @@ var PowerlinesAPI = class _PowerlinesAPI {
|
|
|
471
426
|
* Initialize the Powerlines API
|
|
472
427
|
*/
|
|
473
428
|
static async from(workspaceRoot, config) {
|
|
474
|
-
const api = new _PowerlinesAPI(await
|
|
429
|
+
const api = new _PowerlinesAPI(await chunkFSV2WXHS_cjs.PowerlinesAPIContext.from(workspaceRoot, config));
|
|
475
430
|
api.#context.$$internal.api = api;
|
|
476
431
|
for (const plugin of api.context.config.plugins ?? []) {
|
|
477
432
|
await api.#addPlugin(plugin);
|
|
@@ -624,7 +579,7 @@ ${formatTypes(generatedTypes)}
|
|
|
624
579
|
mode: "fs"
|
|
625
580
|
});
|
|
626
581
|
}
|
|
627
|
-
context.tsconfig =
|
|
582
|
+
context.tsconfig = chunkGA3RXX4R_cjs.getParsedTypeScriptConfig(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig);
|
|
628
583
|
if (!context.tsconfig) {
|
|
629
584
|
throw new Error("Failed to parse the TypeScript configuration file.");
|
|
630
585
|
}
|
|
@@ -802,7 +757,7 @@ ${formatTypes(generatedTypes)}
|
|
|
802
757
|
this.context.log(types.LogLevelLabel.TRACE, "Powerlines finalize execution started");
|
|
803
758
|
await this.#executeEnvironments(async (context) => {
|
|
804
759
|
await this.callHook(context, "finalize");
|
|
805
|
-
context.fs[
|
|
760
|
+
context.fs[chunkQOS4T645_cjs.__VFS_REVERT__]();
|
|
806
761
|
await context.fs.dispose();
|
|
807
762
|
});
|
|
808
763
|
this.context.log(types.LogLevelLabel.TRACE, "Powerlines finalize execution completed");
|
|
@@ -967,11 +922,11 @@ ${formatTypes(generatedTypes)}
|
|
|
967
922
|
if (isPromise.isPromiseLike(config)) {
|
|
968
923
|
awaited = await Promise.resolve(config);
|
|
969
924
|
}
|
|
970
|
-
if (!
|
|
925
|
+
if (!chunkQOS4T645_cjs.isPluginConfig(awaited)) {
|
|
971
926
|
throw new Error(`Invalid plugin specified in the configuration - ${JSON.stringify(awaited)}. Please ensure the value is a plugin name, an object with the \`plugin\` and \`props\` properties, or an instance of \`Plugin\`.`);
|
|
972
927
|
}
|
|
973
928
|
let plugin;
|
|
974
|
-
if (
|
|
929
|
+
if (chunkQOS4T645_cjs.isPlugin(awaited)) {
|
|
975
930
|
plugin = awaited;
|
|
976
931
|
} else if (isFunction.isFunction(awaited)) {
|
|
977
932
|
plugin = await Promise.resolve(awaited());
|
|
@@ -982,10 +937,10 @@ ${formatTypes(generatedTypes)}
|
|
|
982
937
|
} else {
|
|
983
938
|
plugin = resolved;
|
|
984
939
|
}
|
|
985
|
-
} else if (
|
|
940
|
+
} else if (chunkQOS4T645_cjs.isPluginConfigTuple(awaited) || chunkQOS4T645_cjs.isPluginConfigObject(awaited)) {
|
|
986
941
|
let pluginConfig;
|
|
987
942
|
let pluginOptions;
|
|
988
|
-
if (
|
|
943
|
+
if (chunkQOS4T645_cjs.isPluginConfigTuple(awaited)) {
|
|
989
944
|
pluginConfig = awaited[0];
|
|
990
945
|
pluginOptions = awaited?.length === 2 ? awaited[1] : void 0;
|
|
991
946
|
} else {
|
|
@@ -1001,17 +956,17 @@ ${formatTypes(generatedTypes)}
|
|
|
1001
956
|
}
|
|
1002
957
|
} else if (isFunction.isFunction(pluginConfig)) {
|
|
1003
958
|
plugin = await Promise.resolve(pluginConfig(pluginOptions));
|
|
1004
|
-
} else if (
|
|
959
|
+
} else if (chunkQOS4T645_cjs.isPlugin(pluginConfig)) {
|
|
1005
960
|
plugin = pluginConfig;
|
|
1006
961
|
}
|
|
1007
962
|
}
|
|
1008
963
|
if (!plugin) {
|
|
1009
964
|
throw new Error(`The plugin configuration ${JSON.stringify(awaited)} is invalid. This configuration must point to a valid Powerlines plugin module.`);
|
|
1010
965
|
}
|
|
1011
|
-
if (!
|
|
966
|
+
if (!chunkQOS4T645_cjs.isPlugin(plugin)) {
|
|
1012
967
|
throw new Error(`The plugin option ${JSON.stringify(plugin)} does not export a valid module. This configuration must point to a valid Powerlines plugin module.`);
|
|
1013
968
|
}
|
|
1014
|
-
if (
|
|
969
|
+
if (chunkQOS4T645_cjs.checkDedupe(plugin, this.context.plugins)) {
|
|
1015
970
|
this.context.log(types.LogLevelLabel.TRACE, `Duplicate ${chalk2__default.default.bold.cyanBright(plugin.name)} plugin dependency detected - Skipping initialization.`);
|
|
1016
971
|
return null;
|
|
1017
972
|
}
|
|
@@ -6,23 +6,39 @@ import { joinPaths } from '@stryke/path/join-paths';
|
|
|
6
6
|
import defu from 'defu';
|
|
7
7
|
import ts from 'typescript';
|
|
8
8
|
|
|
9
|
-
function getTsconfigFilePath(workspaceRoot, projectRoot, tsconfig
|
|
9
|
+
function getTsconfigFilePath(workspaceRoot, projectRoot, tsconfig) {
|
|
10
|
+
let tsconfigFilePath;
|
|
11
|
+
if (tsconfig) {
|
|
12
|
+
tsconfigFilePath = tryTsconfigFilePath(workspaceRoot, projectRoot, tsconfig);
|
|
13
|
+
} else {
|
|
14
|
+
tsconfigFilePath = tryTsconfigFilePath(workspaceRoot, projectRoot, "tsconfig.app.json");
|
|
15
|
+
if (!tsconfigFilePath) {
|
|
16
|
+
tsconfigFilePath = tryTsconfigFilePath(workspaceRoot, projectRoot, "tsconfig.lib.json");
|
|
17
|
+
if (!tsconfigFilePath) {
|
|
18
|
+
tsconfigFilePath = tryTsconfigFilePath(workspaceRoot, projectRoot, "tsconfig.json");
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
if (!tsconfigFilePath) {
|
|
23
|
+
throw new Error(`Cannot find the \`tsconfig.json\` configuration file for the project at ${projectRoot}.`);
|
|
24
|
+
}
|
|
25
|
+
return tsconfigFilePath;
|
|
26
|
+
}
|
|
27
|
+
__name(getTsconfigFilePath, "getTsconfigFilePath");
|
|
28
|
+
function tryTsconfigFilePath(workspaceRoot, projectRoot, tsconfig) {
|
|
10
29
|
let tsconfigFilePath = tsconfig;
|
|
11
30
|
if (!existsSync(tsconfigFilePath)) {
|
|
12
31
|
tsconfigFilePath = appendPath(tsconfig, projectRoot);
|
|
13
32
|
if (!existsSync(tsconfigFilePath)) {
|
|
14
|
-
tsconfigFilePath = appendPath(tsconfig, workspaceRoot);
|
|
33
|
+
tsconfigFilePath = appendPath(tsconfig, appendPath(projectRoot, workspaceRoot));
|
|
15
34
|
if (!existsSync(tsconfigFilePath)) {
|
|
16
|
-
|
|
17
|
-
if (!existsSync(tsconfigFilePath)) {
|
|
18
|
-
throw new Error(`Cannot find the \`tsconfig.json\` configuration file at ${tsconfig}, ${appendPath(tsconfig, projectRoot)}, ${appendPath(tsconfig, workspaceRoot)}, or ${tsconfigFilePath}`);
|
|
19
|
-
}
|
|
35
|
+
return void 0;
|
|
20
36
|
}
|
|
21
37
|
}
|
|
22
38
|
}
|
|
23
39
|
return tsconfigFilePath;
|
|
24
40
|
}
|
|
25
|
-
__name(
|
|
41
|
+
__name(tryTsconfigFilePath, "tryTsconfigFilePath");
|
|
26
42
|
function findMatch(tsconfigType, types, extensions = [
|
|
27
43
|
".ts",
|
|
28
44
|
".tsx",
|
|
@@ -93,4 +109,4 @@ ${parsedCommandLine.errors.map((error) => `- ${(error.category !== void 0 && err
|
|
|
93
109
|
}
|
|
94
110
|
__name(getParsedTypeScriptConfig, "getParsedTypeScriptConfig");
|
|
95
111
|
|
|
96
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound };
|
|
112
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkB3EE3VHZ_cjs = require('./chunk-B3EE3VHZ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkQOS4T645_cjs = require('./chunk-QOS4T645.cjs');
|
|
5
5
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
6
6
|
var resolve = require('@stryke/fs/resolve');
|
|
7
7
|
var isFunction = require('@stryke/type-checks/is-function');
|
|
@@ -17,7 +17,7 @@ var PLUGIN_NON_HOOK_FIELDS = [
|
|
|
17
17
|
];
|
|
18
18
|
|
|
19
19
|
// src/lib/contexts/environment-context.ts
|
|
20
|
-
var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends
|
|
20
|
+
var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends chunkQOS4T645_cjs.PowerlinesContext {
|
|
21
21
|
static {
|
|
22
22
|
chunkUSNT2KNT_cjs.__name(this, "PowerlinesEnvironmentContext");
|
|
23
23
|
}
|
|
@@ -65,7 +65,7 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends c
|
|
|
65
65
|
if (!result || isObject.isObject(result) && Object.keys(result).length === 0) {
|
|
66
66
|
return;
|
|
67
67
|
}
|
|
68
|
-
resolvedPlugin =
|
|
68
|
+
resolvedPlugin = chunkQOS4T645_cjs.isPlugin(result) ? result : plugin;
|
|
69
69
|
}
|
|
70
70
|
const context = chunkB3EE3VHZ_cjs.createPluginContext(resolvedPlugin, this);
|
|
71
71
|
this.plugins.push({
|
|
@@ -75,28 +75,28 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends c
|
|
|
75
75
|
this.#hooks = Object.keys(resolvedPlugin).filter((key) => !PLUGIN_NON_HOOK_FIELDS.includes(key)).reduce((ret, key) => {
|
|
76
76
|
const hook = key;
|
|
77
77
|
const pluginHook = resolvedPlugin[hook];
|
|
78
|
-
if (!
|
|
78
|
+
if (!chunkQOS4T645_cjs.isPluginHook(pluginHook)) {
|
|
79
79
|
return ret;
|
|
80
80
|
}
|
|
81
|
-
if (!
|
|
81
|
+
if (!chunkQOS4T645_cjs.isHookExternal(hook)) {
|
|
82
82
|
ret[hook] ??= {};
|
|
83
83
|
if (resolvedPlugin.enforce) {
|
|
84
84
|
ret[hook][`${resolvedPlugin.enforce}Enforced`] ??= [];
|
|
85
|
-
|
|
85
|
+
chunkQOS4T645_cjs.addPluginHook(context, resolvedPlugin, pluginHook, ret[hook][`${resolvedPlugin.enforce}Enforced`]);
|
|
86
86
|
return ret;
|
|
87
87
|
}
|
|
88
88
|
if (isFunction.isFunction(pluginHook) || !pluginHook.order) {
|
|
89
89
|
ret[hook].normal ??= [];
|
|
90
|
-
|
|
90
|
+
chunkQOS4T645_cjs.addPluginHook(context, resolvedPlugin, pluginHook, ret[hook].normal);
|
|
91
91
|
return ret;
|
|
92
92
|
}
|
|
93
93
|
ret[hook][`${pluginHook.order}Ordered`] ??= [];
|
|
94
|
-
|
|
94
|
+
chunkQOS4T645_cjs.addPluginHook(context, resolvedPlugin, pluginHook, ret[hook][`${pluginHook.order}Ordered`]);
|
|
95
95
|
} else {
|
|
96
96
|
ret[hook] ??= [];
|
|
97
97
|
ret[hook].push({
|
|
98
98
|
plugin: resolvedPlugin,
|
|
99
|
-
hook:
|
|
99
|
+
hook: chunkQOS4T645_cjs.getHookHandler(pluginHook).bind(context)
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
return ret;
|
|
@@ -108,7 +108,7 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends c
|
|
|
108
108
|
selectHooks(hook, options) {
|
|
109
109
|
const handlers = [];
|
|
110
110
|
if (this.hooks[hook]) {
|
|
111
|
-
if (!
|
|
111
|
+
if (!chunkQOS4T645_cjs.isHookExternal(hook)) {
|
|
112
112
|
const hooks = this.hooks[hook];
|
|
113
113
|
if (options?.order) {
|
|
114
114
|
if (options?.order === "pre") {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkFSV2WXHS_cjs = require('../chunk-FSV2WXHS.cjs');
|
|
4
|
+
require('../chunk-ZTI2BIQ4.cjs');
|
|
5
5
|
require('../chunk-B3EE3VHZ.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-QOS4T645.cjs');
|
|
7
7
|
require('../chunk-7VJ42H2I.cjs');
|
|
8
|
+
require('../chunk-GA3RXX4R.cjs');
|
|
8
9
|
require('../chunk-SAS5EPBD.cjs');
|
|
9
10
|
require('../chunk-K3NBD5LL.cjs');
|
|
10
11
|
require('../chunk-JA4HSQRN.cjs');
|
|
@@ -15,5 +16,5 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
15
16
|
|
|
16
17
|
Object.defineProperty(exports, "PowerlinesAPIContext", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFSV2WXHS_cjs.PowerlinesAPIContext; }
|
|
19
20
|
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { PowerlinesAPIContext } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PowerlinesAPIContext } from '../chunk-HQ7626MD.js';
|
|
2
|
+
import '../chunk-B6MVU5AR.js';
|
|
3
3
|
import '../chunk-KFJCWNVG.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-JFHYBGFE.js';
|
|
5
5
|
import '../chunk-FQLZZYYO.js';
|
|
6
|
+
import '../chunk-ZGMEHSNN.js';
|
|
6
7
|
import '../chunk-YQ3ODCHV.js';
|
|
7
8
|
import '../chunk-XBM7FHNK.js';
|
|
8
9
|
import '../chunk-ENRLU4UR.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQOS4T645_cjs = require('../chunk-QOS4T645.cjs');
|
|
4
4
|
require('../chunk-7VJ42H2I.cjs');
|
|
5
|
+
require('../chunk-GA3RXX4R.cjs');
|
|
5
6
|
require('../chunk-SAS5EPBD.cjs');
|
|
6
7
|
require('../chunk-K3NBD5LL.cjs');
|
|
7
8
|
require('../chunk-JA4HSQRN.cjs');
|
|
@@ -12,5 +13,5 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
12
13
|
|
|
13
14
|
Object.defineProperty(exports, "PowerlinesContext", {
|
|
14
15
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkQOS4T645_cjs.PowerlinesContext; }
|
|
16
17
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { PowerlinesContext } from '../chunk-
|
|
1
|
+
export { PowerlinesContext } from '../chunk-JFHYBGFE.js';
|
|
2
2
|
import '../chunk-FQLZZYYO.js';
|
|
3
|
+
import '../chunk-ZGMEHSNN.js';
|
|
3
4
|
import '../chunk-YQ3ODCHV.js';
|
|
4
5
|
import '../chunk-XBM7FHNK.js';
|
|
5
6
|
import '../chunk-ENRLU4UR.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZTI2BIQ4_cjs = require('../chunk-ZTI2BIQ4.cjs');
|
|
4
4
|
require('../chunk-B3EE3VHZ.cjs');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-QOS4T645.cjs');
|
|
6
6
|
require('../chunk-7VJ42H2I.cjs');
|
|
7
|
+
require('../chunk-GA3RXX4R.cjs');
|
|
7
8
|
require('../chunk-SAS5EPBD.cjs');
|
|
8
9
|
require('../chunk-K3NBD5LL.cjs');
|
|
9
10
|
require('../chunk-JA4HSQRN.cjs');
|
|
@@ -14,5 +15,5 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
14
15
|
|
|
15
16
|
Object.defineProperty(exports, "PowerlinesEnvironmentContext", {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkZTI2BIQ4_cjs.PowerlinesEnvironmentContext; }
|
|
18
19
|
});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { PowerlinesEnvironmentContext } from '../chunk-
|
|
1
|
+
export { PowerlinesEnvironmentContext } from '../chunk-B6MVU5AR.js';
|
|
2
2
|
import '../chunk-KFJCWNVG.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-JFHYBGFE.js';
|
|
4
4
|
import '../chunk-FQLZZYYO.js';
|
|
5
|
+
import '../chunk-ZGMEHSNN.js';
|
|
5
6
|
import '../chunk-YQ3ODCHV.js';
|
|
6
7
|
import '../chunk-XBM7FHNK.js';
|
|
7
8
|
import '../chunk-ENRLU4UR.js';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-35FGUJFD.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkFSV2WXHS_cjs = require('../chunk-FSV2WXHS.cjs');
|
|
5
|
+
var chunkZTI2BIQ4_cjs = require('../chunk-ZTI2BIQ4.cjs');
|
|
6
6
|
var chunkB3EE3VHZ_cjs = require('../chunk-B3EE3VHZ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkQOS4T645_cjs = require('../chunk-QOS4T645.cjs');
|
|
8
8
|
require('../chunk-7VJ42H2I.cjs');
|
|
9
|
+
require('../chunk-GA3RXX4R.cjs');
|
|
9
10
|
require('../chunk-SAS5EPBD.cjs');
|
|
10
11
|
require('../chunk-K3NBD5LL.cjs');
|
|
11
12
|
require('../chunk-JA4HSQRN.cjs');
|
|
@@ -16,11 +17,11 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
16
17
|
|
|
17
18
|
Object.defineProperty(exports, "PowerlinesAPIContext", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkFSV2WXHS_cjs.PowerlinesAPIContext; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, "PowerlinesEnvironmentContext", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkZTI2BIQ4_cjs.PowerlinesEnvironmentContext; }
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "createPluginContext", {
|
|
26
27
|
enumerable: true,
|
|
@@ -28,5 +29,5 @@ Object.defineProperty(exports, "createPluginContext", {
|
|
|
28
29
|
});
|
|
29
30
|
Object.defineProperty(exports, "PowerlinesContext", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkQOS4T645_cjs.PowerlinesContext; }
|
|
32
33
|
});
|