powerlines 0.24.3 → 0.24.4
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-AOAZS3KU.js → chunk-3GIUBMCO.js} +1 -1
- package/dist/{chunk-WG76FEAR.js → chunk-72IKSCJB.js} +1 -1
- package/dist/{chunk-VO7UNY6U.js → chunk-FYRK42WJ.js} +9 -9
- package/dist/{chunk-XFPLVPMF.cjs → chunk-M2RYLU4O.cjs} +31 -31
- package/dist/{chunk-2DHR5VPL.js → chunk-MPNS4WJG.js} +1 -1
- package/dist/{chunk-WJQX2T36.cjs → chunk-QXH7GHN2.cjs} +2 -2
- package/dist/{chunk-DMV2VN3N.cjs → chunk-VM5QO2QI.cjs} +2 -2
- package/dist/{chunk-MR2ARFN4.js → chunk-WHQHVACG.js} +1 -1
- package/dist/{chunk-37PJDPER.cjs → chunk-YSHE2L5C.cjs} +3 -3
- package/dist/{chunk-YWDLT2K5.cjs → chunk-YVKPBIAR.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-4YERLWXX.cjs → chunk-ICO2ZK64.cjs} +31 -30
- package/dist/lib/{chunk-NKV4KVFI.js → chunk-IG4PBAEY.js} +9 -8
- package/dist/lib/index.cjs +2 -2
- package/dist/lib/index.js +1 -1
- package/dist/lib/unplugin/factory.cjs +2 -2
- package/dist/lib/unplugin/factory.js +1 -1
- package/dist/lib/unplugin/index.cjs +2 -2
- package/dist/lib/unplugin/index.js +1 -1
- 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 +14 -14
|
@@ -40,9 +40,9 @@ var ts = require('typescript');
|
|
|
40
40
|
var _package = require('@stryke/string-format/package');
|
|
41
41
|
var superdiff = require('@donedeal0/superdiff');
|
|
42
42
|
var json = require('@stryke/fs/json');
|
|
43
|
-
var tsconfig = require('@stryke/fs/tsconfig');
|
|
44
43
|
var stormJson = require('@stryke/json/storm-json');
|
|
45
44
|
var filePathFns = require('@stryke/path/file-path-fns');
|
|
45
|
+
var isParentPath = require('@stryke/path/is-parent-path');
|
|
46
46
|
var titleCase = require('@stryke/string-format/title-case');
|
|
47
47
|
|
|
48
48
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -268,26 +268,27 @@ ${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
|
|
271
|
+
const tsconfig = chunkBQU53ZNB_cjs.getParsedTypeScriptConfig(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig, context.config.tsconfigRaw);
|
|
272
272
|
const tsconfigFilePath = chunkBQU53ZNB_cjs.getTsconfigFilePath(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig);
|
|
273
273
|
const tsconfigJson = await json.readJsonFile(tsconfigFilePath);
|
|
274
274
|
tsconfigJson.compilerOptions ??= {};
|
|
275
|
-
const extendedTsconfig = await tsconfig.loadTsConfig(tsconfigFilePath);
|
|
276
|
-
extendedTsconfig.compilerOptions ??= {};
|
|
277
275
|
if (tsconfigJson.reflection !== true) {
|
|
278
276
|
tsconfigJson.reflection = true;
|
|
279
277
|
}
|
|
280
|
-
if (tsconfig
|
|
278
|
+
if (tsconfig.options.experimentalDecorators !== true) {
|
|
281
279
|
tsconfigJson.compilerOptions.experimentalDecorators = true;
|
|
282
280
|
}
|
|
283
|
-
if (tsconfig
|
|
281
|
+
if (tsconfig.options.emitDecoratorMetadata !== true) {
|
|
284
282
|
tsconfigJson.compilerOptions.emitDecoratorMetadata = true;
|
|
285
283
|
}
|
|
286
|
-
if (context.config.output.dts) {
|
|
287
|
-
|
|
288
|
-
|
|
284
|
+
if (context.config.output.dts !== false) {
|
|
285
|
+
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
|
+
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
|
+
context.config.output.dts = joinPaths.joinPaths(context.config.output.dts, "powerlines.d.ts");
|
|
288
|
+
}
|
|
289
|
+
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));
|
|
289
290
|
if (!tsconfigJson.include?.some((filePattern) => chunkBQU53ZNB_cjs.isIncludeMatchFound(filePattern, [
|
|
290
|
-
|
|
291
|
+
String(context.config.output.dts),
|
|
291
292
|
dtsRelativePath,
|
|
292
293
|
"storm.d.ts"
|
|
293
294
|
]))) {
|
|
@@ -295,7 +296,7 @@ async function resolveTsconfigChanges(context) {
|
|
|
295
296
|
tsconfigJson.include.push(dtsRelativePath.startsWith("./") ? dtsRelativePath.slice(2) : dtsRelativePath);
|
|
296
297
|
}
|
|
297
298
|
}
|
|
298
|
-
if (!tsconfig
|
|
299
|
+
if (!tsconfig.options.lib?.some((lib) => [
|
|
299
300
|
"lib.esnext.d.ts",
|
|
300
301
|
"lib.es2021.d.ts",
|
|
301
302
|
"lib.es2022.d.ts",
|
|
@@ -304,68 +305,68 @@ async function resolveTsconfigChanges(context) {
|
|
|
304
305
|
tsconfigJson.compilerOptions.lib ??= [];
|
|
305
306
|
tsconfigJson.compilerOptions.lib.push("esnext");
|
|
306
307
|
}
|
|
307
|
-
if (tsconfig
|
|
308
|
+
if (tsconfig.options.module !== ts__default.default.ModuleKind.ESNext) {
|
|
308
309
|
tsconfigJson.compilerOptions.module = "ESNext";
|
|
309
310
|
}
|
|
310
|
-
if (!tsconfig
|
|
311
|
+
if (!tsconfig.options.target || ![
|
|
311
312
|
ts__default.default.ScriptTarget.ESNext,
|
|
312
313
|
ts__default.default.ScriptTarget.ES2024,
|
|
313
314
|
ts__default.default.ScriptTarget.ES2023,
|
|
314
315
|
ts__default.default.ScriptTarget.ES2022,
|
|
315
316
|
ts__default.default.ScriptTarget.ES2021
|
|
316
|
-
].includes(tsconfig
|
|
317
|
+
].includes(tsconfig.options.target)) {
|
|
317
318
|
tsconfigJson.compilerOptions.target = "ESNext";
|
|
318
319
|
}
|
|
319
|
-
if (tsconfig
|
|
320
|
+
if (tsconfig.options.moduleResolution !== ts__default.default.ModuleResolutionKind.Bundler) {
|
|
320
321
|
tsconfigJson.compilerOptions.moduleResolution = "Bundler";
|
|
321
322
|
}
|
|
322
|
-
if (tsconfig
|
|
323
|
+
if (tsconfig.options.moduleDetection !== ts__default.default.ModuleDetectionKind.Force) {
|
|
323
324
|
tsconfigJson.compilerOptions.moduleDetection = "force";
|
|
324
325
|
}
|
|
325
|
-
if (tsconfig
|
|
326
|
+
if (tsconfig.options.allowSyntheticDefaultImports !== true) {
|
|
326
327
|
tsconfigJson.compilerOptions.allowSyntheticDefaultImports = true;
|
|
327
328
|
}
|
|
328
|
-
if (tsconfig
|
|
329
|
+
if (tsconfig.options.noImplicitOverride !== true) {
|
|
329
330
|
tsconfigJson.compilerOptions.noImplicitOverride = true;
|
|
330
331
|
}
|
|
331
|
-
if (tsconfig
|
|
332
|
+
if (tsconfig.options.noUncheckedIndexedAccess !== true) {
|
|
332
333
|
tsconfigJson.compilerOptions.noUncheckedIndexedAccess = true;
|
|
333
334
|
}
|
|
334
|
-
if (tsconfig
|
|
335
|
+
if (tsconfig.options.skipLibCheck !== true) {
|
|
335
336
|
tsconfigJson.compilerOptions.skipLibCheck = true;
|
|
336
337
|
}
|
|
337
|
-
if (tsconfig
|
|
338
|
+
if (tsconfig.options.resolveJsonModule !== true) {
|
|
338
339
|
tsconfigJson.compilerOptions.resolveJsonModule = true;
|
|
339
340
|
}
|
|
340
|
-
if (tsconfig
|
|
341
|
+
if (tsconfig.options.isolatedModules !== true) {
|
|
341
342
|
tsconfigJson.compilerOptions.isolatedModules = true;
|
|
342
343
|
}
|
|
343
|
-
if (tsconfig
|
|
344
|
+
if (tsconfig.options.verbatimModuleSyntax !== false) {
|
|
344
345
|
tsconfigJson.compilerOptions.verbatimModuleSyntax = false;
|
|
345
346
|
}
|
|
346
|
-
if (tsconfig
|
|
347
|
+
if (tsconfig.options.allowJs !== true) {
|
|
347
348
|
tsconfigJson.compilerOptions.allowJs = true;
|
|
348
349
|
}
|
|
349
|
-
if (tsconfig
|
|
350
|
+
if (tsconfig.options.esModuleInterop !== true) {
|
|
350
351
|
tsconfigJson.compilerOptions.esModuleInterop = true;
|
|
351
352
|
}
|
|
352
|
-
if (tsconfig
|
|
353
|
+
if (tsconfig.options.declaration !== true) {
|
|
353
354
|
tsconfigJson.compilerOptions.declaration = true;
|
|
354
355
|
}
|
|
355
356
|
if (context.environment.consumer === "client") {
|
|
356
|
-
if (tsconfig
|
|
357
|
+
if (tsconfig.options.jsx !== ts__default.default.JsxEmit.ReactJSX) {
|
|
357
358
|
tsconfigJson.compilerOptions.jsx = "react-jsx";
|
|
358
359
|
}
|
|
359
|
-
if (!tsconfig
|
|
360
|
+
if (!tsconfig.options.lib?.some((lib) => lib.toLowerCase() !== "dom")) {
|
|
360
361
|
tsconfigJson.compilerOptions.lib ??= [];
|
|
361
362
|
tsconfigJson.compilerOptions.lib.push("dom");
|
|
362
363
|
}
|
|
363
|
-
if (!tsconfig
|
|
364
|
+
if (!tsconfig.options.lib?.some((lib) => lib.toLowerCase() !== "dom.iterable")) {
|
|
364
365
|
tsconfigJson.compilerOptions.lib ??= [];
|
|
365
366
|
tsconfigJson.compilerOptions.lib.push("dom.iterable");
|
|
366
367
|
}
|
|
367
368
|
} else if (context.config.build.platform === "node") {
|
|
368
|
-
if (!tsconfig
|
|
369
|
+
if (!tsconfig.options.types?.some((type) => type.toLowerCase() === "node" || type.toLowerCase() === "@types/node")) {
|
|
369
370
|
tsconfigJson.compilerOptions.types ??= [];
|
|
370
371
|
tsconfigJson.compilerOptions.types.push("node");
|
|
371
372
|
}
|
|
@@ -38,9 +38,9 @@ import ts, { flattenDiagnosticMessageText } from 'typescript';
|
|
|
38
38
|
import { getPackageName, hasPackageVersion, getPackageVersion } from '@stryke/string-format/package';
|
|
39
39
|
import { getObjectDiff } from '@donedeal0/superdiff';
|
|
40
40
|
import { readJsonFile } from '@stryke/fs/json';
|
|
41
|
-
import { loadTsConfig } from '@stryke/fs/tsconfig';
|
|
42
41
|
import { StormJSON } from '@stryke/json/storm-json';
|
|
43
|
-
import { relativePath, findFilePath, findFileName } from '@stryke/path/file-path-fns';
|
|
42
|
+
import { findFileExtension, relativePath, findFilePath, findFileName } from '@stryke/path/file-path-fns';
|
|
43
|
+
import { isParentPath } from '@stryke/path/is-parent-path';
|
|
44
44
|
import { titleCase } from '@stryke/string-format/title-case';
|
|
45
45
|
|
|
46
46
|
function resolveModulePath(nodePath, state) {
|
|
@@ -245,8 +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
|
-
const extendedTsconfig = await loadTsConfig(tsconfigFilePath);
|
|
249
|
-
extendedTsconfig.compilerOptions ??= {};
|
|
250
248
|
if (tsconfigJson.reflection !== true) {
|
|
251
249
|
tsconfigJson.reflection = true;
|
|
252
250
|
}
|
|
@@ -256,11 +254,14 @@ async function resolveTsconfigChanges(context) {
|
|
|
256
254
|
if (tsconfig.options.emitDecoratorMetadata !== true) {
|
|
257
255
|
tsconfigJson.compilerOptions.emitDecoratorMetadata = true;
|
|
258
256
|
}
|
|
259
|
-
if (context.config.output.dts) {
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
if (context.config.output.dts !== false) {
|
|
258
|
+
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
|
+
if (findFileExtension(context.config.output.dts) !== "d.ts" && findFileExtension(context.config.output.dts) !== "d.cts" && findFileExtension(context.config.output.dts) !== "d.mts") {
|
|
260
|
+
context.config.output.dts = joinPaths(context.config.output.dts, "powerlines.d.ts");
|
|
261
|
+
}
|
|
262
|
+
const dtsRelativePath = joinPaths(relativePath(joinPaths(context.workspaceConfig.workspaceRoot, context.config.projectRoot), findFilePath(context.config.output.dts)), findFileName(context.config.output.dts));
|
|
262
263
|
if (!tsconfigJson.include?.some((filePattern) => isIncludeMatchFound(filePattern, [
|
|
263
|
-
|
|
264
|
+
String(context.config.output.dts),
|
|
264
265
|
dtsRelativePath,
|
|
265
266
|
"storm.d.ts"
|
|
266
267
|
]))) {
|
package/dist/lib/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var chunkDUZJ7ZF2_cjs = require('./chunk-DUZJ7ZF2.cjs');
|
|
|
5
5
|
var chunkJG4IL7XL_cjs = require('./chunk-JG4IL7XL.cjs');
|
|
6
6
|
var chunkVQ7CXQLT_cjs = require('./chunk-VQ7CXQLT.cjs');
|
|
7
7
|
require('./chunk-VVSEE3JE.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkICO2ZK64_cjs = require('./chunk-ICO2ZK64.cjs');
|
|
9
9
|
var chunk2NZADVP5_cjs = require('./chunk-2NZADVP5.cjs');
|
|
10
10
|
var chunkEV357RFB_cjs = require('./chunk-EV357RFB.cjs');
|
|
11
11
|
var chunkDX2VAXZB_cjs = require('./chunk-DX2VAXZB.cjs');
|
|
@@ -50,7 +50,7 @@ Object.defineProperty(exports, "createWorker", {
|
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "createUnpluginFactory", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkICO2ZK64_cjs.createUnpluginFactory; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "writeFile", {
|
|
56
56
|
enumerable: true,
|
package/dist/lib/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { resolve } from './chunk-A2NFSQ5K.js';
|
|
|
3
3
|
export { generateSourceMap } from './chunk-NST5TNW6.js';
|
|
4
4
|
export { Worker, createWorker } from './chunk-EQKS6CLU.js';
|
|
5
5
|
import './chunk-H5JWMXTZ.js';
|
|
6
|
-
export { createUnpluginFactory } from './chunk-
|
|
6
|
+
export { createUnpluginFactory } from './chunk-IG4PBAEY.js';
|
|
7
7
|
export { writeFile } from './chunk-TANQDHYY.js';
|
|
8
8
|
export { createUnplugin } from './chunk-6I5PL7H2.js';
|
|
9
9
|
export { combineContexts } from './chunk-32Q2PG5D.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkICO2ZK64_cjs = require('../chunk-ICO2ZK64.cjs');
|
|
4
4
|
require('../chunk-2NZADVP5.cjs');
|
|
5
5
|
require('../chunk-4NHFXDTQ.cjs');
|
|
6
6
|
require('../chunk-BQU53ZNB.cjs');
|
|
@@ -20,5 +20,5 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
20
20
|
|
|
21
21
|
Object.defineProperty(exports, "createUnpluginFactory", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkICO2ZK64_cjs.createUnpluginFactory; }
|
|
24
24
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-VVSEE3JE.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkICO2ZK64_cjs = require('../chunk-ICO2ZK64.cjs');
|
|
5
5
|
require('../chunk-2NZADVP5.cjs');
|
|
6
6
|
var chunkEV357RFB_cjs = require('../chunk-EV357RFB.cjs');
|
|
7
7
|
var chunkDX2VAXZB_cjs = require('../chunk-DX2VAXZB.cjs');
|
|
@@ -23,7 +23,7 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
23
23
|
|
|
24
24
|
Object.defineProperty(exports, "createUnpluginFactory", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkICO2ZK64_cjs.createUnpluginFactory; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "createUnplugin", {
|
|
29
29
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-H5JWMXTZ.js';
|
|
2
|
-
export { createUnpluginFactory } from '../chunk-
|
|
2
|
+
export { createUnpluginFactory } from '../chunk-IG4PBAEY.js';
|
|
3
3
|
import '../chunk-TANQDHYY.js';
|
|
4
4
|
export { createUnplugin } from '../chunk-6I5PL7H2.js';
|
|
5
5
|
export { combineContexts } from '../chunk-32Q2PG5D.js';
|
package/dist/next.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var chunkVM5QO2QI_cjs = require('./chunk-VM5QO2QI.cjs');
|
|
6
|
+
require('./chunk-YSHE2L5C.cjs');
|
|
7
|
+
require('./chunk-M2RYLU4O.cjs');
|
|
8
8
|
require('./chunk-ETKZMGLN.cjs');
|
|
9
9
|
require('./chunk-PAMSESZV.cjs');
|
|
10
10
|
require('./chunk-AYKZK666.cjs');
|
|
@@ -17,7 +17,7 @@ function next(config = {}) {
|
|
|
17
17
|
webpack(webpackConfig, context) {
|
|
18
18
|
const result = config.webpack?.(webpackConfig, context) || webpackConfig;
|
|
19
19
|
result.plugins ??= [];
|
|
20
|
-
result.plugins.push(
|
|
20
|
+
result.plugins.push(chunkVM5QO2QI_cjs.webpack_default(webpackConfig));
|
|
21
21
|
return result;
|
|
22
22
|
}
|
|
23
23
|
};
|
package/dist/next.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { webpack_default } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { webpack_default } from './chunk-72IKSCJB.js';
|
|
2
|
+
import './chunk-3GIUBMCO.js';
|
|
3
|
+
import './chunk-FYRK42WJ.js';
|
|
4
4
|
import './chunk-JQCWV4DT.js';
|
|
5
5
|
import './chunk-JKBJF3UI.js';
|
|
6
6
|
import './chunk-VT7NVLLU.js';
|
package/dist/nuxt.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkQXH7GHN2_cjs = require('./chunk-QXH7GHN2.cjs');
|
|
6
6
|
require('./chunk-5IBA5HC2.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
var chunkVM5QO2QI_cjs = require('./chunk-VM5QO2QI.cjs');
|
|
8
|
+
require('./chunk-YSHE2L5C.cjs');
|
|
9
|
+
require('./chunk-M2RYLU4O.cjs');
|
|
10
10
|
require('./chunk-ETKZMGLN.cjs');
|
|
11
11
|
require('./chunk-PAMSESZV.cjs');
|
|
12
12
|
require('./chunk-AYKZK666.cjs');
|
|
@@ -21,8 +21,8 @@ var nuxt = kit.defineNuxtModule({
|
|
|
21
21
|
},
|
|
22
22
|
defaults: {},
|
|
23
23
|
setup(options, _nuxt) {
|
|
24
|
-
kit.addVitePlugin(() =>
|
|
25
|
-
kit.addWebpackPlugin(() =>
|
|
24
|
+
kit.addVitePlugin(() => chunkQXH7GHN2_cjs.vite_default(options));
|
|
25
|
+
kit.addWebpackPlugin(() => chunkVM5QO2QI_cjs.webpack_default(options));
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
var nuxt_default = nuxt;
|
package/dist/nuxt.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-WHQHVACG.js';
|
|
2
2
|
import './chunk-VBR53KGY.js';
|
|
3
|
-
import { webpack_default } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
import { webpack_default } from './chunk-72IKSCJB.js';
|
|
4
|
+
import './chunk-3GIUBMCO.js';
|
|
5
|
+
import './chunk-FYRK42WJ.js';
|
|
6
6
|
import './chunk-JQCWV4DT.js';
|
|
7
7
|
import './chunk-JKBJF3UI.js';
|
|
8
8
|
import './chunk-VT7NVLLU.js';
|
package/dist/rolldown.cjs
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkYSHE2L5C_cjs = require('./chunk-YSHE2L5C.cjs');
|
|
6
|
+
require('./chunk-M2RYLU4O.cjs');
|
|
7
7
|
require('./chunk-ETKZMGLN.cjs');
|
|
8
8
|
require('./chunk-PAMSESZV.cjs');
|
|
9
9
|
require('./chunk-AYKZK666.cjs');
|
|
10
10
|
require('./chunk-USNT2KNT.cjs');
|
|
11
11
|
var unplugin = require('unplugin');
|
|
12
12
|
|
|
13
|
-
var rolldown = unplugin.createRolldownPlugin(
|
|
13
|
+
var rolldown = unplugin.createRolldownPlugin(chunkYSHE2L5C_cjs.createUnpluginFactory("rolldown"));
|
|
14
14
|
var rolldown_default = rolldown;
|
|
15
15
|
|
|
16
16
|
exports.default = rolldown_default;
|
package/dist/rolldown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-3GIUBMCO.js';
|
|
2
|
+
import './chunk-FYRK42WJ.js';
|
|
3
3
|
import './chunk-JQCWV4DT.js';
|
|
4
4
|
import './chunk-JKBJF3UI.js';
|
|
5
5
|
import './chunk-VT7NVLLU.js';
|
package/dist/rollup.cjs
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkYSHE2L5C_cjs = require('./chunk-YSHE2L5C.cjs');
|
|
6
|
+
require('./chunk-M2RYLU4O.cjs');
|
|
7
7
|
require('./chunk-ETKZMGLN.cjs');
|
|
8
8
|
require('./chunk-PAMSESZV.cjs');
|
|
9
9
|
require('./chunk-AYKZK666.cjs');
|
|
10
10
|
require('./chunk-USNT2KNT.cjs');
|
|
11
11
|
var unplugin = require('unplugin');
|
|
12
12
|
|
|
13
|
-
var rollup = unplugin.createRollupPlugin(
|
|
13
|
+
var rollup = unplugin.createRollupPlugin(chunkYSHE2L5C_cjs.createUnpluginFactory("rollup"));
|
|
14
14
|
var rollup_default = rollup;
|
|
15
15
|
|
|
16
16
|
exports.default = rollup_default;
|
package/dist/rollup.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-3GIUBMCO.js';
|
|
2
|
+
import './chunk-FYRK42WJ.js';
|
|
3
3
|
import './chunk-JQCWV4DT.js';
|
|
4
4
|
import './chunk-JKBJF3UI.js';
|
|
5
5
|
import './chunk-VT7NVLLU.js';
|
package/dist/rspack.cjs
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkYSHE2L5C_cjs = require('./chunk-YSHE2L5C.cjs');
|
|
6
|
+
require('./chunk-M2RYLU4O.cjs');
|
|
7
7
|
require('./chunk-ETKZMGLN.cjs');
|
|
8
8
|
require('./chunk-PAMSESZV.cjs');
|
|
9
9
|
require('./chunk-AYKZK666.cjs');
|
|
10
10
|
require('./chunk-USNT2KNT.cjs');
|
|
11
11
|
var unplugin = require('unplugin');
|
|
12
12
|
|
|
13
|
-
var rspack = unplugin.createRspackPlugin(
|
|
13
|
+
var rspack = unplugin.createRspackPlugin(chunkYSHE2L5C_cjs.createUnpluginFactory("rspack"));
|
|
14
14
|
var rspack_default = rspack;
|
|
15
15
|
|
|
16
16
|
exports.default = rspack_default;
|
package/dist/rspack.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-3GIUBMCO.js';
|
|
2
|
+
import './chunk-FYRK42WJ.js';
|
|
3
3
|
import './chunk-JQCWV4DT.js';
|
|
4
4
|
import './chunk-JKBJF3UI.js';
|
|
5
5
|
import './chunk-VT7NVLLU.js';
|
package/dist/tsup.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkYVKPBIAR_cjs = require('./chunk-YVKPBIAR.cjs');
|
|
6
6
|
require('./chunk-5IBA5HC2.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-YSHE2L5C.cjs');
|
|
8
|
+
require('./chunk-M2RYLU4O.cjs');
|
|
9
9
|
require('./chunk-ETKZMGLN.cjs');
|
|
10
10
|
require('./chunk-PAMSESZV.cjs');
|
|
11
11
|
require('./chunk-AYKZK666.cjs');
|
|
@@ -16,7 +16,7 @@ function tsup(options = {}) {
|
|
|
16
16
|
return {
|
|
17
17
|
...options,
|
|
18
18
|
esbuildPlugins: [
|
|
19
|
-
|
|
19
|
+
chunkYVKPBIAR_cjs.esbuild_default({
|
|
20
20
|
output: {
|
|
21
21
|
outputPath: options.outDir,
|
|
22
22
|
format: options.format
|
package/dist/tsup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { esbuild_default } from './chunk-
|
|
1
|
+
import { esbuild_default } from './chunk-MPNS4WJG.js';
|
|
2
2
|
import './chunk-VBR53KGY.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-3GIUBMCO.js';
|
|
4
|
+
import './chunk-FYRK42WJ.js';
|
|
5
5
|
import './chunk-JQCWV4DT.js';
|
|
6
6
|
import './chunk-JKBJF3UI.js';
|
|
7
7
|
import './chunk-VT7NVLLU.js';
|
package/dist/unloader.cjs
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkYSHE2L5C_cjs = require('./chunk-YSHE2L5C.cjs');
|
|
6
|
+
require('./chunk-M2RYLU4O.cjs');
|
|
7
7
|
require('./chunk-ETKZMGLN.cjs');
|
|
8
8
|
require('./chunk-PAMSESZV.cjs');
|
|
9
9
|
require('./chunk-AYKZK666.cjs');
|
|
10
10
|
require('./chunk-USNT2KNT.cjs');
|
|
11
11
|
var unplugin = require('unplugin');
|
|
12
12
|
|
|
13
|
-
var unloader = unplugin.createUnloaderPlugin(
|
|
13
|
+
var unloader = unplugin.createUnloaderPlugin(chunkYSHE2L5C_cjs.createUnpluginFactory("unloader"));
|
|
14
14
|
var unloader_default = unloader;
|
|
15
15
|
|
|
16
16
|
exports.default = unloader_default;
|
package/dist/unloader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-3GIUBMCO.js';
|
|
2
|
+
import './chunk-FYRK42WJ.js';
|
|
3
3
|
import './chunk-JQCWV4DT.js';
|
|
4
4
|
import './chunk-JKBJF3UI.js';
|
|
5
5
|
import './chunk-VT7NVLLU.js';
|
package/dist/unplugin.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkYSHE2L5C_cjs = require('./chunk-YSHE2L5C.cjs');
|
|
4
|
+
var chunkM2RYLU4O_cjs = require('./chunk-M2RYLU4O.cjs');
|
|
5
5
|
require('./chunk-ETKZMGLN.cjs');
|
|
6
6
|
require('./chunk-PAMSESZV.cjs');
|
|
7
7
|
require('./chunk-AYKZK666.cjs');
|
|
@@ -19,7 +19,7 @@ chunkUSNT2KNT_cjs.__name(combineContexts, "combineContexts");
|
|
|
19
19
|
function createUnplugin(context, _options = {}) {
|
|
20
20
|
const ctx = context;
|
|
21
21
|
return () => {
|
|
22
|
-
const log =
|
|
22
|
+
const log = chunkM2RYLU4O_cjs.extendLog(ctx.log, "unplugin");
|
|
23
23
|
log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
|
|
24
24
|
try {
|
|
25
25
|
async function buildStart() {
|
|
@@ -111,7 +111,7 @@ export * from "${isString.isString(resolved) ? resolved : resolved.id}";
|
|
|
111
111
|
let transformed = code;
|
|
112
112
|
for (const handler of ctx.$$internal.environment.selectHooks("transform")) {
|
|
113
113
|
const result = await handler.apply(combineContexts(ctx, this), [
|
|
114
|
-
|
|
114
|
+
chunkYSHE2L5C_cjs.getString(transformed),
|
|
115
115
|
id
|
|
116
116
|
]);
|
|
117
117
|
if (result) {
|
|
@@ -176,7 +176,7 @@ chunkUSNT2KNT_cjs.__name(createUnplugin, "createUnplugin");
|
|
|
176
176
|
|
|
177
177
|
Object.defineProperty(exports, "createUnpluginFactory", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkYSHE2L5C_cjs.createUnpluginFactory; }
|
|
180
180
|
});
|
|
181
181
|
exports.combineContexts = combineContexts;
|
|
182
182
|
exports.createUnplugin = createUnplugin;
|
package/dist/unplugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getString } from './chunk-
|
|
2
|
-
export { createUnpluginFactory } from './chunk-
|
|
3
|
-
import { extendLog } from './chunk-
|
|
1
|
+
import { getString } from './chunk-3GIUBMCO.js';
|
|
2
|
+
export { createUnpluginFactory } from './chunk-3GIUBMCO.js';
|
|
3
|
+
import { extendLog } from './chunk-FYRK42WJ.js';
|
|
4
4
|
import './chunk-JQCWV4DT.js';
|
|
5
5
|
import './chunk-JKBJF3UI.js';
|
|
6
6
|
import './chunk-VT7NVLLU.js';
|
package/dist/vite.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkQXH7GHN2_cjs = require('./chunk-QXH7GHN2.cjs');
|
|
6
6
|
require('./chunk-5IBA5HC2.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-YSHE2L5C.cjs');
|
|
8
|
+
require('./chunk-M2RYLU4O.cjs');
|
|
9
9
|
require('./chunk-ETKZMGLN.cjs');
|
|
10
10
|
require('./chunk-PAMSESZV.cjs');
|
|
11
11
|
require('./chunk-AYKZK666.cjs');
|
|
@@ -15,13 +15,13 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "default", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkQXH7GHN2_cjs.vite_default; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "module.exports", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkQXH7GHN2_cjs.vite; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "vite", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkQXH7GHN2_cjs.vite; }
|
|
27
27
|
});
|
package/dist/vite.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { vite_default as default, vite as "module.exports", vite } from './chunk-
|
|
1
|
+
export { vite_default as default, vite as "module.exports", vite } from './chunk-WHQHVACG.js';
|
|
2
2
|
import './chunk-VBR53KGY.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-3GIUBMCO.js';
|
|
4
|
+
import './chunk-FYRK42WJ.js';
|
|
5
5
|
import './chunk-JQCWV4DT.js';
|
|
6
6
|
import './chunk-JKBJF3UI.js';
|
|
7
7
|
import './chunk-VT7NVLLU.js';
|
package/dist/webpack.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var chunkVM5QO2QI_cjs = require('./chunk-VM5QO2QI.cjs');
|
|
6
|
+
require('./chunk-YSHE2L5C.cjs');
|
|
7
|
+
require('./chunk-M2RYLU4O.cjs');
|
|
8
8
|
require('./chunk-ETKZMGLN.cjs');
|
|
9
9
|
require('./chunk-PAMSESZV.cjs');
|
|
10
10
|
require('./chunk-AYKZK666.cjs');
|
|
@@ -14,13 +14,13 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "default", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkVM5QO2QI_cjs.webpack_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "module.exports", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkVM5QO2QI_cjs.webpack; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "webpack", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkVM5QO2QI_cjs.webpack; }
|
|
26
26
|
});
|
package/dist/webpack.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-72IKSCJB.js';
|
|
2
|
+
import './chunk-3GIUBMCO.js';
|
|
3
|
+
import './chunk-FYRK42WJ.js';
|
|
4
4
|
import './chunk-JQCWV4DT.js';
|
|
5
5
|
import './chunk-JKBJF3UI.js';
|
|
6
6
|
import './chunk-VT7NVLLU.js';
|