powerlines 0.41.6 → 0.41.8
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/README.md +14 -16
- package/dist/{api-CY668wMZ.mjs → api-BYLuEyjx.mjs} +142 -333
- package/dist/api-BYLuEyjx.mjs.map +1 -0
- package/dist/{api-GPlMYw0d.cjs → api-Zx_hzL3g.cjs} +505 -722
- package/dist/astro.cjs +8 -18
- package/dist/astro.d.cts +1 -2
- package/dist/astro.d.cts.map +1 -1
- package/dist/astro.d.mts +1 -6
- package/dist/astro.d.mts.map +1 -1
- package/dist/astro.mjs +6 -16
- package/dist/astro.mjs.map +1 -1
- package/dist/{chunk-CbDLau6x.cjs → chunk-AIJqnxB6.cjs} +27 -1
- package/dist/chunk-CtajNgzt.mjs +36 -0
- package/dist/config.cjs +20 -4
- package/dist/config.d.cts +1 -2
- package/dist/config.d.mts +1 -3
- package/dist/config.mjs +11 -2
- package/dist/config.mjs.map +1 -0
- package/dist/constants.cjs +20 -20
- package/dist/constants.d.cts +1 -24
- package/dist/constants.d.mts +1 -24
- package/dist/constants.mjs +11 -3
- package/dist/constants.mjs.map +1 -0
- package/dist/context/index.cjs +4 -9
- package/dist/context/index.d.cts +56 -132
- package/dist/context/index.d.cts.map +1 -1
- package/dist/context/index.d.mts +55 -135
- package/dist/context/index.d.mts.map +1 -1
- package/dist/context/index.mjs +3 -9
- package/dist/esbuild.cjs +60 -17
- package/dist/esbuild.d.cts +5 -29
- package/dist/esbuild.d.cts.map +1 -1
- package/dist/esbuild.d.mts +5 -33
- package/dist/esbuild.d.mts.map +1 -1
- package/dist/esbuild.mjs +44 -12
- package/dist/esbuild.mjs.map +1 -0
- package/dist/farm.cjs +6 -13
- package/dist/farm.d.cts +2 -3
- package/dist/farm.d.cts.map +1 -1
- package/dist/farm.d.mts +2 -6
- package/dist/farm.d.mts.map +1 -1
- package/dist/farm.mjs +4 -11
- package/dist/farm.mjs.map +1 -1
- package/dist/index.cjs +7 -13
- package/dist/index.d.cts +263 -6
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +263 -7
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +3 -9
- package/dist/index.mjs.map +1 -1
- package/dist/next.cjs +7 -14
- package/dist/next.d.cts +0 -1
- package/dist/next.d.cts.map +1 -1
- package/dist/next.d.mts +0 -1
- package/dist/next.d.mts.map +1 -1
- package/dist/next.mjs +6 -13
- package/dist/next.mjs.map +1 -1
- package/dist/nuxt.cjs +12 -22
- package/dist/nuxt.d.cts +2 -3
- package/dist/nuxt.d.cts.map +1 -1
- package/dist/nuxt.d.mts +2 -7
- package/dist/nuxt.d.mts.map +1 -1
- package/dist/nuxt.mjs +8 -18
- package/dist/nuxt.mjs.map +1 -1
- package/dist/plugin-utils.cjs +20 -28
- package/dist/plugin-utils.d.cts +1 -267
- package/dist/plugin-utils.d.mts +1 -272
- package/dist/plugin-utils.mjs +11 -4
- package/dist/plugin-utils.mjs.map +1 -0
- package/dist/rolldown.cjs +52 -18
- package/dist/rolldown.d.cts +5 -29
- package/dist/rolldown.d.cts.map +1 -1
- package/dist/rolldown.d.mts +5 -32
- package/dist/rolldown.d.mts.map +1 -1
- package/dist/rolldown.mjs +36 -13
- package/dist/rolldown.mjs.map +1 -0
- package/dist/rollup.cjs +20 -48
- package/dist/rollup.d.cts +5 -29
- package/dist/rollup.d.cts.map +1 -1
- package/dist/rollup.d.mts +5 -32
- package/dist/rollup.d.mts.map +1 -1
- package/dist/rollup.mjs +6 -44
- package/dist/rollup.mjs.map +1 -1
- package/dist/rspack.cjs +20 -82
- package/dist/rspack.d.cts +4 -24
- package/dist/rspack.d.cts.map +1 -1
- package/dist/rspack.d.mts +4 -27
- package/dist/rspack.d.mts.map +1 -1
- package/dist/rspack.mjs +5 -77
- package/dist/rspack.mjs.map +1 -1
- package/dist/storage/index.cjs +2 -3
- package/dist/storage/index.d.cts +7 -7
- package/dist/storage/index.d.cts.map +1 -1
- package/dist/storage/index.d.mts +7 -11
- package/dist/storage/index.d.mts.map +1 -1
- package/dist/storage/index.mjs +1 -3
- package/dist/{tsconfig-C8M8X6U0.cjs → tsconfig-BJrUrPC_.cjs} +13 -13
- package/dist/{tsconfig-B92heKit.mjs → tsconfig-D9GCB2I9.mjs} +5 -5
- package/dist/tsconfig-D9GCB2I9.mjs.map +1 -0
- package/dist/tsdown.cjs +38 -187
- package/dist/tsdown.d.cts +2 -24
- package/dist/tsdown.d.cts.map +1 -1
- package/dist/tsdown.d.mts +4 -30
- package/dist/tsdown.d.mts.map +1 -1
- package/dist/tsdown.mjs +8 -167
- package/dist/tsdown.mjs.map +1 -1
- package/dist/tsup.cjs +29 -134
- package/dist/tsup.d.cts +2 -24
- package/dist/tsup.d.cts.map +1 -1
- package/dist/tsup.d.mts +2 -28
- package/dist/tsup.d.mts.map +1 -1
- package/dist/tsup.mjs +7 -122
- package/dist/tsup.mjs.map +1 -1
- package/dist/types-DerAvFjs.d.cts +4 -0
- package/dist/types-DerAvFjs.d.cts.map +1 -0
- package/dist/types-ro7jWCtL.d.mts +4 -0
- package/dist/types-ro7jWCtL.d.mts.map +1 -0
- package/dist/typescript/index.cjs +2 -1
- package/dist/typescript/index.d.cts +2 -2
- package/dist/typescript/index.d.cts.map +1 -1
- package/dist/typescript/index.d.mts +1 -4
- package/dist/typescript/index.d.mts.map +1 -1
- package/dist/typescript/index.mjs +1 -1
- package/dist/unloader.cjs +6 -13
- package/dist/unloader.d.cts +2 -4
- package/dist/unloader.d.cts.map +1 -1
- package/dist/unloader.d.mts +2 -7
- package/dist/unloader.d.mts.map +1 -1
- package/dist/unloader.mjs +4 -11
- package/dist/unloader.mjs.map +1 -1
- package/dist/unplugin.cjs +11 -14
- package/dist/unplugin.d.cts +5 -6
- package/dist/unplugin.d.cts.map +1 -1
- package/dist/unplugin.d.mts +3 -6
- package/dist/unplugin.d.mts.map +1 -1
- package/dist/unplugin.mjs +6 -10
- package/dist/utils.cjs +38 -22
- package/dist/utils.d.cts +3 -2
- package/dist/utils.d.mts +3 -3
- package/dist/utils.mjs +19 -3
- package/dist/utils.mjs.map +1 -0
- package/dist/{virtual-B1MLgqnQ.cjs → virtual-Cbvj12lU.cjs} +33 -33
- package/dist/{virtual-B9imjOqe.mjs → virtual-DvkJm7gK.mjs} +7 -7
- package/dist/virtual-DvkJm7gK.mjs.map +1 -0
- package/dist/vite.cjs +84 -19
- package/dist/vite.d.cts +5 -16
- package/dist/vite.d.cts.map +1 -1
- package/dist/vite.d.mts +5 -19
- package/dist/vite.d.mts.map +1 -1
- package/dist/vite.mjs +67 -14
- package/dist/vite.mjs.map +1 -0
- package/dist/webpack.cjs +42 -16
- package/dist/webpack.d.cts +5 -29
- package/dist/webpack.d.cts.map +1 -1
- package/dist/webpack.d.mts +5 -32
- package/dist/webpack.d.mts.map +1 -1
- package/dist/webpack.mjs +26 -11
- package/dist/webpack.mjs.map +1 -0
- package/package.json +17 -17
- package/dist/api-CY668wMZ.mjs.map +0 -1
- package/dist/commands-7TWNqTU1.d.cts +0 -12
- package/dist/commands-7TWNqTU1.d.cts.map +0 -1
- package/dist/commands-yacLkOi0.d.mts +0 -12
- package/dist/commands-yacLkOi0.d.mts.map +0 -1
- package/dist/config-CK756s0L.d.mts +0 -2232
- package/dist/config-CK756s0L.d.mts.map +0 -1
- package/dist/config-CiPXgwzt.d.mts +0 -39
- package/dist/config-CiPXgwzt.d.mts.map +0 -1
- package/dist/config-D4Fh2gQL.mjs +0 -87
- package/dist/config-D4Fh2gQL.mjs.map +0 -1
- package/dist/config-D86Vw7SC.cjs +0 -105
- package/dist/config-J74ORCFY.d.cts +0 -39
- package/dist/config-J74ORCFY.d.cts.map +0 -1
- package/dist/config-vnrrSxEB.d.cts +0 -2232
- package/dist/config-vnrrSxEB.d.cts.map +0 -1
- package/dist/constants-CZh5rsgh.cjs +0 -103
- package/dist/constants-cXxSHhNp.mjs +0 -32
- package/dist/constants-cXxSHhNp.mjs.map +0 -1
- package/dist/constants.d.cts.map +0 -1
- package/dist/constants.d.mts.map +0 -1
- package/dist/esbuild-B3NuCco0.cjs +0 -100
- package/dist/esbuild-DWiE0pYc.mjs +0 -82
- package/dist/esbuild-DWiE0pYc.mjs.map +0 -1
- package/dist/index-2JXW-b2-.d.mts +0 -82
- package/dist/index-2JXW-b2-.d.mts.map +0 -1
- package/dist/index-6BLROVtJ.d.mts +0 -261
- package/dist/index-6BLROVtJ.d.mts.map +0 -1
- package/dist/index-C7W0kmm7.d.mts +0 -171
- package/dist/index-C7W0kmm7.d.mts.map +0 -1
- package/dist/index-DJ-k0GOX.d.cts +0 -261
- package/dist/index-DJ-k0GOX.d.cts.map +0 -1
- package/dist/paths-CS8ecCnW.mjs +0 -81
- package/dist/paths-CS8ecCnW.mjs.map +0 -1
- package/dist/paths-YmyIGEVo.cjs +0 -98
- package/dist/plugin-B9TQt-p0.d.cts +0 -82
- package/dist/plugin-B9TQt-p0.d.cts.map +0 -1
- package/dist/plugin-BE3wmhoU.d.cts +0 -26
- package/dist/plugin-BE3wmhoU.d.cts.map +0 -1
- package/dist/plugin-CZ_PJPpQ.cjs +0 -96
- package/dist/plugin-C_8RhG5V.d.mts +0 -26
- package/dist/plugin-C_8RhG5V.d.mts.map +0 -1
- package/dist/plugin-E5foRD0k.mjs +0 -61
- package/dist/plugin-E5foRD0k.mjs.map +0 -1
- package/dist/plugin-utils-C3HnZJl1.mjs +0 -387
- package/dist/plugin-utils-C3HnZJl1.mjs.map +0 -1
- package/dist/plugin-utils-Ck3cx3w6.cjs +0 -531
- package/dist/plugin-utils.d.cts.map +0 -1
- package/dist/plugin-utils.d.mts.map +0 -1
- package/dist/resolve-options-6sXFqzEA.mjs +0 -116
- package/dist/resolve-options-6sXFqzEA.mjs.map +0 -1
- package/dist/resolve-options-BQnTgg3V.cjs +0 -105
- package/dist/resolve-options-D-RGs8j8.mjs +0 -117
- package/dist/resolve-options-D-RGs8j8.mjs.map +0 -1
- package/dist/resolve-options-DHL3RM8F.mjs +0 -87
- package/dist/resolve-options-DHL3RM8F.mjs.map +0 -1
- package/dist/resolve-options-lxQ2pm0W.cjs +0 -127
- package/dist/resolve-options-vyFhhkLp.cjs +0 -133
- package/dist/rolldown-CQI8ps6f.cjs +0 -83
- package/dist/rolldown-DsXEFXyP.mjs +0 -65
- package/dist/rolldown-DsXEFXyP.mjs.map +0 -1
- package/dist/tsconfig-B92heKit.mjs.map +0 -1
- package/dist/types-Bh_vLuQ0.d.mts +0 -1
- package/dist/utils-BbDma_5Y.cjs +0 -449
- package/dist/utils-DoQcX7Sk.mjs +0 -339
- package/dist/utils-DoQcX7Sk.mjs.map +0 -1
- package/dist/virtual-B9imjOqe.mjs.map +0 -1
- package/dist/vite-Bx1gbbj3.mjs +0 -171
- package/dist/vite-Bx1gbbj3.mjs.map +0 -1
- package/dist/vite-XV170zx6.cjs +0 -189
- package/dist/webpack-9G4xJBfz.cjs +0 -107
- package/dist/webpack-BkTkELre.mjs +0 -88
- package/dist/webpack-BkTkELre.mjs.map +0 -1
- package/dist/write-file-CpNWY8SV.d.cts +0 -171
- package/dist/write-file-CpNWY8SV.d.cts.map +0 -1
package/dist/astro.cjs
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
require('./api-
|
|
3
|
-
require('./tsconfig-
|
|
4
|
-
require('./
|
|
5
|
-
require('./
|
|
6
|
-
require('./paths-YmyIGEVo.cjs');
|
|
7
|
-
require('./constants-CZh5rsgh.cjs');
|
|
8
|
-
require('./config-D86Vw7SC.cjs');
|
|
9
|
-
require('./utils-BbDma_5Y.cjs');
|
|
10
|
-
require('./virtual-B1MLgqnQ.cjs');
|
|
11
|
-
require('./resolve-options-BQnTgg3V.cjs');
|
|
12
|
-
require('./resolve-options-vyFhhkLp.cjs');
|
|
13
|
-
require('./resolve-options-lxQ2pm0W.cjs');
|
|
14
|
-
const require_vite = require('./vite-XV170zx6.cjs');
|
|
1
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
+
require('./api-Zx_hzL3g.cjs');
|
|
3
|
+
require('./tsconfig-BJrUrPC_.cjs');
|
|
4
|
+
require('./virtual-Cbvj12lU.cjs');
|
|
5
|
+
const require_vite = require('./vite.cjs');
|
|
15
6
|
|
|
16
7
|
//#region src/astro.ts
|
|
17
8
|
/**
|
|
@@ -31,10 +22,9 @@ const require_vite = require('./vite-XV170zx6.cjs');
|
|
|
31
22
|
*
|
|
32
23
|
* ```
|
|
33
24
|
*/
|
|
34
|
-
const astro = (config = {}) => ({ vite: { plugins: [require_vite.
|
|
35
|
-
var astro_default = astro;
|
|
25
|
+
const astro = (config = {}) => ({ vite: { plugins: [require_vite.default(config)] } });
|
|
36
26
|
|
|
37
27
|
//#endregion
|
|
38
28
|
exports.astro = astro;
|
|
39
|
-
exports
|
|
40
|
-
exports.
|
|
29
|
+
exports.default = astro;
|
|
30
|
+
exports["module.exports"] = astro;
|
package/dist/astro.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VitePluginUserConfig } from "@powerlines/plugin-vite/types/plugin";
|
|
2
2
|
import { AstroUserConfig } from "astro";
|
|
3
3
|
|
|
4
4
|
//#region src/astro.d.ts
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* An Astro plugin that will invoke the Powerlines API hooks during the build process.
|
|
8
7
|
*
|
package/dist/astro.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"astro.d.cts","names":[],"sources":["../src/astro.ts"],"
|
|
1
|
+
{"version":3,"file":"astro.d.cts","names":[],"sources":["../src/astro.ts"],"mappings":";;;;;;AAuCA;;;;;;;;;;;;;;;cAAa,KAAA,GACX,MAAA,GAAQ,OAAA,CAAQ,oBAAA,MACf,eAAA"}
|
package/dist/astro.d.mts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./config-CiPXgwzt.mjs";
|
|
3
|
-
import "./index-C7W0kmm7.mjs";
|
|
4
|
-
import "./index-2JXW-b2-.mjs";
|
|
5
|
-
import { r as VitePluginUserConfig } from "./plugin-C_8RhG5V.mjs";
|
|
1
|
+
import { VitePluginUserConfig } from "@powerlines/plugin-vite/types/plugin";
|
|
6
2
|
import { AstroUserConfig } from "astro";
|
|
7
3
|
|
|
8
4
|
//#region src/astro.d.ts
|
|
9
|
-
|
|
10
5
|
/**
|
|
11
6
|
* An Astro plugin that will invoke the Powerlines API hooks during the build process.
|
|
12
7
|
*
|
package/dist/astro.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"astro.d.mts","names":[],"sources":["../src/astro.ts"],"
|
|
1
|
+
{"version":3,"file":"astro.d.mts","names":[],"sources":["../src/astro.ts"],"mappings":";;;;;;AAuCA;;;;;;;;;;;;;;;cAAa,KAAA,GACX,MAAA,GAAQ,OAAA,CAAQ,oBAAA,MACf,eAAA"}
|
package/dist/astro.mjs
CHANGED
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./tsconfig-
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./paths-CS8ecCnW.mjs";
|
|
6
|
-
import "./constants-cXxSHhNp.mjs";
|
|
7
|
-
import "./config-D4Fh2gQL.mjs";
|
|
8
|
-
import "./utils-DoQcX7Sk.mjs";
|
|
9
|
-
import "./virtual-B9imjOqe.mjs";
|
|
10
|
-
import "./resolve-options-DHL3RM8F.mjs";
|
|
11
|
-
import "./resolve-options-6sXFqzEA.mjs";
|
|
12
|
-
import "./resolve-options-D-RGs8j8.mjs";
|
|
13
|
-
import { n as vite_default } from "./vite-Bx1gbbj3.mjs";
|
|
1
|
+
import "./api-BYLuEyjx.mjs";
|
|
2
|
+
import "./tsconfig-D9GCB2I9.mjs";
|
|
3
|
+
import "./virtual-DvkJm7gK.mjs";
|
|
4
|
+
import unplugin from "./vite.mjs";
|
|
14
5
|
|
|
15
6
|
//#region src/astro.ts
|
|
16
7
|
/**
|
|
@@ -30,9 +21,8 @@ import { n as vite_default } from "./vite-Bx1gbbj3.mjs";
|
|
|
30
21
|
*
|
|
31
22
|
* ```
|
|
32
23
|
*/
|
|
33
|
-
const astro = (config = {}) => ({ vite: { plugins: [
|
|
34
|
-
var astro_default = astro;
|
|
24
|
+
const astro = (config = {}) => ({ vite: { plugins: [unplugin(config)] } });
|
|
35
25
|
|
|
36
26
|
//#endregion
|
|
37
|
-
export { astro, astro as "module.exports"
|
|
27
|
+
export { astro, astro as default, astro as "module.exports" };
|
|
38
28
|
//# sourceMappingURL=astro.mjs.map
|
package/dist/astro.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"astro.mjs","names":["vite"],"sources":["../src/astro.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { VitePluginUserConfig } from \"@powerlines/plugin-vite/types/plugin\";\nimport type { AstroUserConfig } from \"astro\";\nimport vite from \"./vite\";\n\n/**\n * An Astro plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://docs.astro.build/en/guides/integrations-guide/#creating-an-integration\n *\n * @example\n * ```js\n * // astro.config.mjs\n * import { defineConfig } from \"astro/config\";\n * import powerlines from \"powerlines/astro\";\n *\n * export default defineConfig({\n * integrations: [powerlines({ name: \"example-app\", ... })]\n * });\n *\n * ```\n */\nexport const astro = (\n config: Partial<VitePluginUserConfig> = {}\n): AstroUserConfig => ({\n vite: {\n plugins: [vite(config)] as NonNullable<AstroUserConfig[\"vite\"]>[\"plugins\"]\n }\n});\n\nexport default astro;\nexport { astro as \"module.exports\" };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"astro.mjs","names":["vite"],"sources":["../src/astro.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { VitePluginUserConfig } from \"@powerlines/plugin-vite/types/plugin\";\nimport type { AstroUserConfig } from \"astro\";\nimport vite from \"./vite\";\n\n/**\n * An Astro plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://docs.astro.build/en/guides/integrations-guide/#creating-an-integration\n *\n * @example\n * ```js\n * // astro.config.mjs\n * import { defineConfig } from \"astro/config\";\n * import powerlines from \"powerlines/astro\";\n *\n * export default defineConfig({\n * integrations: [powerlines({ name: \"example-app\", ... })]\n * });\n *\n * ```\n */\nexport const astro = (\n config: Partial<VitePluginUserConfig> = {}\n): AstroUserConfig => ({\n vite: {\n plugins: [vite(config)] as NonNullable<AstroUserConfig[\"vite\"]>[\"plugins\"]\n }\n});\n\nexport default astro;\nexport { astro as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAuCA,MAAa,SACX,SAAwC,EAAE,MACrB,EACrB,MAAM,EACJ,SAAS,CAACA,SAAK,OAAO,CAAC,EACxB,EACF"}
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __exportAll = (all, no_symbols) => {
|
|
9
|
+
let target = {};
|
|
10
|
+
for (var name in all) {
|
|
11
|
+
__defProp(target, name, {
|
|
12
|
+
get: all[name],
|
|
13
|
+
enumerable: true
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
if (!no_symbols) {
|
|
17
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
18
|
+
}
|
|
19
|
+
return target;
|
|
20
|
+
};
|
|
8
21
|
var __copyProps = (to, from, except, desc) => {
|
|
9
22
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
23
|
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -19,6 +32,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
32
|
}
|
|
20
33
|
return to;
|
|
21
34
|
};
|
|
35
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
22
36
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
37
|
value: mod,
|
|
24
38
|
enumerable: true
|
|
@@ -26,6 +40,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
40
|
|
|
27
41
|
//#endregion
|
|
28
42
|
|
|
43
|
+
Object.defineProperty(exports, '__exportAll', {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () {
|
|
46
|
+
return __exportAll;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, '__reExport', {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () {
|
|
52
|
+
return __reExport;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
29
55
|
Object.defineProperty(exports, '__toESM', {
|
|
30
56
|
enumerable: true,
|
|
31
57
|
get: function () {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __exportAll = (all, no_symbols) => {
|
|
7
|
+
let target = {};
|
|
8
|
+
for (var name in all) {
|
|
9
|
+
__defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
if (!no_symbols) {
|
|
15
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
+
}
|
|
17
|
+
return target;
|
|
18
|
+
};
|
|
19
|
+
var __copyProps = (to, from, except, desc) => {
|
|
20
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
22
|
+
key = keys[i];
|
|
23
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: ((k) => from[k]).bind(null, key),
|
|
26
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return to;
|
|
32
|
+
};
|
|
33
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { __reExport as n, __exportAll as t };
|
package/dist/config.cjs
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_chunk = require('./chunk-AIJqnxB6.cjs');
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
//#region src/config.ts
|
|
5
|
+
var config_exports = /* @__PURE__ */ require_chunk.__exportAll({});
|
|
6
|
+
require_chunk.__reExport(config_exports, require("@powerlines/core/lib/config"));
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
Object.defineProperty(exports, 'config_exports', {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () {
|
|
12
|
+
return config_exports;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
var _powerlines_core_lib_config = require("@powerlines/core/lib/config");
|
|
16
|
+
Object.keys(_powerlines_core_lib_config).forEach(function (k) {
|
|
17
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return _powerlines_core_lib_config[k]; }
|
|
20
|
+
});
|
|
21
|
+
});
|
package/dist/config.d.cts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { PartiallyResolvedContext, __ΩPartiallyResolvedContext, defineConfig, loadUserConfigFile, loadWorkspaceConfig };
|
|
1
|
+
export * from "@powerlines/core/lib/config";
|
package/dist/config.d.mts
CHANGED
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { a as loadWorkspaceConfig, i as loadUserConfigFile, n as __ΩPartiallyResolvedContext, r as defineConfig, t as PartiallyResolvedContext } from "./config-CiPXgwzt.mjs";
|
|
3
|
-
export { PartiallyResolvedContext, __ΩPartiallyResolvedContext, defineConfig, loadUserConfigFile, loadWorkspaceConfig };
|
|
1
|
+
export * from "@powerlines/core/lib/config";
|
package/dist/config.mjs
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as __reExport, t as __exportAll } from "./chunk-CtajNgzt.mjs";
|
|
2
2
|
|
|
3
|
-
export
|
|
3
|
+
export * from "@powerlines/core/lib/config"
|
|
4
|
+
|
|
5
|
+
//#region src/config.ts
|
|
6
|
+
var config_exports = /* @__PURE__ */ __exportAll({});
|
|
7
|
+
import * as import__powerlines_core_lib_config from "@powerlines/core/lib/config";
|
|
8
|
+
__reExport(config_exports, import__powerlines_core_lib_config);
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { config_exports as t };
|
|
12
|
+
//# sourceMappingURL=config.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.mjs","names":[],"sources":["../src/config.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport * from \"@powerlines/core/lib/config\";\n"],"mappings":""}
|
package/dist/constants.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_chunk = require('./chunk-AIJqnxB6.cjs');
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
exports.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
4
|
+
//#region src/constants.ts
|
|
5
|
+
var constants_exports = /* @__PURE__ */ require_chunk.__exportAll({});
|
|
6
|
+
require_chunk.__reExport(constants_exports, require("@powerlines/core/constants"));
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
Object.defineProperty(exports, 'constants_exports', {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () {
|
|
12
|
+
return constants_exports;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
var _powerlines_core_constants = require("@powerlines/core/constants");
|
|
16
|
+
Object.keys(_powerlines_core_constants).forEach(function (k) {
|
|
17
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return _powerlines_core_constants[k]; }
|
|
20
|
+
});
|
|
21
|
+
});
|
package/dist/constants.d.cts
CHANGED
|
@@ -1,24 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
//#region ../core/src/constants/environments.d.ts
|
|
4
|
-
declare const DEFAULT_ENVIRONMENT: "default";
|
|
5
|
-
declare const GLOBAL_ENVIRONMENT: "__global__";
|
|
6
|
-
declare const CLIENT_ENVIRONMENT: "client";
|
|
7
|
-
declare const SERVER_ENVIRONMENT: "server";
|
|
8
|
-
declare const SSR_ENVIRONMENT: "ssr";
|
|
9
|
-
declare const RSC_ENVIRONMENT: "rsc";
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region ../core/src/constants/fs.d.ts
|
|
12
|
-
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
13
|
-
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
14
|
-
declare const STORAGE_PRESETS: string[];
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region ../core/src/constants/hooks.d.ts
|
|
17
|
-
declare const HOOKS_LIST_ORDERS: readonly ["preOrdered", "preEnforced", "normal", "postEnforced", "postOrdered"];
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region ../core/src/constants/meta.d.ts
|
|
20
|
-
declare const ROOT_HASH_LENGTH = 45;
|
|
21
|
-
declare const CACHE_HASH_LENGTH = 62;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, ROOT_HASH_LENGTH, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT, STORAGE_PRESETS, SUPPORTED_COMMANDS, UNPLUGIN_BUILDER_VARIANTS, __VFS_PATCH__, __VFS_REVERT__ };
|
|
24
|
-
//# sourceMappingURL=constants.d.cts.map
|
|
1
|
+
export * from "@powerlines/core/constants";
|
package/dist/constants.d.mts
CHANGED
|
@@ -1,24 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
//#region ../core/src/constants/environments.d.ts
|
|
4
|
-
declare const DEFAULT_ENVIRONMENT: "default";
|
|
5
|
-
declare const GLOBAL_ENVIRONMENT: "__global__";
|
|
6
|
-
declare const CLIENT_ENVIRONMENT: "client";
|
|
7
|
-
declare const SERVER_ENVIRONMENT: "server";
|
|
8
|
-
declare const SSR_ENVIRONMENT: "ssr";
|
|
9
|
-
declare const RSC_ENVIRONMENT: "rsc";
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region ../core/src/constants/fs.d.ts
|
|
12
|
-
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
13
|
-
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
14
|
-
declare const STORAGE_PRESETS: string[];
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region ../core/src/constants/hooks.d.ts
|
|
17
|
-
declare const HOOKS_LIST_ORDERS: readonly ["preOrdered", "preEnforced", "normal", "postEnforced", "postOrdered"];
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region ../core/src/constants/meta.d.ts
|
|
20
|
-
declare const ROOT_HASH_LENGTH = 45;
|
|
21
|
-
declare const CACHE_HASH_LENGTH = 62;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, ROOT_HASH_LENGTH, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT, STORAGE_PRESETS, SUPPORTED_COMMANDS, UNPLUGIN_BUILDER_VARIANTS, __VFS_PATCH__, __VFS_REVERT__ };
|
|
24
|
-
//# sourceMappingURL=constants.d.mts.map
|
|
1
|
+
export * from "@powerlines/core/constants";
|
package/dist/constants.mjs
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as __VFS_PATCH__, c as DEFAULT_ENVIRONMENT, d as SERVER_ENVIRONMENT, f as SSR_ENVIRONMENT, i as STORAGE_PRESETS, l as GLOBAL_ENVIRONMENT, n as ROOT_HASH_LENGTH, o as __VFS_REVERT__, r as HOOKS_LIST_ORDERS, s as CLIENT_ENVIRONMENT, t as CACHE_HASH_LENGTH, u as RSC_ENVIRONMENT } from "./constants-cXxSHhNp.mjs";
|
|
1
|
+
import { n as __reExport, t as __exportAll } from "./chunk-CtajNgzt.mjs";
|
|
3
2
|
|
|
4
|
-
export
|
|
3
|
+
export * from "@powerlines/core/constants"
|
|
4
|
+
|
|
5
|
+
//#region src/constants.ts
|
|
6
|
+
var constants_exports = /* @__PURE__ */ __exportAll({});
|
|
7
|
+
import * as import__powerlines_core_constants from "@powerlines/core/constants";
|
|
8
|
+
__reExport(constants_exports, import__powerlines_core_constants);
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { constants_exports as t };
|
|
12
|
+
//# sourceMappingURL=constants.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.mjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport * from \"@powerlines/core/constants\";\n"],"mappings":""}
|
package/dist/context/index.cjs
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
require('../
|
|
3
|
-
require('../
|
|
4
|
-
require('../
|
|
5
|
-
require('../paths-YmyIGEVo.cjs');
|
|
6
|
-
require('../constants-CZh5rsgh.cjs');
|
|
7
|
-
require('../config-D86Vw7SC.cjs');
|
|
8
|
-
require('../utils-BbDma_5Y.cjs');
|
|
9
|
-
require('../virtual-B1MLgqnQ.cjs');
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_api = require('../api-Zx_hzL3g.cjs');
|
|
3
|
+
require('../tsconfig-BJrUrPC_.cjs');
|
|
4
|
+
require('../virtual-Cbvj12lU.cjs');
|
|
10
5
|
|
|
11
6
|
exports.PowerlinesAPIContext = require_api.PowerlinesAPIContext;
|
|
12
7
|
exports.PowerlinesContext = require_api.PowerlinesContext;
|