powerlines 0.23.10 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{api-5H3zEedD.d.ts → api-C32Buv5_.d.ts} +1 -1
- package/dist/{api-B77aqxGC.d.cts → api-wzd5AREv.d.cts} +1 -1
- package/dist/api.cjs +2 -2
- package/dist/api.d.cts +4 -2
- package/dist/api.d.ts +4 -2
- package/dist/api.js +1 -1
- package/dist/astro.cjs +4 -4
- package/dist/astro.d.cts +3 -1
- package/dist/astro.d.ts +3 -1
- package/dist/astro.js +3 -3
- package/dist/chunk-2TWFBWKA.cjs +133 -0
- package/dist/{chunk-3W5CN3M3.js → chunk-7V3LWCLB.js} +1 -1
- package/dist/chunk-EXQM3KGH.js +130 -0
- package/dist/{chunk-4EIGDACJ.cjs → chunk-FGH3MZTQ.cjs} +523 -649
- package/dist/{chunk-SNHUEYEP.cjs → chunk-FPB2O7FD.cjs} +2 -2
- package/dist/{chunk-ZIWN73GA.js → chunk-H74SWU2C.js} +1 -1
- package/dist/{chunk-WBC2XOMT.cjs → chunk-HTGCHSLH.cjs} +2 -2
- package/dist/{chunk-PR3JGGAL.cjs → chunk-TIBYAWZZ.cjs} +2 -2
- package/dist/{chunk-SS5AXCGJ.js → chunk-ZEE73BCY.js} +1 -1
- package/dist/{chunk-MUNYXQYT.js → chunk-ZT2J55YE.js} +526 -649
- package/dist/config.d.cts +3 -1
- package/dist/config.d.ts +3 -1
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.d.cts +3 -1
- package/dist/esbuild.d.ts +3 -1
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.d.cts +3 -1
- package/dist/farm.d.ts +3 -1
- package/dist/farm.js +2 -2
- package/dist/index.cjs +11 -23
- package/dist/index.d.cts +6 -135
- package/dist/index.d.ts +6 -135
- package/dist/index.js +2 -2
- package/dist/lib/{api-Cm51oVbC.d.cts → api-BRMITKt-.d.cts} +1 -1
- package/dist/lib/{api-mja4jirh.d.ts → api-CDUN9en8.d.ts} +1 -1
- package/dist/lib/build/esbuild.d.cts +3 -1
- package/dist/lib/build/esbuild.d.ts +3 -1
- package/dist/lib/build/index.d.cts +5 -3
- package/dist/lib/build/index.d.ts +5 -3
- package/dist/lib/build/rolldown.d.cts +3 -1
- package/dist/lib/build/rolldown.d.ts +3 -1
- package/dist/lib/build/rollup.d.cts +3 -1
- package/dist/lib/build/rollup.d.ts +3 -1
- package/dist/lib/build/rspack.d.cts +3 -1
- package/dist/lib/build/rspack.d.ts +3 -1
- package/dist/lib/build/tsup.d.cts +3 -1
- package/dist/lib/build/tsup.d.ts +3 -1
- package/dist/lib/build/unbuild.d.cts +5 -3
- package/dist/lib/build/unbuild.d.ts +5 -3
- package/dist/lib/build/vite.d.cts +3 -1
- package/dist/lib/build/vite.d.ts +3 -1
- package/dist/lib/build/webpack.d.cts +3 -1
- package/dist/lib/build/webpack.d.ts +3 -1
- package/dist/lib/{chunk-52VDUP5J.js → chunk-6I5PL7H2.js} +5 -17
- package/dist/lib/{chunk-UPVFKXB7.cjs → chunk-6PPZCPME.cjs} +1 -2
- package/dist/lib/{chunk-HNOAMIRO.js → chunk-7CVPZOH4.js} +2 -2
- package/dist/lib/{chunk-SEWUUTNA.js → chunk-A2NFSQ5K.js} +1 -1
- package/dist/lib/{chunk-I6TJUFA6.cjs → chunk-AA6RBP44.cjs} +10 -10
- package/dist/lib/{chunk-VDPCG3RR.js → chunk-CGRHZJY5.js} +41 -82
- package/dist/lib/{chunk-OJ5XFCZN.js → chunk-DFW5FGEO.js} +1 -1
- package/dist/lib/{chunk-VL63QEPF.cjs → chunk-DUZJ7ZF2.cjs} +2 -2
- package/dist/lib/{chunk-EFYMNU53.cjs → chunk-EV357RFB.cjs} +5 -17
- package/dist/lib/{chunk-54XNJQTH.js → chunk-HAXL7QE7.js} +3 -3
- package/dist/lib/{chunk-XG4CC73V.js → chunk-KFWMKDJQ.js} +391 -589
- package/dist/lib/{chunk-RBSNQFLF.cjs → chunk-MS3CD2U6.cjs} +49 -91
- package/dist/lib/{chunk-QABAD5RE.cjs → chunk-RNHKEPFD.cjs} +387 -586
- package/dist/lib/{chunk-4EIXDLFP.cjs → chunk-SAS5EPBD.cjs} +7 -5
- package/dist/lib/{chunk-EUDKQWSB.js → chunk-VHLINWXG.js} +1 -2
- package/dist/lib/{chunk-VLOUSKRX.cjs → chunk-VMLQATMA.cjs} +4 -4
- package/dist/lib/{chunk-IBPA3VN5.cjs → chunk-WUYK74EH.cjs} +3 -3
- package/dist/lib/{chunk-RD5AUWXN.js → chunk-YQ3ODCHV.js} +7 -5
- package/dist/lib/{config-BnJpgcGr.d.cts → config-D8KrE7SZ.d.cts} +109 -35
- package/dist/lib/{config-7Q2dBjJE.d.ts → config-DBIFdRoq.d.ts} +109 -35
- package/dist/lib/config-file.d.cts +3 -1
- package/dist/lib/config-file.d.ts +3 -1
- package/dist/lib/contexts/api-context.cjs +5 -4
- package/dist/lib/contexts/api-context.d.cts +5 -3
- package/dist/lib/contexts/api-context.d.ts +5 -3
- package/dist/lib/contexts/api-context.js +4 -3
- package/dist/lib/contexts/context.cjs +3 -2
- package/dist/lib/contexts/context.d.cts +47 -4
- package/dist/lib/contexts/context.d.ts +47 -4
- package/dist/lib/contexts/context.js +2 -1
- package/dist/lib/contexts/environment-context.cjs +4 -3
- package/dist/lib/contexts/environment-context.d.cts +5 -3
- package/dist/lib/contexts/environment-context.d.ts +5 -3
- package/dist/lib/contexts/environment-context.js +3 -2
- package/dist/lib/contexts/index.cjs +7 -6
- package/dist/lib/contexts/index.d.cts +5 -3
- package/dist/lib/contexts/index.d.ts +5 -3
- package/dist/lib/contexts/index.js +4 -3
- package/dist/lib/contexts/plugin-context.d.cts +5 -3
- package/dist/lib/contexts/plugin-context.d.ts +5 -3
- package/dist/lib/entry.d.cts +3 -1
- package/dist/lib/entry.d.ts +3 -1
- package/dist/lib/index.cjs +39 -45
- package/dist/lib/index.d.cts +67 -48
- package/dist/lib/index.d.ts +67 -48
- package/dist/lib/index.js +12 -14
- package/dist/lib/{internal-BEygquYh.d.ts → internal-1qCyw7bA.d.ts} +2 -2
- package/dist/lib/{internal-BeR8fOB1.d.cts → internal-CaGANOWK.d.cts} +2 -2
- package/dist/lib/logger.d.cts +3 -1
- package/dist/lib/logger.d.ts +3 -1
- package/dist/lib/typescript/compiler-host.cjs +7 -7
- package/dist/lib/typescript/compiler-host.d.cts +3 -1
- package/dist/lib/typescript/compiler-host.d.ts +3 -1
- package/dist/lib/typescript/compiler-host.js +6 -6
- package/dist/lib/typescript/import-transformer.cjs +1 -1
- package/dist/lib/typescript/import-transformer.d.cts +3 -1
- package/dist/lib/typescript/import-transformer.d.ts +3 -1
- package/dist/lib/typescript/import-transformer.js +1 -1
- package/dist/lib/typescript/index.cjs +8 -8
- package/dist/lib/typescript/index.d.cts +3 -2
- package/dist/lib/typescript/index.d.ts +3 -2
- package/dist/lib/typescript/index.js +2 -2
- package/dist/lib/typescript/program.cjs +6 -6
- package/dist/lib/typescript/program.d.cts +3 -1
- package/dist/lib/typescript/program.d.ts +3 -1
- package/dist/lib/typescript/program.js +1 -1
- package/dist/lib/typescript/ts-morph.cjs +2 -2
- package/dist/lib/typescript/ts-morph.d.cts +5 -3
- package/dist/lib/typescript/ts-morph.d.ts +5 -3
- package/dist/lib/typescript/ts-morph.js +1 -1
- package/dist/lib/unplugin/factory.cjs +6 -6
- package/dist/lib/unplugin/factory.d.cts +5 -3
- package/dist/lib/unplugin/factory.d.ts +5 -3
- package/dist/lib/unplugin/factory.js +5 -5
- package/dist/lib/unplugin/helpers.d.cts +3 -1
- package/dist/lib/unplugin/helpers.d.ts +3 -1
- package/dist/lib/unplugin/index.cjs +11 -11
- package/dist/lib/unplugin/index.d.cts +6 -4
- package/dist/lib/unplugin/index.d.ts +6 -4
- package/dist/lib/unplugin/index.js +7 -7
- package/dist/lib/unplugin/plugin.cjs +2 -3
- package/dist/lib/unplugin/plugin.d.cts +6 -4
- package/dist/lib/unplugin/plugin.d.ts +6 -4
- package/dist/lib/unplugin/plugin.js +1 -2
- package/dist/lib/{unplugin-CbbNDduM.d.ts → unplugin-CEeJqADD.d.ts} +2 -2
- package/dist/lib/{unplugin-ppAOzR__.d.cts → unplugin-bUSyjd0S.d.cts} +2 -2
- package/dist/lib/utilities/bundle.cjs +2 -3
- package/dist/lib/utilities/bundle.d.cts +3 -1
- package/dist/lib/utilities/bundle.d.ts +3 -1
- package/dist/lib/utilities/bundle.js +1 -2
- package/dist/lib/utilities/cache.d.cts +3 -1
- package/dist/lib/utilities/cache.d.ts +3 -1
- package/dist/lib/utilities/file-header.d.cts +3 -1
- package/dist/lib/utilities/file-header.d.ts +3 -1
- package/dist/lib/utilities/index.cjs +14 -19
- package/dist/lib/utilities/index.d.cts +3 -2
- package/dist/lib/utilities/index.d.ts +3 -2
- package/dist/lib/utilities/index.js +4 -5
- package/dist/lib/utilities/meta.d.cts +3 -1
- package/dist/lib/utilities/meta.d.ts +3 -1
- package/dist/lib/utilities/resolve.cjs +3 -4
- package/dist/lib/utilities/resolve.d.cts +3 -1
- package/dist/lib/utilities/resolve.d.ts +3 -1
- package/dist/lib/utilities/resolve.js +2 -3
- package/dist/lib/utilities/source-file.d.cts +3 -1
- package/dist/lib/utilities/source-file.d.ts +3 -1
- package/dist/lib/utilities/source-map.d.cts +3 -1
- package/dist/lib/utilities/source-map.d.ts +3 -1
- package/dist/lib/utilities/worker.d.cts +3 -1
- package/dist/lib/utilities/worker.d.ts +3 -1
- package/dist/lib/utilities/write-file.d.cts +3 -1
- package/dist/lib/utilities/write-file.d.ts +3 -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/plugin-utils/{context-Cg11S-CE.d.cts → context-BITGF5LZ.d.cts} +118 -39
- package/dist/plugin-utils/{context-Cg11S-CE.d.ts → context-BITGF5LZ.d.ts} +118 -39
- package/dist/plugin-utils/context-helpers.d.cts +4 -1
- package/dist/plugin-utils/context-helpers.d.ts +4 -1
- package/dist/plugin-utils/enforce.d.cts +4 -1
- package/dist/plugin-utils/enforce.d.ts +4 -1
- package/dist/plugin-utils/extend.d.cts +4 -1
- package/dist/plugin-utils/extend.d.ts +4 -1
- package/dist/plugin-utils/get-config-path.d.cts +4 -1
- package/dist/plugin-utils/get-config-path.d.ts +4 -1
- package/dist/plugin-utils/helpers.d.cts +4 -1
- package/dist/plugin-utils/helpers.d.ts +4 -1
- package/dist/plugin-utils/index.d.cts +4 -1
- package/dist/plugin-utils/index.d.ts +4 -1
- package/dist/plugin-utils/merge.d.cts +4 -1
- package/dist/plugin-utils/merge.d.ts +4 -1
- package/dist/plugin-utils/paths.d.cts +4 -1
- package/dist/plugin-utils/paths.d.ts +4 -1
- package/dist/{resolved-B3BSdXCt.d.ts → resolved-BABoCnXm.d.ts} +43 -1
- package/dist/{resolved-DGrpILrS.d.cts → resolved-CSqGKlA5.d.cts} +43 -1
- package/dist/rolldown.cjs +3 -3
- package/dist/rolldown.d.cts +3 -1
- package/dist/rolldown.d.ts +3 -1
- package/dist/rolldown.js +2 -2
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.d.cts +3 -1
- package/dist/rollup.d.ts +3 -1
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.d.cts +3 -1
- package/dist/rspack.d.ts +3 -1
- package/dist/rspack.js +2 -2
- package/dist/tsup.cjs +4 -4
- package/dist/tsup.js +3 -3
- package/dist/types/api.d.cts +4 -2
- package/dist/types/api.d.ts +4 -2
- package/dist/types/babel.d.cts +3 -1
- package/dist/types/babel.d.ts +3 -1
- package/dist/types/commands.d.cts +3 -1
- package/dist/types/commands.d.ts +3 -1
- package/dist/types/config.d.cts +3 -1
- package/dist/types/config.d.ts +3 -1
- package/dist/types/context.d.cts +3 -1
- package/dist/types/context.d.ts +3 -1
- package/dist/types/fs.d.cts +68 -36
- package/dist/types/fs.d.ts +68 -36
- package/dist/types/hooks.d.cts +3 -1
- package/dist/types/hooks.d.ts +3 -1
- package/dist/types/index.d.cts +5 -3
- package/dist/types/index.d.ts +5 -3
- package/dist/types/internal.d.cts +4 -2
- package/dist/types/internal.d.ts +4 -2
- package/dist/types/plugin.d.cts +3 -1
- package/dist/types/plugin.d.ts +3 -1
- package/dist/types/resolved.d.cts +3 -1
- package/dist/types/resolved.d.ts +3 -1
- package/dist/types/unplugin.d.cts +4 -2
- package/dist/types/unplugin.d.ts +4 -2
- package/dist/unloader.cjs +3 -3
- package/dist/unloader.d.cts +3 -1
- package/dist/unloader.d.ts +3 -1
- package/dist/unloader.js +2 -2
- package/dist/unplugin.cjs +12 -28
- package/dist/unplugin.d.cts +104 -31
- package/dist/unplugin.d.ts +104 -31
- package/dist/unplugin.js +10 -23
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.cts +3 -1
- package/dist/vite.d.ts +3 -1
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.d.cts +3 -1
- package/dist/webpack.d.ts +3 -1
- package/dist/webpack.js +3 -3
- package/package.json +17 -16
- package/schemas/fs.capnp +35 -38
- package/dist/chunk-4TBQYHPZ.cjs +0 -234
- package/dist/chunk-7G7OFGGH.js +0 -230
- package/dist/lib/chunk-G7S5PIAC.js +0 -89
- package/dist/lib/chunk-MZJWK36Q.cjs +0 -37
- package/dist/lib/chunk-NWAD7K4D.js +0 -35
- package/dist/lib/chunk-ZBDVQVUK.cjs +0 -91
- package/dist/lib/unplugin/resolve-id.cjs +0 -11
- package/dist/lib/unplugin/resolve-id.d.cts +0 -57
- package/dist/lib/unplugin/resolve-id.d.ts +0 -57
- package/dist/lib/unplugin/resolve-id.js +0 -2
- package/dist/lib/utilities/resolve-path.cjs +0 -11
- package/dist/lib/utilities/resolve-path.d.cts +0 -40
- package/dist/lib/utilities/resolve-path.d.ts +0 -40
- package/dist/lib/utilities/resolve-path.js +0 -2
- /package/dist/lib/{chunk-HMO3LAYL.js → chunk-I2DQRMX3.js} +0 -0
- /package/dist/lib/{chunk-EJ25PQEL.cjs → chunk-YK4PYVLM.cjs} +0 -0
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
4
|
-
var join = require('@stryke/path/join');
|
|
5
|
-
var bundleRequire = require('bundle-require');
|
|
6
|
-
|
|
7
|
-
var NON_NODE_MODULE_REGEX = /^[A-Z]:[/\\]|^\.{0,2}\/|^\.{1,2}$/;
|
|
8
|
-
async function handleResolveId(context, args, options = {}) {
|
|
9
|
-
if (args.id) {
|
|
10
|
-
if (context.fs.isVirtual(args.id) || args.importer && context.fs.isVirtual(args.id, {
|
|
11
|
-
paths: [
|
|
12
|
-
args.importer
|
|
13
|
-
]
|
|
14
|
-
})) {
|
|
15
|
-
const resolvedPath = args.importer ? context.fs.resolve(args.id, {
|
|
16
|
-
paths: [
|
|
17
|
-
args.importer
|
|
18
|
-
]
|
|
19
|
-
}) : context.fs.resolve(args.id);
|
|
20
|
-
if (resolvedPath) {
|
|
21
|
-
return {
|
|
22
|
-
id: resolvedPath,
|
|
23
|
-
external: context.config.projectType !== "application"
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
if (!!context.tsconfig.options.paths && Object.keys(context.tsconfig.options.paths).some((path) => args.id.startsWith(path.replaceAll("*", "")))) {
|
|
28
|
-
let tsconfigPath = false;
|
|
29
|
-
if (context.tsconfig.options.paths) {
|
|
30
|
-
for (const tsconfigPathKey of Object.keys(context.tsconfig.options.paths).filter((tsconfigPath2) => args.id.startsWith(tsconfigPath2.replaceAll("*", "")))) {
|
|
31
|
-
const resolvedPath = context.tsconfig.options.paths[tsconfigPathKey]?.find((tsconfigPath2) => context.fs.resolve(join.joinPaths(context.workspaceConfig.workspaceRoot, tsconfigPath2.replaceAll("*", ""), args.id.replace(tsconfigPathKey.replaceAll("*", ""), ""))) || context.fs.formatPath(tsconfigPath2) === context.fs.formatPath(args.id));
|
|
32
|
-
if (resolvedPath) {
|
|
33
|
-
tsconfigPath = context.fs.formatPath(resolvedPath) === context.fs.formatPath(args.id) ? context.fs.formatPath(resolvedPath) : context.fs.resolve(join.joinPaths(context.workspaceConfig.workspaceRoot, resolvedPath.replaceAll("*", ""), args.id.replace(tsconfigPathKey.replaceAll("*", ""), "")));
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
let tsconfigPathPackage = false;
|
|
38
|
-
if (context.tsconfig.options.paths) {
|
|
39
|
-
const tsconfigPathKeys = Object.keys(context.tsconfig.options.paths).filter((tsconfigPath2) => args.id.startsWith(tsconfigPath2.replaceAll("*", "")));
|
|
40
|
-
if (tsconfigPathKeys.length > 0 && tsconfigPathKeys[0]) {
|
|
41
|
-
tsconfigPathPackage = tsconfigPathKeys[0].replace(/\/\*$/, "");
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
if (tsconfigPath && tsconfigPathPackage) {
|
|
45
|
-
return {
|
|
46
|
-
id: tsconfigPath,
|
|
47
|
-
external: Boolean(!options.noExternal?.includes(tsconfigPathPackage) && (options.external?.includes(tsconfigPathPackage) ?? context.config.projectType !== "application"))
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
if (options.skipResolve) {
|
|
52
|
-
return void 0;
|
|
53
|
-
}
|
|
54
|
-
if (options.skipNodeModulesBundle) {
|
|
55
|
-
if (bundleRequire.match(args.id, options.resolvePatterns) || bundleRequire.match(args.id, options.noExternal) || args.id.startsWith("internal:") || args.id.startsWith("virtual:")) {
|
|
56
|
-
return void 0;
|
|
57
|
-
}
|
|
58
|
-
if (bundleRequire.match(args.id, options.external) || args.id.startsWith("node:")) {
|
|
59
|
-
return {
|
|
60
|
-
id: args.id,
|
|
61
|
-
external: true
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
if (!NON_NODE_MODULE_REGEX.test(args.id)) {
|
|
65
|
-
return {
|
|
66
|
-
id: args.id,
|
|
67
|
-
external: true
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
} else {
|
|
71
|
-
const resolvedPath = context.fs.resolve(args.id, {
|
|
72
|
-
paths: args.importer ? [
|
|
73
|
-
args.importer
|
|
74
|
-
] : []
|
|
75
|
-
});
|
|
76
|
-
if (bundleRequire.match(args.id, options.noExternal) || resolvedPath && context.fs.metadata[resolvedPath]?.type === "builtin") {
|
|
77
|
-
return void 0;
|
|
78
|
-
}
|
|
79
|
-
if (bundleRequire.match(args.id, options.external) || args.id.startsWith("node:")) {
|
|
80
|
-
return {
|
|
81
|
-
id: args.id,
|
|
82
|
-
external: true
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
return void 0;
|
|
88
|
-
}
|
|
89
|
-
chunkUSNT2KNT_cjs.__name(handleResolveId, "handleResolveId");
|
|
90
|
-
|
|
91
|
-
exports.handleResolveId = handleResolveId;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkZBDVQVUK_cjs = require('../chunk-ZBDVQVUK.cjs');
|
|
4
|
-
require('../chunk-USNT2KNT.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "handleResolveId", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkZBDVQVUK_cjs.handleResolveId; }
|
|
11
|
-
});
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ExternalIdResult } from 'unplugin';
|
|
2
|
-
import { C as Context } from '../config-BnJpgcGr.cjs';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'c12';
|
|
10
|
-
import 'vite';
|
|
11
|
-
import '@farmfe/core';
|
|
12
|
-
import '@rspack/core';
|
|
13
|
-
import '@storm-software/tsup/types';
|
|
14
|
-
import '@storm-software/unbuild/types';
|
|
15
|
-
import 'esbuild';
|
|
16
|
-
import 'rolldown';
|
|
17
|
-
import 'rollup';
|
|
18
|
-
import 'webpack';
|
|
19
|
-
import '@stryke/env/get-env-paths';
|
|
20
|
-
import '@stryke/types/package-json';
|
|
21
|
-
import 'jest-worker';
|
|
22
|
-
import 'jiti';
|
|
23
|
-
import 'magic-string';
|
|
24
|
-
import 'semver';
|
|
25
|
-
import 'node:fs';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.cjs';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import 'typescript';
|
|
30
|
-
|
|
31
|
-
interface ResolveIdArgs {
|
|
32
|
-
id: string;
|
|
33
|
-
importer: string | undefined;
|
|
34
|
-
options: {
|
|
35
|
-
isEntry: boolean;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
interface ResolveIdOptions {
|
|
39
|
-
skipResolve?: boolean;
|
|
40
|
-
skipNodeModulesBundle?: boolean;
|
|
41
|
-
external: (string | RegExp)[];
|
|
42
|
-
noExternal: (string | RegExp)[];
|
|
43
|
-
resolvePatterns: (string | RegExp)[];
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Handle the resolveId hook for the unplugin.
|
|
47
|
-
*
|
|
48
|
-
* @param context - The plugin context.
|
|
49
|
-
* @param args - The arguments for the hook.
|
|
50
|
-
* @param options - The options for the hook.
|
|
51
|
-
* @returns The resolved id or null if not found.
|
|
52
|
-
*/
|
|
53
|
-
declare function handleResolveId(context: Context, args: ResolveIdArgs, options?: Partial<ResolveIdOptions>): Promise<ExternalIdResult | null | undefined>;
|
|
54
|
-
declare type __ΩResolveIdArgs = any[];
|
|
55
|
-
declare type __ΩResolveIdOptions = any[];
|
|
56
|
-
|
|
57
|
-
export { type ResolveIdArgs, type ResolveIdOptions, type __ΩResolveIdArgs, type __ΩResolveIdOptions, handleResolveId };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ExternalIdResult } from 'unplugin';
|
|
2
|
-
import { C as Context } from '../config-7Q2dBjJE.js';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'c12';
|
|
10
|
-
import 'vite';
|
|
11
|
-
import '@farmfe/core';
|
|
12
|
-
import '@rspack/core';
|
|
13
|
-
import '@storm-software/tsup/types';
|
|
14
|
-
import '@storm-software/unbuild/types';
|
|
15
|
-
import 'esbuild';
|
|
16
|
-
import 'rolldown';
|
|
17
|
-
import 'rollup';
|
|
18
|
-
import 'webpack';
|
|
19
|
-
import '@stryke/env/get-env-paths';
|
|
20
|
-
import '@stryke/types/package-json';
|
|
21
|
-
import 'jest-worker';
|
|
22
|
-
import 'jiti';
|
|
23
|
-
import 'magic-string';
|
|
24
|
-
import 'semver';
|
|
25
|
-
import 'node:fs';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.js';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import 'typescript';
|
|
30
|
-
|
|
31
|
-
interface ResolveIdArgs {
|
|
32
|
-
id: string;
|
|
33
|
-
importer: string | undefined;
|
|
34
|
-
options: {
|
|
35
|
-
isEntry: boolean;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
interface ResolveIdOptions {
|
|
39
|
-
skipResolve?: boolean;
|
|
40
|
-
skipNodeModulesBundle?: boolean;
|
|
41
|
-
external: (string | RegExp)[];
|
|
42
|
-
noExternal: (string | RegExp)[];
|
|
43
|
-
resolvePatterns: (string | RegExp)[];
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Handle the resolveId hook for the unplugin.
|
|
47
|
-
*
|
|
48
|
-
* @param context - The plugin context.
|
|
49
|
-
* @param args - The arguments for the hook.
|
|
50
|
-
* @param options - The options for the hook.
|
|
51
|
-
* @returns The resolved id or null if not found.
|
|
52
|
-
*/
|
|
53
|
-
declare function handleResolveId(context: Context, args: ResolveIdArgs, options?: Partial<ResolveIdOptions>): Promise<ExternalIdResult | null | undefined>;
|
|
54
|
-
declare type __ΩResolveIdArgs = any[];
|
|
55
|
-
declare type __ΩResolveIdOptions = any[];
|
|
56
|
-
|
|
57
|
-
export { type ResolveIdArgs, type ResolveIdOptions, type __ΩResolveIdArgs, type __ΩResolveIdOptions, handleResolveId };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { C as Context } from '../config-BnJpgcGr.cjs';
|
|
2
|
-
import '@storm-software/build-tools/types';
|
|
3
|
-
import '@storm-software/config-tools/types';
|
|
4
|
-
import '@storm-software/config/types';
|
|
5
|
-
import '@stryke/types/base';
|
|
6
|
-
import '@stryke/types/configuration';
|
|
7
|
-
import '@stryke/types/file';
|
|
8
|
-
import 'c12';
|
|
9
|
-
import 'vite';
|
|
10
|
-
import '@farmfe/core';
|
|
11
|
-
import '@rspack/core';
|
|
12
|
-
import '@storm-software/tsup/types';
|
|
13
|
-
import '@storm-software/unbuild/types';
|
|
14
|
-
import 'esbuild';
|
|
15
|
-
import 'rolldown';
|
|
16
|
-
import 'rollup';
|
|
17
|
-
import 'webpack';
|
|
18
|
-
import '@stryke/env/get-env-paths';
|
|
19
|
-
import '@stryke/types/package-json';
|
|
20
|
-
import 'jest-worker';
|
|
21
|
-
import 'jiti';
|
|
22
|
-
import 'magic-string';
|
|
23
|
-
import 'semver';
|
|
24
|
-
import 'unplugin';
|
|
25
|
-
import 'node:fs';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.cjs';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import 'typescript';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Resolves the path of a file in the workspace or project root.
|
|
33
|
-
*
|
|
34
|
-
* @param context - The context object containing the environment paths.
|
|
35
|
-
* @param file - The file path to resolve.
|
|
36
|
-
* @returns A promise that resolves to the resolved path.
|
|
37
|
-
*/
|
|
38
|
-
declare function resolvePath(context: Context, file: string): Promise<string | undefined>;
|
|
39
|
-
|
|
40
|
-
export { resolvePath };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { C as Context } from '../config-7Q2dBjJE.js';
|
|
2
|
-
import '@storm-software/build-tools/types';
|
|
3
|
-
import '@storm-software/config-tools/types';
|
|
4
|
-
import '@storm-software/config/types';
|
|
5
|
-
import '@stryke/types/base';
|
|
6
|
-
import '@stryke/types/configuration';
|
|
7
|
-
import '@stryke/types/file';
|
|
8
|
-
import 'c12';
|
|
9
|
-
import 'vite';
|
|
10
|
-
import '@farmfe/core';
|
|
11
|
-
import '@rspack/core';
|
|
12
|
-
import '@storm-software/tsup/types';
|
|
13
|
-
import '@storm-software/unbuild/types';
|
|
14
|
-
import 'esbuild';
|
|
15
|
-
import 'rolldown';
|
|
16
|
-
import 'rollup';
|
|
17
|
-
import 'webpack';
|
|
18
|
-
import '@stryke/env/get-env-paths';
|
|
19
|
-
import '@stryke/types/package-json';
|
|
20
|
-
import 'jest-worker';
|
|
21
|
-
import 'jiti';
|
|
22
|
-
import 'magic-string';
|
|
23
|
-
import 'semver';
|
|
24
|
-
import 'unplugin';
|
|
25
|
-
import 'node:fs';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.js';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import 'typescript';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Resolves the path of a file in the workspace or project root.
|
|
33
|
-
*
|
|
34
|
-
* @param context - The context object containing the environment paths.
|
|
35
|
-
* @param file - The file path to resolve.
|
|
36
|
-
* @returns A promise that resolves to the resolved path.
|
|
37
|
-
*/
|
|
38
|
-
declare function resolvePath(context: Context, file: string): Promise<string | undefined>;
|
|
39
|
-
|
|
40
|
-
export { resolvePath };
|
|
File without changes
|
|
File without changes
|