powerlines 0.23.6 → 0.23.9
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-DxPACGY4.d.ts → api-5H3zEedD.d.ts} +1 -1
- package/dist/{api--9pVSIbm.d.cts → api-B77aqxGC.d.cts} +1 -1
- package/dist/api.cjs +2 -2
- package/dist/api.d.cts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +1 -1
- package/dist/astro.cjs +16 -18
- package/dist/astro.d.cts +8 -6
- package/dist/astro.d.ts +8 -6
- package/dist/astro.js +16 -5
- package/dist/{chunk-Q3ZFML4W.cjs → chunk-2QLM4MYP.cjs} +2 -2
- package/dist/{chunk-62BQYRPM.cjs → chunk-6ZKM7WOB.cjs} +33 -20
- package/dist/{chunk-E4M4KEL3.js → chunk-FDEGM4CR.js} +33 -21
- package/dist/{chunk-I3EUY74Q.cjs → chunk-FJWXCUGQ.cjs} +20 -18
- package/dist/{chunk-4OAW547A.cjs → chunk-G5K3I7JU.cjs} +2 -2
- package/dist/{chunk-VRFJDHDN.cjs → chunk-ITL6JGKX.cjs} +2 -2
- package/dist/{chunk-W36NC3B7.js → chunk-KOBCKTHY.js} +1 -1
- package/dist/{chunk-GZNJUK7U.js → chunk-RKMUBSYG.js} +17 -17
- package/dist/{chunk-5CCEQUAZ.js → chunk-S47BU5QR.js} +1 -1
- package/dist/{chunk-XWBVMNBI.js → chunk-UYJXRMS3.js} +1 -1
- package/dist/config.d.cts +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.d.cts +5 -4
- package/dist/esbuild.d.ts +5 -4
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.d.cts +9 -7
- package/dist/farm.d.ts +9 -7
- package/dist/farm.js +2 -2
- package/dist/index.cjs +14 -32
- package/dist/index.d.cts +2 -10
- package/dist/index.d.ts +2 -10
- package/dist/index.js +2 -16
- package/dist/lib/{api-B6hfFxVS.d.ts → api-Cm51oVbC.d.cts} +1 -1
- package/dist/lib/{api-CD2QlMig.d.cts → api-mja4jirh.d.ts} +1 -1
- package/dist/lib/build/esbuild.d.cts +1 -1
- package/dist/lib/build/esbuild.d.ts +1 -1
- package/dist/lib/build/index.d.cts +3 -3
- package/dist/lib/build/index.d.ts +3 -3
- package/dist/lib/build/rolldown.d.cts +1 -1
- package/dist/lib/build/rolldown.d.ts +1 -1
- package/dist/lib/build/rollup.d.cts +1 -1
- package/dist/lib/build/rollup.d.ts +1 -1
- package/dist/lib/build/rspack.d.cts +1 -1
- package/dist/lib/build/rspack.d.ts +1 -1
- package/dist/lib/build/tsup.d.cts +1 -1
- package/dist/lib/build/tsup.d.ts +1 -1
- package/dist/lib/build/unbuild.d.cts +3 -3
- package/dist/lib/build/unbuild.d.ts +3 -3
- package/dist/lib/build/vite.d.cts +1 -1
- package/dist/lib/build/vite.d.ts +1 -1
- package/dist/lib/build/webpack.d.cts +1 -1
- package/dist/lib/build/webpack.d.ts +1 -1
- package/dist/lib/{chunk-CCGA6ZHZ.cjs → chunk-3KR6TYGW.cjs} +13 -13
- package/dist/lib/{chunk-764HUXP3.js → chunk-63MH3ERQ.js} +25 -4
- package/dist/lib/{chunk-XW5TELHB.cjs → chunk-7JAGT5GC.cjs} +10 -3
- package/dist/lib/{chunk-EN4XP4D5.js → chunk-AHONHQGB.js} +1 -1
- package/dist/lib/{chunk-EJTGOYSI.cjs → chunk-B3DJ4CXY.cjs} +10 -10
- package/dist/lib/{chunk-NDKPSA3I.js → chunk-BGGENJH4.js} +2 -2
- package/dist/lib/{chunk-NVUXGMU5.cjs → chunk-LQEGZT5U.cjs} +25 -4
- package/dist/lib/{chunk-SZH2DJOG.js → chunk-OI7EHXNE.js} +3 -3
- package/dist/lib/{chunk-ZPIKFR7Z.js → chunk-PVCAB6BZ.js} +10 -3
- package/dist/lib/{chunk-27RAXIPT.cjs → chunk-SMZ672RP.cjs} +6 -6
- package/dist/lib/{config-DeUaQYc_.d.ts → config-7Q2dBjJE.d.ts} +7 -1
- package/dist/lib/{config-DTSdCZsw.d.cts → config-BnJpgcGr.d.cts} +7 -1
- package/dist/lib/config-file.cjs +3 -3
- package/dist/lib/config-file.d.cts +3 -2
- package/dist/lib/config-file.d.ts +3 -2
- package/dist/lib/config-file.js +1 -1
- package/dist/lib/contexts/api-context.cjs +5 -5
- package/dist/lib/contexts/api-context.d.cts +3 -3
- package/dist/lib/contexts/api-context.d.ts +3 -3
- package/dist/lib/contexts/api-context.js +4 -4
- package/dist/lib/contexts/context.cjs +3 -3
- package/dist/lib/contexts/context.d.cts +10 -3
- package/dist/lib/contexts/context.d.ts +10 -3
- package/dist/lib/contexts/context.js +2 -2
- package/dist/lib/contexts/environment-context.cjs +4 -4
- package/dist/lib/contexts/environment-context.d.cts +3 -3
- package/dist/lib/contexts/environment-context.d.ts +3 -3
- package/dist/lib/contexts/environment-context.js +3 -3
- package/dist/lib/contexts/index.cjs +7 -7
- package/dist/lib/contexts/index.d.cts +3 -3
- package/dist/lib/contexts/index.d.ts +3 -3
- package/dist/lib/contexts/index.js +4 -4
- package/dist/lib/contexts/plugin-context.d.cts +3 -3
- package/dist/lib/contexts/plugin-context.d.ts +3 -3
- package/dist/lib/entry.d.cts +1 -1
- package/dist/lib/entry.d.ts +1 -1
- package/dist/lib/index.cjs +12 -12
- package/dist/lib/index.d.cts +4 -3
- package/dist/lib/index.d.ts +4 -3
- package/dist/lib/index.js +5 -5
- package/dist/lib/{internal-CpVMJCaU.d.ts → internal-BEygquYh.d.ts} +2 -2
- package/dist/lib/{internal-ypnrUNZy.d.cts → internal-BeR8fOB1.d.cts} +2 -2
- package/dist/lib/logger.d.cts +1 -1
- package/dist/lib/logger.d.ts +1 -1
- package/dist/lib/typescript/compiler-host.d.cts +1 -1
- package/dist/lib/typescript/compiler-host.d.ts +1 -1
- package/dist/lib/typescript/import-transformer.d.cts +1 -1
- package/dist/lib/typescript/import-transformer.d.ts +1 -1
- package/dist/lib/typescript/index.d.cts +1 -1
- package/dist/lib/typescript/index.d.ts +1 -1
- package/dist/lib/typescript/program.d.cts +1 -1
- package/dist/lib/typescript/program.d.ts +1 -1
- package/dist/lib/typescript/ts-morph.d.cts +1 -1
- package/dist/lib/typescript/ts-morph.d.ts +1 -1
- package/dist/lib/unplugin/factory.cjs +6 -6
- package/dist/lib/unplugin/factory.d.cts +4 -16
- package/dist/lib/unplugin/factory.d.ts +4 -16
- package/dist/lib/unplugin/factory.js +5 -5
- package/dist/lib/unplugin/helpers.d.cts +1 -1
- package/dist/lib/unplugin/helpers.d.ts +1 -1
- package/dist/lib/unplugin/index.cjs +6 -6
- package/dist/lib/unplugin/index.d.cts +3 -2
- package/dist/lib/unplugin/index.d.ts +3 -2
- package/dist/lib/unplugin/index.js +5 -5
- package/dist/lib/unplugin/plugin.d.cts +5 -3
- package/dist/lib/unplugin/plugin.d.ts +5 -3
- package/dist/lib/unplugin/resolve-id.d.cts +1 -1
- package/dist/lib/unplugin/resolve-id.d.ts +1 -1
- package/dist/lib/unplugin-CbbNDduM.d.ts +18 -0
- package/dist/lib/unplugin-ppAOzR__.d.cts +18 -0
- package/dist/lib/utilities/bundle.d.cts +1 -1
- package/dist/lib/utilities/bundle.d.ts +1 -1
- package/dist/lib/utilities/cache.d.cts +1 -1
- package/dist/lib/utilities/cache.d.ts +1 -1
- package/dist/lib/utilities/file-header.d.cts +1 -1
- package/dist/lib/utilities/file-header.d.ts +1 -1
- package/dist/lib/utilities/index.d.cts +1 -1
- package/dist/lib/utilities/index.d.ts +1 -1
- package/dist/lib/utilities/meta.d.cts +1 -1
- package/dist/lib/utilities/meta.d.ts +1 -1
- package/dist/lib/utilities/resolve-path.d.cts +1 -1
- package/dist/lib/utilities/resolve-path.d.ts +1 -1
- package/dist/lib/utilities/resolve.d.cts +1 -1
- package/dist/lib/utilities/resolve.d.ts +1 -1
- package/dist/lib/utilities/source-file.d.cts +1 -1
- package/dist/lib/utilities/source-file.d.ts +1 -1
- package/dist/lib/utilities/source-map.d.cts +1 -1
- package/dist/lib/utilities/source-map.d.ts +1 -1
- package/dist/lib/utilities/worker.d.cts +1 -1
- package/dist/lib/utilities/worker.d.ts +1 -1
- package/dist/lib/utilities/write-file.d.cts +1 -1
- package/dist/lib/utilities/write-file.d.ts +1 -1
- package/dist/next.cjs +21 -18
- package/dist/next.js +21 -5
- package/dist/nuxt.cjs +21 -18
- package/dist/nuxt.d.cts +12 -6
- package/dist/nuxt.d.ts +12 -6
- package/dist/nuxt.js +21 -5
- package/dist/plugin-utils/{context-DRFZE3XI.d.ts → context-Cg11S-CE.d.cts} +6 -0
- package/dist/plugin-utils/{context-DRFZE3XI.d.cts → context-Cg11S-CE.d.ts} +6 -0
- package/dist/plugin-utils/context-helpers.d.cts +1 -1
- package/dist/plugin-utils/context-helpers.d.ts +1 -1
- package/dist/plugin-utils/enforce.d.cts +1 -1
- package/dist/plugin-utils/enforce.d.ts +1 -1
- package/dist/plugin-utils/extend.d.cts +1 -1
- package/dist/plugin-utils/extend.d.ts +1 -1
- package/dist/plugin-utils/get-config-path.d.cts +1 -1
- package/dist/plugin-utils/get-config-path.d.ts +1 -1
- package/dist/plugin-utils/helpers.d.cts +1 -1
- package/dist/plugin-utils/helpers.d.ts +1 -1
- package/dist/plugin-utils/index.d.cts +1 -1
- package/dist/plugin-utils/index.d.ts +1 -1
- package/dist/plugin-utils/merge.d.cts +1 -1
- package/dist/plugin-utils/merge.d.ts +1 -1
- package/dist/plugin-utils/paths.d.cts +1 -1
- package/dist/plugin-utils/paths.d.ts +1 -1
- package/dist/{resolved-DKFZ11S7.d.ts → resolved-B3BSdXCt.d.ts} +13 -1
- package/dist/{resolved-C00CJgsk.d.cts → resolved-DGrpILrS.d.cts} +13 -1
- package/dist/rolldown.cjs +8 -16
- package/dist/rolldown.d.cts +5 -5
- package/dist/rolldown.d.ts +5 -5
- package/dist/rolldown.js +8 -3
- package/dist/rollup.cjs +8 -16
- package/dist/rollup.d.cts +5 -5
- package/dist/rollup.d.ts +5 -5
- package/dist/rollup.js +8 -3
- package/dist/rspack.cjs +8 -16
- package/dist/rspack.d.cts +3 -3
- package/dist/rspack.d.ts +3 -3
- package/dist/rspack.js +8 -3
- package/dist/tsup.cjs +40 -18
- package/dist/tsup.d.cts +3 -2
- package/dist/tsup.d.ts +3 -2
- package/dist/tsup.js +40 -5
- package/dist/types/api.d.cts +2 -2
- package/dist/types/api.d.ts +2 -2
- package/dist/types/babel.d.cts +1 -1
- package/dist/types/babel.d.ts +1 -1
- package/dist/types/commands.d.cts +1 -1
- package/dist/types/commands.d.ts +1 -1
- package/dist/types/config.d.cts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/context.d.cts +1 -1
- package/dist/types/context.d.ts +1 -1
- package/dist/types/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/internal.d.cts +2 -2
- package/dist/types/internal.d.ts +2 -2
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/resolved.d.cts +1 -1
- package/dist/types/resolved.d.ts +1 -1
- package/dist/types/unplugin.d.cts +2 -2
- package/dist/types/unplugin.d.ts +2 -2
- package/dist/unloader.cjs +8 -16
- package/dist/unloader.d.cts +7 -6
- package/dist/unloader.d.ts +7 -6
- package/dist/unloader.js +8 -3
- package/dist/unplugin.cjs +186 -26
- package/dist/unplugin.d.cts +58 -35
- package/dist/unplugin.d.ts +58 -35
- package/dist/unplugin.js +186 -16
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.cts +7 -6
- package/dist/vite.d.ts +7 -6
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.d.cts +5 -5
- package/dist/webpack.d.ts +5 -5
- package/dist/webpack.js +3 -3
- package/package.json +10 -10
- package/dist/babel-types.d.ts +0 -292
- package/dist/chunk-33BDG6M5.js +0 -38
- package/dist/chunk-3HOOIAF4.js +0 -7
- package/dist/chunk-AK5B45AH.js +0 -14
- package/dist/chunk-GHHMURR4.js +0 -7
- package/dist/chunk-GXJ5L37C.cjs +0 -10
- package/dist/chunk-IVABRCNA.js +0 -29
- package/dist/chunk-JJXDDTSL.cjs +0 -22
- package/dist/chunk-K5TOHSUD.cjs +0 -17
- package/dist/chunk-M7N6RX2H.js +0 -19
- package/dist/chunk-MAOXZVDE.cjs +0 -22
- package/dist/chunk-NWZXH2HK.cjs +0 -10
- package/dist/chunk-PFECSHR6.cjs +0 -41
- package/dist/chunk-RM37JA3L.cjs +0 -32
- package/dist/chunk-RVO5GC2H.cjs +0 -10
- package/dist/chunk-TSKJTJ2P.js +0 -19
- package/dist/chunk-XDNNFAQR.js +0 -7
- package/dist/chunk-YBOJFFO2.cjs +0 -10
- package/dist/chunk-ZOMJH52N.js +0 -7
package/dist/nuxt.cjs
CHANGED
|
@@ -2,28 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-VRFJDHDN.cjs');
|
|
5
|
+
var chunkITL6JGKX_cjs = require('./chunk-ITL6JGKX.cjs');
|
|
7
6
|
require('./chunk-5IBA5HC2.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
7
|
+
var chunk2QLM4MYP_cjs = require('./chunk-2QLM4MYP.cjs');
|
|
8
|
+
require('./chunk-FJWXCUGQ.cjs');
|
|
9
|
+
require('./chunk-6ZKM7WOB.cjs');
|
|
11
10
|
require('./chunk-ETKZMGLN.cjs');
|
|
12
11
|
require('./chunk-PAMSESZV.cjs');
|
|
13
12
|
require('./chunk-AYKZK666.cjs');
|
|
14
13
|
require('./chunk-USNT2KNT.cjs');
|
|
14
|
+
var kit = require('@nuxt/kit');
|
|
15
|
+
require('@nuxt/schema');
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
Object.defineProperty(exports, "nuxt", {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () { return chunkJJXDDTSL_cjs.nuxt; }
|
|
17
|
+
var nuxt = kit.defineNuxtModule({
|
|
18
|
+
meta: {
|
|
19
|
+
name: "powerlines",
|
|
20
|
+
configKey: "powerlines"
|
|
21
|
+
},
|
|
22
|
+
defaults: {},
|
|
23
|
+
setup(options, _nuxt) {
|
|
24
|
+
kit.addVitePlugin(() => chunkITL6JGKX_cjs.vite_default(options));
|
|
25
|
+
kit.addWebpackPlugin(() => chunk2QLM4MYP_cjs.webpack_default(options));
|
|
26
|
+
}
|
|
29
27
|
});
|
|
28
|
+
var nuxt_default = nuxt;
|
|
29
|
+
|
|
30
|
+
exports.default = nuxt_default;
|
|
31
|
+
exports["module.exports"] = nuxt;
|
|
32
|
+
exports.nuxt = nuxt;
|
package/dist/nuxt.d.cts
CHANGED
|
@@ -6,13 +6,19 @@ import * as _nuxt_schema from '@nuxt/schema';
|
|
|
6
6
|
* @see https://nuxt.com/docs/guide/directory-structure/modules
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
|
-
* ```
|
|
10
|
-
* // nuxt.config.
|
|
11
|
-
* import
|
|
9
|
+
* ```ts
|
|
10
|
+
* // nuxt.config.ts
|
|
11
|
+
* import { defineNuxtConfig } from "@nuxt/kit";
|
|
12
|
+
*
|
|
13
|
+
* export default defineNuxtConfig({
|
|
14
|
+
* modules: [
|
|
15
|
+
* [
|
|
16
|
+
* "powerlines/nuxt",
|
|
17
|
+
* { name: "example-app", ... }
|
|
18
|
+
* ],
|
|
19
|
+
* ],
|
|
20
|
+
* });
|
|
12
21
|
*
|
|
13
|
-
* default export {
|
|
14
|
-
* plugins: [powerlines()],
|
|
15
|
-
* }
|
|
16
22
|
* ```
|
|
17
23
|
*/
|
|
18
24
|
declare const nuxt: _nuxt_schema.NuxtModule<_nuxt_schema.ModuleOptions, _nuxt_schema.ModuleOptions, false>;
|
package/dist/nuxt.d.ts
CHANGED
|
@@ -6,13 +6,19 @@ import * as _nuxt_schema from '@nuxt/schema';
|
|
|
6
6
|
* @see https://nuxt.com/docs/guide/directory-structure/modules
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
|
-
* ```
|
|
10
|
-
* // nuxt.config.
|
|
11
|
-
* import
|
|
9
|
+
* ```ts
|
|
10
|
+
* // nuxt.config.ts
|
|
11
|
+
* import { defineNuxtConfig } from "@nuxt/kit";
|
|
12
|
+
*
|
|
13
|
+
* export default defineNuxtConfig({
|
|
14
|
+
* modules: [
|
|
15
|
+
* [
|
|
16
|
+
* "powerlines/nuxt",
|
|
17
|
+
* { name: "example-app", ... }
|
|
18
|
+
* ],
|
|
19
|
+
* ],
|
|
20
|
+
* });
|
|
12
21
|
*
|
|
13
|
-
* default export {
|
|
14
|
-
* plugins: [powerlines()],
|
|
15
|
-
* }
|
|
16
22
|
* ```
|
|
17
23
|
*/
|
|
18
24
|
declare const nuxt: _nuxt_schema.NuxtModule<_nuxt_schema.ModuleOptions, _nuxt_schema.ModuleOptions, false>;
|
package/dist/nuxt.js
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
import './chunk-XWBVMNBI.js';
|
|
1
|
+
import { vite_default } from './chunk-UYJXRMS3.js';
|
|
3
2
|
import './chunk-VBR53KGY.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
import { webpack_default } from './chunk-S47BU5QR.js';
|
|
4
|
+
import './chunk-RKMUBSYG.js';
|
|
5
|
+
import './chunk-FDEGM4CR.js';
|
|
7
6
|
import './chunk-JQCWV4DT.js';
|
|
8
7
|
import './chunk-JKBJF3UI.js';
|
|
9
8
|
import './chunk-VT7NVLLU.js';
|
|
10
9
|
import './chunk-SHUYVCID.js';
|
|
10
|
+
import { defineNuxtModule, addVitePlugin, addWebpackPlugin } from '@nuxt/kit';
|
|
11
|
+
import '@nuxt/schema';
|
|
12
|
+
|
|
13
|
+
var nuxt = defineNuxtModule({
|
|
14
|
+
meta: {
|
|
15
|
+
name: "powerlines",
|
|
16
|
+
configKey: "powerlines"
|
|
17
|
+
},
|
|
18
|
+
defaults: {},
|
|
19
|
+
setup(options, _nuxt) {
|
|
20
|
+
addVitePlugin(() => vite_default(options));
|
|
21
|
+
addWebpackPlugin(() => webpack_default(options));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var nuxt_default = nuxt;
|
|
25
|
+
|
|
26
|
+
export { nuxt_default as default, nuxt as "module.exports", nuxt };
|
|
@@ -1423,6 +1423,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1423
1423
|
* @returns A logger function
|
|
1424
1424
|
*/
|
|
1425
1425
|
extendLog: (name: string) => LogFn;
|
|
1426
|
+
/**
|
|
1427
|
+
* Generates a checksum representing the current context state
|
|
1428
|
+
*
|
|
1429
|
+
* @returns A promise that resolves to a string representing the checksum
|
|
1430
|
+
*/
|
|
1431
|
+
generateChecksum: () => Promise<string>;
|
|
1426
1432
|
}
|
|
1427
1433
|
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
|
|
1428
1434
|
/**
|
|
@@ -1423,6 +1423,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1423
1423
|
* @returns A logger function
|
|
1424
1424
|
*/
|
|
1425
1425
|
extendLog: (name: string) => LogFn;
|
|
1426
|
+
/**
|
|
1427
|
+
* Generates a checksum representing the current context state
|
|
1428
|
+
*
|
|
1429
|
+
* @returns A promise that resolves to a string representing the checksum
|
|
1430
|
+
*/
|
|
1431
|
+
generateChecksum: () => Promise<string>;
|
|
1426
1432
|
}
|
|
1427
1433
|
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
|
|
1428
1434
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './context-
|
|
1
|
+
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './context-Cg11S-CE.cjs';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './context-
|
|
1
|
+
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './context-Cg11S-CE.js';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, b as PluginFactory, c as PartialPlugin, d as PartialPluginFactory } from './context-
|
|
1
|
+
import { P as PluginContext, a as Plugin, b as PluginFactory, c as PartialPlugin, d as PartialPluginFactory } from './context-Cg11S-CE.cjs';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, b as PluginFactory, c as PartialPlugin, d as PartialPluginFactory } from './context-
|
|
1
|
+
import { P as PluginContext, a as Plugin, b as PluginFactory, c as PartialPlugin, d as PartialPluginFactory } from './context-Cg11S-CE.js';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, U as UnresolvedContext, C as ConfigResult, l as EnvironmentConfig, m as EnvironmentResolvedConfig, G as GenerateTypesResult } from './context-
|
|
1
|
+
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, U as UnresolvedContext, C as ConfigResult, l as EnvironmentConfig, m as EnvironmentResolvedConfig, G as GenerateTypesResult } from './context-Cg11S-CE.cjs';
|
|
2
2
|
import * as unplugin from 'unplugin';
|
|
3
3
|
import * as _stryke_types_base from '@stryke/types/base';
|
|
4
4
|
import { AnyFunction } from '@stryke/types/base';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, U as UnresolvedContext, C as ConfigResult, l as EnvironmentConfig, m as EnvironmentResolvedConfig, G as GenerateTypesResult } from './context-
|
|
1
|
+
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, U as UnresolvedContext, C as ConfigResult, l as EnvironmentConfig, m as EnvironmentResolvedConfig, G as GenerateTypesResult } from './context-Cg11S-CE.js';
|
|
2
2
|
import * as unplugin from 'unplugin';
|
|
3
3
|
import * as _stryke_types_base from '@stryke/types/base';
|
|
4
4
|
import { AnyFunction } from '@stryke/types/base';
|
|
@@ -5,7 +5,7 @@ export { getConfigPath } from './get-config-path.cjs';
|
|
|
5
5
|
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.cjs';
|
|
6
6
|
export { MergeResult, __ΩMergeResult, merge } from './merge.cjs';
|
|
7
7
|
export { replacePathTokens } from './paths.cjs';
|
|
8
|
-
import './context-
|
|
8
|
+
import './context-Cg11S-CE.cjs';
|
|
9
9
|
import '@stryke/env/get-env-paths';
|
|
10
10
|
import '@stryke/types/base';
|
|
11
11
|
import '@stryke/types/package-json';
|
|
@@ -5,7 +5,7 @@ export { getConfigPath } from './get-config-path.js';
|
|
|
5
5
|
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.js';
|
|
6
6
|
export { MergeResult, __ΩMergeResult, merge } from './merge.js';
|
|
7
7
|
export { replacePathTokens } from './paths.js';
|
|
8
|
-
import './context-
|
|
8
|
+
import './context-Cg11S-CE.js';
|
|
9
9
|
import '@stryke/env/get-env-paths';
|
|
10
10
|
import '@stryke/types/base';
|
|
11
11
|
import '@stryke/types/package-json';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './context-
|
|
1
|
+
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './context-Cg11S-CE.cjs';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './context-
|
|
1
|
+
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './context-Cg11S-CE.js';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
-
import { U as UnresolvedContext } from './context-
|
|
2
|
+
import { U as UnresolvedContext } from './context-Cg11S-CE.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
5
5
|
import 'jiti';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
-
import { U as UnresolvedContext } from './context-
|
|
2
|
+
import { U as UnresolvedContext } from './context-Cg11S-CE.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
5
5
|
import 'jiti';
|
|
@@ -578,6 +578,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
578
578
|
* @returns A logger function
|
|
579
579
|
*/
|
|
580
580
|
extendLog: (name: string) => LogFn;
|
|
581
|
+
/**
|
|
582
|
+
* Generates a checksum representing the current context state
|
|
583
|
+
*
|
|
584
|
+
* @returns A promise that resolves to a string representing the checksum
|
|
585
|
+
*/
|
|
586
|
+
generateChecksum: () => Promise<string>;
|
|
581
587
|
}
|
|
582
588
|
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
|
|
583
589
|
/**
|
|
@@ -1175,6 +1181,11 @@ type UserConfigFnObject = (env: ConfigEnv) => DeepPartial$1<UserConfig>;
|
|
|
1175
1181
|
type UserConfigFnPromise = (env: ConfigEnv) => Promise<DeepPartial$1<UserConfig>>;
|
|
1176
1182
|
type UserConfigFn = (env: ConfigEnv) => UserConfig | Promise<DeepPartial$1<UserConfig>>;
|
|
1177
1183
|
type UserConfigExport = DeepPartial$1<UserConfig> | Promise<DeepPartial$1<UserConfig>> | UserConfigFnObject | UserConfigFnPromise | UserConfigFn;
|
|
1184
|
+
/**
|
|
1185
|
+
* An empty interface to allow augmentation of the defineConfig input type.
|
|
1186
|
+
*/
|
|
1187
|
+
interface DefineConfigInput {
|
|
1188
|
+
}
|
|
1178
1189
|
declare type __ΩLogFn = any[];
|
|
1179
1190
|
declare type __ΩWorkspaceConfig = any[];
|
|
1180
1191
|
declare type __ΩPluginFactory = any[];
|
|
@@ -1217,6 +1228,7 @@ declare type __ΩUserConfigFnObject = any[];
|
|
|
1217
1228
|
declare type __ΩUserConfigFnPromise = any[];
|
|
1218
1229
|
declare type __ΩUserConfigFn = any[];
|
|
1219
1230
|
declare type __ΩUserConfigExport = any[];
|
|
1231
|
+
declare type __ΩDefineConfigInput = any[];
|
|
1220
1232
|
|
|
1221
1233
|
interface ResolvedEntryTypeDefinition extends TypeDefinition {
|
|
1222
1234
|
/**
|
|
@@ -1318,4 +1330,4 @@ declare type __ΩUnbuildResolvedConfig = any[];
|
|
|
1318
1330
|
declare type __ΩFarmResolvedConfig = any[];
|
|
1319
1331
|
declare type __ΩInferResolvedConfig = any[];
|
|
1320
1332
|
|
|
1321
|
-
export { type TsupUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type BaseConfig as H, type ImportDefinition as I, type EnvironmentConfig as J, type CommonUserConfig as K, type LogFn as L, type WebpackUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type RspackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RollupUserConfig as T, type UserConfig as U, type RolldownUserConfig as V, type WorkspaceConfig as W, type ViteUserConfig as X, type ESBuildUserConfig as Y, type UnbuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a,
|
|
1333
|
+
export { type TsupUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type BaseConfig as H, type ImportDefinition as I, type EnvironmentConfig as J, type CommonUserConfig as K, type LogFn as L, type WebpackUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type RspackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RollupUserConfig as T, type UserConfig as U, type RolldownUserConfig as V, type WorkspaceConfig as W, type ViteUserConfig as X, type ESBuildUserConfig as Y, type UnbuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, LogLevel as a$, type FarmUserConfig as a0, type InferUserConfig as a1, type InitialUserConfig as a2, type ParsedUserConfig as a3, type PowerlinesCommand as a4, type InlineConfig as a5, type NewInlineConfig as a6, type CleanInlineConfig as a7, type PrepareInlineConfig as a8, type BuildInlineConfig as a9, type __ΩRspackUserConfig as aA, type __ΩRollupUserConfig as aB, type __ΩRolldownUserConfig as aC, type __ΩViteUserConfig as aD, type __ΩESBuildUserConfig as aE, type __ΩUnbuildUserConfig as aF, type __ΩTsupUserConfig as aG, type __ΩFarmUserConfig as aH, type __ΩInferUserConfig as aI, type __ΩInitialUserConfig as aJ, type __ΩParsedUserConfig as aK, type __ΩPowerlinesCommand as aL, type __ΩInlineConfig as aM, type __ΩNewInlineConfig as aN, type __ΩCleanInlineConfig as aO, type __ΩPrepareInlineConfig as aP, type __ΩBuildInlineConfig as aQ, type __ΩLintInlineConfig as aR, type __ΩDocsInlineConfig as aS, type __ΩDeployInlineConfig as aT, type __ΩConfigEnv as aU, type __ΩAnyUserConfig as aV, type __ΩUserConfigFnObject as aW, type __ΩUserConfigFnPromise as aX, type __ΩUserConfigFn as aY, type __ΩUserConfigExport as aZ, type __ΩDefineConfigInput as a_, type LintInlineConfig as aa, type DocsInlineConfig as ab, type DeployInlineConfig as ac, type ConfigEnv as ad, type AnyUserConfig as ae, type UserConfigFnObject as af, type UserConfigFnPromise as ag, type UserConfigFn as ah, type UserConfigExport as ai, type DefineConfigInput as aj, type __ΩLogFn as ak, type __ΩWorkspaceConfig as al, type __ΩPluginFactory as am, type __ΩPluginConfigTuple as an, type __ΩPluginConfigObject as ao, type __ΩPluginConfig as ap, type __ΩPartialPlugin as aq, type __ΩPartialPluginFactory as ar, type __ΩProjectType as as, type __ΩBabelUserConfig as at, type __ΩOutputConfig as au, type __ΩBaseConfig as av, type __ΩEnvironmentConfig as aw, type __ΩCommonUserConfig as ax, type __ΩUserConfig as ay, type __ΩWebpackUserConfig as az, type BabelTransformPlugin as b, type GenerateTypesResult as b$, type WorkerProcess as b0, type MetaInfo as b1, type Resolver as b2, type TransformResult as b3, type SourceFile as b4, type UnimportContext as b5, type SelectHooksOptions as b6, type InitContextOptions as b7, type UnresolvedContext as b8, type Context as b9, type ExternalHookKeys as bA, type Hooks as bB, type HookKeys as bC, type BaseHooksListItem as bD, type BaseHooksList as bE, type ExternalHooksListItem as bF, type HooksList as bG, type InferHookHandler as bH, type InferHookReturnType as bI, type InferHookParameters as bJ, type InferHookThisType as bK, type __ΩBaseHooks as bL, type __ΩBaseHookKeys as bM, type __ΩExternalHooks as bN, type __ΩExternalHookKeys as bO, type __ΩHooks as bP, type __ΩHookKeys as bQ, type __ΩBaseHooksListItem as bR, type __ΩBaseHooksList as bS, type __ΩExternalHooksListItem as bT, type __ΩHooksList as bU, type __ΩInferHookHandler as bV, type __ΩInferHookReturnType as bW, type __ΩInferHookParameters as bX, type __ΩInferHookThisType as bY, type PluginHookObject as bZ, type PluginHook as b_, type APIContext as ba, type EnvironmentContextPlugin as bb, type EnvironmentContext as bc, type PluginContext as bd, type BuildPluginContext as be, type SerializedVirtualFileSystem as bf, type __ΩLogLevel as bg, type __ΩWorkerProcess as bh, type __ΩMetaInfo as bi, type __ΩResolver as bj, type __ΩTransformResult as bk, type __ΩSourceFile as bl, type __ΩUnimportContext as bm, type __ΩSelectHooksOptions as bn, type __ΩInitContextOptions as bo, type __ΩUnresolvedContext as bp, type __ΩContext as bq, type __ΩAPIContext as br, type __ΩEnvironmentContextPlugin as bs, type __ΩEnvironmentContext as bt, type __ΩPluginContext as bu, type __ΩBuildPluginContext as bv, type __ΩSerializedVirtualFileSystem as bw, type BaseHooks as bx, type BaseHookKeys as by, type ExternalHooks as bz, type BabelTransformPluginOptions as c, type ConfigResult as c0, type BasePluginHookFunctions as c1, type BuildPlugin as c2, type ExternalPluginHookFunctionsVariant as c3, type ExternalPluginHookFunctions as c4, type PluginHookFunctions as c5, type PluginHooks as c6, type PluginBuildPlugins as c7, type Plugin as c8, PLUGIN_NON_HOOK_FIELDS as c9, type TsupResolvedConfig as cA, type UnbuildResolvedConfig as cB, type FarmResolvedConfig as cC, type InferResolvedConfig as cD, type __ΩResolvedEntryTypeDefinition as cE, type __ΩBabelResolvedConfig as cF, type __ΩEnvironmentResolvedConfig as cG, type __ΩResolvedAssetGlob as cH, type __ΩOutputResolvedConfig as cI, type __ΩResolvedConfig as cJ, type __ΩViteResolvedConfig as cK, type __ΩWebpackResolvedConfig as cL, type __ΩRspackResolvedConfig as cM, type __ΩESBuildResolvedConfig as cN, type __ΩRollupResolvedConfig as cO, type __ΩRolldownResolvedConfig as cP, type __ΩTsupResolvedConfig as cQ, type __ΩUnbuildResolvedConfig as cR, type __ΩFarmResolvedConfig as cS, type __ΩInferResolvedConfig as cT, type PluginNonHookFields as ca, type __ΩPluginHookObject as cb, type __ΩPluginHook as cc, type __ΩGenerateTypesResult as cd, type __ΩConfigResult as ce, type __ΩBasePluginHookFunctions as cf, type __ΩBuildPlugin as cg, type __ΩExternalPluginHookFunctionsVariant as ch, type __ΩExternalPluginHookFunctions as ci, type __ΩPluginHookFunctions as cj, type __ΩPluginHooks as ck, type __ΩPluginBuildPlugins as cl, type __ΩPlugin as cm, type __ΩPluginNonHookFields as cn, type ResolvedEntryTypeDefinition as co, type BabelResolvedConfig as cp, type EnvironmentResolvedConfig as cq, type ResolvedAssetGlob as cr, type OutputResolvedConfig as cs, type ResolvedConfig as ct, type ViteResolvedConfig as cu, type WebpackResolvedConfig as cv, type RspackResolvedConfig as cw, type ESBuildResolvedConfig as cx, type RollupResolvedConfig as cy, type RolldownResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type PluginConfigTuple as x, type PluginConfigObject as y, type PluginConfig as z };
|
|
@@ -578,6 +578,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
578
578
|
* @returns A logger function
|
|
579
579
|
*/
|
|
580
580
|
extendLog: (name: string) => LogFn;
|
|
581
|
+
/**
|
|
582
|
+
* Generates a checksum representing the current context state
|
|
583
|
+
*
|
|
584
|
+
* @returns A promise that resolves to a string representing the checksum
|
|
585
|
+
*/
|
|
586
|
+
generateChecksum: () => Promise<string>;
|
|
581
587
|
}
|
|
582
588
|
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
|
|
583
589
|
/**
|
|
@@ -1175,6 +1181,11 @@ type UserConfigFnObject = (env: ConfigEnv) => DeepPartial$1<UserConfig>;
|
|
|
1175
1181
|
type UserConfigFnPromise = (env: ConfigEnv) => Promise<DeepPartial$1<UserConfig>>;
|
|
1176
1182
|
type UserConfigFn = (env: ConfigEnv) => UserConfig | Promise<DeepPartial$1<UserConfig>>;
|
|
1177
1183
|
type UserConfigExport = DeepPartial$1<UserConfig> | Promise<DeepPartial$1<UserConfig>> | UserConfigFnObject | UserConfigFnPromise | UserConfigFn;
|
|
1184
|
+
/**
|
|
1185
|
+
* An empty interface to allow augmentation of the defineConfig input type.
|
|
1186
|
+
*/
|
|
1187
|
+
interface DefineConfigInput {
|
|
1188
|
+
}
|
|
1178
1189
|
declare type __ΩLogFn = any[];
|
|
1179
1190
|
declare type __ΩWorkspaceConfig = any[];
|
|
1180
1191
|
declare type __ΩPluginFactory = any[];
|
|
@@ -1217,6 +1228,7 @@ declare type __ΩUserConfigFnObject = any[];
|
|
|
1217
1228
|
declare type __ΩUserConfigFnPromise = any[];
|
|
1218
1229
|
declare type __ΩUserConfigFn = any[];
|
|
1219
1230
|
declare type __ΩUserConfigExport = any[];
|
|
1231
|
+
declare type __ΩDefineConfigInput = any[];
|
|
1220
1232
|
|
|
1221
1233
|
interface ResolvedEntryTypeDefinition extends TypeDefinition {
|
|
1222
1234
|
/**
|
|
@@ -1318,4 +1330,4 @@ declare type __ΩUnbuildResolvedConfig = any[];
|
|
|
1318
1330
|
declare type __ΩFarmResolvedConfig = any[];
|
|
1319
1331
|
declare type __ΩInferResolvedConfig = any[];
|
|
1320
1332
|
|
|
1321
|
-
export { type TsupUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type BaseConfig as H, type ImportDefinition as I, type EnvironmentConfig as J, type CommonUserConfig as K, type LogFn as L, type WebpackUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type RspackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RollupUserConfig as T, type UserConfig as U, type RolldownUserConfig as V, type WorkspaceConfig as W, type ViteUserConfig as X, type ESBuildUserConfig as Y, type UnbuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a,
|
|
1333
|
+
export { type TsupUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type BaseConfig as H, type ImportDefinition as I, type EnvironmentConfig as J, type CommonUserConfig as K, type LogFn as L, type WebpackUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type RspackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RollupUserConfig as T, type UserConfig as U, type RolldownUserConfig as V, type WorkspaceConfig as W, type ViteUserConfig as X, type ESBuildUserConfig as Y, type UnbuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, LogLevel as a$, type FarmUserConfig as a0, type InferUserConfig as a1, type InitialUserConfig as a2, type ParsedUserConfig as a3, type PowerlinesCommand as a4, type InlineConfig as a5, type NewInlineConfig as a6, type CleanInlineConfig as a7, type PrepareInlineConfig as a8, type BuildInlineConfig as a9, type __ΩRspackUserConfig as aA, type __ΩRollupUserConfig as aB, type __ΩRolldownUserConfig as aC, type __ΩViteUserConfig as aD, type __ΩESBuildUserConfig as aE, type __ΩUnbuildUserConfig as aF, type __ΩTsupUserConfig as aG, type __ΩFarmUserConfig as aH, type __ΩInferUserConfig as aI, type __ΩInitialUserConfig as aJ, type __ΩParsedUserConfig as aK, type __ΩPowerlinesCommand as aL, type __ΩInlineConfig as aM, type __ΩNewInlineConfig as aN, type __ΩCleanInlineConfig as aO, type __ΩPrepareInlineConfig as aP, type __ΩBuildInlineConfig as aQ, type __ΩLintInlineConfig as aR, type __ΩDocsInlineConfig as aS, type __ΩDeployInlineConfig as aT, type __ΩConfigEnv as aU, type __ΩAnyUserConfig as aV, type __ΩUserConfigFnObject as aW, type __ΩUserConfigFnPromise as aX, type __ΩUserConfigFn as aY, type __ΩUserConfigExport as aZ, type __ΩDefineConfigInput as a_, type LintInlineConfig as aa, type DocsInlineConfig as ab, type DeployInlineConfig as ac, type ConfigEnv as ad, type AnyUserConfig as ae, type UserConfigFnObject as af, type UserConfigFnPromise as ag, type UserConfigFn as ah, type UserConfigExport as ai, type DefineConfigInput as aj, type __ΩLogFn as ak, type __ΩWorkspaceConfig as al, type __ΩPluginFactory as am, type __ΩPluginConfigTuple as an, type __ΩPluginConfigObject as ao, type __ΩPluginConfig as ap, type __ΩPartialPlugin as aq, type __ΩPartialPluginFactory as ar, type __ΩProjectType as as, type __ΩBabelUserConfig as at, type __ΩOutputConfig as au, type __ΩBaseConfig as av, type __ΩEnvironmentConfig as aw, type __ΩCommonUserConfig as ax, type __ΩUserConfig as ay, type __ΩWebpackUserConfig as az, type BabelTransformPlugin as b, type GenerateTypesResult as b$, type WorkerProcess as b0, type MetaInfo as b1, type Resolver as b2, type TransformResult as b3, type SourceFile as b4, type UnimportContext as b5, type SelectHooksOptions as b6, type InitContextOptions as b7, type UnresolvedContext as b8, type Context as b9, type ExternalHookKeys as bA, type Hooks as bB, type HookKeys as bC, type BaseHooksListItem as bD, type BaseHooksList as bE, type ExternalHooksListItem as bF, type HooksList as bG, type InferHookHandler as bH, type InferHookReturnType as bI, type InferHookParameters as bJ, type InferHookThisType as bK, type __ΩBaseHooks as bL, type __ΩBaseHookKeys as bM, type __ΩExternalHooks as bN, type __ΩExternalHookKeys as bO, type __ΩHooks as bP, type __ΩHookKeys as bQ, type __ΩBaseHooksListItem as bR, type __ΩBaseHooksList as bS, type __ΩExternalHooksListItem as bT, type __ΩHooksList as bU, type __ΩInferHookHandler as bV, type __ΩInferHookReturnType as bW, type __ΩInferHookParameters as bX, type __ΩInferHookThisType as bY, type PluginHookObject as bZ, type PluginHook as b_, type APIContext as ba, type EnvironmentContextPlugin as bb, type EnvironmentContext as bc, type PluginContext as bd, type BuildPluginContext as be, type SerializedVirtualFileSystem as bf, type __ΩLogLevel as bg, type __ΩWorkerProcess as bh, type __ΩMetaInfo as bi, type __ΩResolver as bj, type __ΩTransformResult as bk, type __ΩSourceFile as bl, type __ΩUnimportContext as bm, type __ΩSelectHooksOptions as bn, type __ΩInitContextOptions as bo, type __ΩUnresolvedContext as bp, type __ΩContext as bq, type __ΩAPIContext as br, type __ΩEnvironmentContextPlugin as bs, type __ΩEnvironmentContext as bt, type __ΩPluginContext as bu, type __ΩBuildPluginContext as bv, type __ΩSerializedVirtualFileSystem as bw, type BaseHooks as bx, type BaseHookKeys as by, type ExternalHooks as bz, type BabelTransformPluginOptions as c, type ConfigResult as c0, type BasePluginHookFunctions as c1, type BuildPlugin as c2, type ExternalPluginHookFunctionsVariant as c3, type ExternalPluginHookFunctions as c4, type PluginHookFunctions as c5, type PluginHooks as c6, type PluginBuildPlugins as c7, type Plugin as c8, PLUGIN_NON_HOOK_FIELDS as c9, type TsupResolvedConfig as cA, type UnbuildResolvedConfig as cB, type FarmResolvedConfig as cC, type InferResolvedConfig as cD, type __ΩResolvedEntryTypeDefinition as cE, type __ΩBabelResolvedConfig as cF, type __ΩEnvironmentResolvedConfig as cG, type __ΩResolvedAssetGlob as cH, type __ΩOutputResolvedConfig as cI, type __ΩResolvedConfig as cJ, type __ΩViteResolvedConfig as cK, type __ΩWebpackResolvedConfig as cL, type __ΩRspackResolvedConfig as cM, type __ΩESBuildResolvedConfig as cN, type __ΩRollupResolvedConfig as cO, type __ΩRolldownResolvedConfig as cP, type __ΩTsupResolvedConfig as cQ, type __ΩUnbuildResolvedConfig as cR, type __ΩFarmResolvedConfig as cS, type __ΩInferResolvedConfig as cT, type PluginNonHookFields as ca, type __ΩPluginHookObject as cb, type __ΩPluginHook as cc, type __ΩGenerateTypesResult as cd, type __ΩConfigResult as ce, type __ΩBasePluginHookFunctions as cf, type __ΩBuildPlugin as cg, type __ΩExternalPluginHookFunctionsVariant as ch, type __ΩExternalPluginHookFunctions as ci, type __ΩPluginHookFunctions as cj, type __ΩPluginHooks as ck, type __ΩPluginBuildPlugins as cl, type __ΩPlugin as cm, type __ΩPluginNonHookFields as cn, type ResolvedEntryTypeDefinition as co, type BabelResolvedConfig as cp, type EnvironmentResolvedConfig as cq, type ResolvedAssetGlob as cr, type OutputResolvedConfig as cs, type ResolvedConfig as ct, type ViteResolvedConfig as cu, type WebpackResolvedConfig as cv, type RspackResolvedConfig as cw, type ESBuildResolvedConfig as cx, type RollupResolvedConfig as cy, type RolldownResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type PluginConfigTuple as x, type PluginConfigObject as y, type PluginConfig as z };
|
package/dist/rolldown.cjs
CHANGED
|
@@ -2,25 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-62BQYRPM.cjs');
|
|
5
|
+
var chunkFJWXCUGQ_cjs = require('./chunk-FJWXCUGQ.cjs');
|
|
6
|
+
require('./chunk-6ZKM7WOB.cjs');
|
|
8
7
|
require('./chunk-ETKZMGLN.cjs');
|
|
9
8
|
require('./chunk-PAMSESZV.cjs');
|
|
10
9
|
require('./chunk-AYKZK666.cjs');
|
|
11
10
|
require('./chunk-USNT2KNT.cjs');
|
|
11
|
+
var unplugin = require('unplugin');
|
|
12
12
|
|
|
13
|
+
var rolldown = unplugin.createRolldownPlugin(chunkFJWXCUGQ_cjs.createUnpluginFactory("rolldown"));
|
|
14
|
+
var rolldown_default = rolldown;
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
get: function () { return chunkYBOJFFO2_cjs.rolldown_default; }
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "module.exports", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () { return chunkYBOJFFO2_cjs.rolldown; }
|
|
22
|
-
});
|
|
23
|
-
Object.defineProperty(exports, "rolldown", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: function () { return chunkYBOJFFO2_cjs.rolldown; }
|
|
26
|
-
});
|
|
16
|
+
exports.default = rolldown_default;
|
|
17
|
+
exports["module.exports"] = rolldown;
|
|
18
|
+
exports.rolldown = rolldown;
|
package/dist/rolldown.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { V as RolldownUserConfig } from './resolved-
|
|
1
|
+
import * as _rolldown from 'rolldown';
|
|
2
|
+
import { V as RolldownUserConfig } from './resolved-DGrpILrS.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -42,13 +42,13 @@ import 'typescript';
|
|
|
42
42
|
* @example
|
|
43
43
|
* ```ts
|
|
44
44
|
* // rollup.config.ts
|
|
45
|
-
* import powerlines from "powerlines/rollup"
|
|
45
|
+
* import powerlines from "powerlines/rollup";
|
|
46
46
|
*
|
|
47
47
|
* export default defineConfig({
|
|
48
|
-
* plugins: [powerlines()],
|
|
48
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
49
49
|
* })
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
|
52
|
-
declare const rolldown: (options: Partial<RolldownUserConfig>) =>
|
|
52
|
+
declare const rolldown: (options: Partial<RolldownUserConfig>) => _rolldown.Plugin<any> | _rolldown.Plugin<any>[];
|
|
53
53
|
|
|
54
54
|
export { rolldown as "module.exports", rolldown as default, rolldown };
|
package/dist/rolldown.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { V as RolldownUserConfig } from './resolved-
|
|
1
|
+
import * as _rolldown from 'rolldown';
|
|
2
|
+
import { V as RolldownUserConfig } from './resolved-B3BSdXCt.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -42,13 +42,13 @@ import 'typescript';
|
|
|
42
42
|
* @example
|
|
43
43
|
* ```ts
|
|
44
44
|
* // rollup.config.ts
|
|
45
|
-
* import powerlines from "powerlines/rollup"
|
|
45
|
+
* import powerlines from "powerlines/rollup";
|
|
46
46
|
*
|
|
47
47
|
* export default defineConfig({
|
|
48
|
-
* plugins: [powerlines()],
|
|
48
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
49
49
|
* })
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
|
52
|
-
declare const rolldown: (options: Partial<RolldownUserConfig>) =>
|
|
52
|
+
declare const rolldown: (options: Partial<RolldownUserConfig>) => _rolldown.Plugin<any> | _rolldown.Plugin<any>[];
|
|
53
53
|
|
|
54
54
|
export { rolldown as "module.exports", rolldown as default, rolldown };
|
package/dist/rolldown.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-E4M4KEL3.js';
|
|
1
|
+
import { createUnpluginFactory } from './chunk-RKMUBSYG.js';
|
|
2
|
+
import './chunk-FDEGM4CR.js';
|
|
4
3
|
import './chunk-JQCWV4DT.js';
|
|
5
4
|
import './chunk-JKBJF3UI.js';
|
|
6
5
|
import './chunk-VT7NVLLU.js';
|
|
7
6
|
import './chunk-SHUYVCID.js';
|
|
7
|
+
import { createRolldownPlugin } from 'unplugin';
|
|
8
|
+
|
|
9
|
+
var rolldown = createRolldownPlugin(createUnpluginFactory("rolldown"));
|
|
10
|
+
var rolldown_default = rolldown;
|
|
11
|
+
|
|
12
|
+
export { rolldown_default as default, rolldown as "module.exports", rolldown };
|
package/dist/rollup.cjs
CHANGED
|
@@ -2,25 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-62BQYRPM.cjs');
|
|
5
|
+
var chunkFJWXCUGQ_cjs = require('./chunk-FJWXCUGQ.cjs');
|
|
6
|
+
require('./chunk-6ZKM7WOB.cjs');
|
|
8
7
|
require('./chunk-ETKZMGLN.cjs');
|
|
9
8
|
require('./chunk-PAMSESZV.cjs');
|
|
10
9
|
require('./chunk-AYKZK666.cjs');
|
|
11
10
|
require('./chunk-USNT2KNT.cjs');
|
|
11
|
+
var unplugin = require('unplugin');
|
|
12
12
|
|
|
13
|
+
var rollup = unplugin.createRollupPlugin(chunkFJWXCUGQ_cjs.createUnpluginFactory("rollup"));
|
|
14
|
+
var rollup_default = rollup;
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
get: function () { return chunkRVO5GC2H_cjs.rollup_default; }
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "module.exports", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () { return chunkRVO5GC2H_cjs.rollup; }
|
|
22
|
-
});
|
|
23
|
-
Object.defineProperty(exports, "rollup", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: function () { return chunkRVO5GC2H_cjs.rollup; }
|
|
26
|
-
});
|
|
16
|
+
exports.default = rollup_default;
|
|
17
|
+
exports["module.exports"] = rollup;
|
|
18
|
+
exports.rollup = rollup;
|
package/dist/rollup.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { T as RollupUserConfig } from './resolved-
|
|
1
|
+
import * as _rollup from 'rollup';
|
|
2
|
+
import { T as RollupUserConfig } from './resolved-DGrpILrS.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -42,13 +42,13 @@ import 'typescript';
|
|
|
42
42
|
* @example
|
|
43
43
|
* ```ts
|
|
44
44
|
* // rollup.config.ts
|
|
45
|
-
* import powerlines from
|
|
45
|
+
* import powerlines from "powerlines/rollup";
|
|
46
46
|
*
|
|
47
47
|
* export default defineConfig({
|
|
48
|
-
* plugins: [powerlines()],
|
|
48
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
49
49
|
* })
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
|
52
|
-
declare const rollup: (options: Partial<RollupUserConfig>) =>
|
|
52
|
+
declare const rollup: (options: Partial<RollupUserConfig>) => _rollup.Plugin<any> | _rollup.Plugin<any>[];
|
|
53
53
|
|
|
54
54
|
export { rollup as "module.exports", rollup as default, rollup };
|