powerlines 0.37.33 → 0.37.35
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-CKagZeJX.d.cts → api-D-Jj7gBV.d.cts} +3 -3
- package/dist/{api-CNaXa_TJ.d.ts → api-V7srJoFm.d.ts} +3 -3
- package/dist/api.cjs +2 -2
- package/dist/api.d.cts +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/astro.cjs +4 -4
- package/dist/astro.d.cts +1 -1
- package/dist/astro.d.ts +1 -1
- package/dist/astro.js +3 -3
- package/dist/chunk-7SBQHE7O.cjs +12 -0
- package/dist/{chunk-5HIL7EVA.cjs → chunk-DQSXHHAV.cjs} +4 -4
- package/dist/{chunk-2SKHJHPI.cjs → chunk-EQ6DXFKF.cjs} +5 -5
- package/dist/{chunk-M5ZTDIE2.cjs → chunk-KPFOSNI2.cjs} +4 -4
- package/dist/{chunk-NXF47SUO.js → chunk-LTMBRWVN.js} +3 -3
- package/dist/chunk-NQGIX27E.cjs +12 -0
- package/dist/{chunk-EED2UPZI.js → chunk-O7NHLZPY.js} +3 -3
- package/dist/{chunk-TPEJ4HAR.cjs → chunk-PJPHDM25.cjs} +43 -41
- package/dist/{chunk-OBW6UYPF.js → chunk-Q65LQVH6.js} +3 -3
- package/dist/{chunk-LML34F4E.js → chunk-SLWIUFSS.js} +3 -3
- package/dist/{chunk-C2LWIHQL.js → chunk-TFOT7S55.js} +3 -3
- package/dist/{chunk-YDYRZGLC.js → chunk-YTGERWHC.js} +46 -44
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.d.cts +1 -1
- package/dist/farm.d.ts +1 -1
- package/dist/farm.js +2 -2
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/lib/build/esbuild.cjs +5 -5
- package/dist/lib/build/esbuild.d.cts +1 -1
- package/dist/lib/build/esbuild.d.ts +1 -1
- package/dist/lib/build/esbuild.js +2 -2
- package/dist/lib/build/index.cjs +17 -17
- package/dist/lib/build/index.d.cts +2 -2
- package/dist/lib/build/index.d.ts +2 -2
- package/dist/lib/build/index.js +5 -5
- 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/tsdown.cjs +5 -5
- package/dist/lib/build/tsdown.d.cts +1 -1
- package/dist/lib/build/tsdown.d.ts +1 -1
- package/dist/lib/build/tsdown.js +1 -1
- package/dist/lib/build/tsup.cjs +6 -6
- package/dist/lib/build/tsup.d.cts +1 -1
- package/dist/lib/build/tsup.d.ts +1 -1
- package/dist/lib/build/tsup.js +3 -3
- package/dist/lib/build/unbuild.d.cts +2 -2
- package/dist/lib/build/unbuild.d.ts +2 -2
- package/dist/lib/build/vite.cjs +5 -5
- package/dist/lib/build/vite.d.cts +1 -1
- package/dist/lib/build/vite.d.ts +1 -1
- package/dist/lib/build/vite.js +3 -3
- package/dist/lib/build/webpack.d.cts +1 -1
- package/dist/lib/build/webpack.d.ts +1 -1
- package/dist/lib/{chunk-2JWZTFXS.js → chunk-5S2SZ55K.js} +4 -4
- package/dist/lib/{chunk-2JWZTFXS.js.map → chunk-5S2SZ55K.js.map} +1 -1
- package/dist/lib/{chunk-O3ZBMF6Z.cjs → chunk-643UR4H5.cjs} +6 -6
- package/dist/lib/{chunk-O3ZBMF6Z.cjs.map → chunk-643UR4H5.cjs.map} +1 -1
- package/dist/lib/{chunk-I66U3XHM.js → chunk-6OPCSOQS.js} +3 -5
- package/dist/lib/chunk-6OPCSOQS.js.map +1 -0
- package/dist/lib/{chunk-HFM5IVGD.cjs → chunk-7ZFN37TZ.cjs} +6 -6
- package/dist/lib/chunk-7ZFN37TZ.cjs.map +1 -0
- package/dist/lib/{chunk-LLWUZWXK.js → chunk-AN5ZE52X.js} +42 -39
- package/dist/lib/chunk-AN5ZE52X.js.map +1 -0
- package/dist/lib/{chunk-PNVVTXLD.cjs → chunk-CJ3AOQLZ.cjs} +4 -4
- package/dist/lib/{chunk-PNVVTXLD.cjs.map → chunk-CJ3AOQLZ.cjs.map} +1 -1
- package/dist/lib/{chunk-JF4ZEC67.cjs → chunk-FEDWFZCN.cjs} +19 -19
- package/dist/lib/{chunk-JF4ZEC67.cjs.map → chunk-FEDWFZCN.cjs.map} +1 -1
- package/dist/lib/{chunk-N37JIOZ4.js → chunk-HZTJTO26.js} +22 -31
- package/dist/lib/chunk-HZTJTO26.js.map +1 -0
- package/dist/lib/{chunk-UOVILPP5.cjs → chunk-K2432VDS.cjs} +4 -4
- package/dist/lib/{chunk-UOVILPP5.cjs.map → chunk-K2432VDS.cjs.map} +1 -1
- package/dist/lib/{chunk-DW3OHFKB.js → chunk-MKA52KRJ.js} +3 -3
- package/dist/lib/{chunk-DW3OHFKB.js.map → chunk-MKA52KRJ.js.map} +1 -1
- package/dist/lib/{chunk-37ISVVSL.js → chunk-MRFCJ22H.js} +3 -3
- package/dist/lib/{chunk-37ISVVSL.js.map → chunk-MRFCJ22H.js.map} +1 -1
- package/dist/lib/{chunk-Y36HVRRL.cjs → chunk-O6X6DQOP.cjs} +21 -31
- package/dist/lib/chunk-O6X6DQOP.cjs.map +1 -0
- package/dist/lib/{chunk-ZK2C72JS.js → chunk-OFS5VLIU.js} +3 -3
- package/dist/lib/{chunk-ZK2C72JS.js.map → chunk-OFS5VLIU.js.map} +1 -1
- package/dist/lib/{chunk-7D4ANVQ3.js → chunk-P7Z77YMX.js} +3 -3
- package/dist/lib/{chunk-7D4ANVQ3.js.map → chunk-P7Z77YMX.js.map} +1 -1
- package/dist/lib/{chunk-L3OTKQT7.cjs → chunk-PX4HYK7X.cjs} +4 -4
- package/dist/lib/{chunk-L3OTKQT7.cjs.map → chunk-PX4HYK7X.cjs.map} +1 -1
- package/dist/lib/{chunk-DNSJN2LL.js → chunk-RP4KHKZQ.js} +3 -3
- package/dist/lib/{chunk-DNSJN2LL.js.map → chunk-RP4KHKZQ.js.map} +1 -1
- package/dist/lib/{chunk-U7XNN2N5.cjs → chunk-RUZCLCCT.cjs} +53 -50
- package/dist/lib/chunk-RUZCLCCT.cjs.map +1 -0
- package/dist/lib/{chunk-YZNE7GOJ.cjs → chunk-VKFZWKAX.cjs} +4 -4
- package/dist/lib/{chunk-YZNE7GOJ.cjs.map → chunk-VKFZWKAX.cjs.map} +1 -1
- package/dist/lib/{chunk-47ELJR3Z.cjs → chunk-VLZBQSDN.cjs} +3 -5
- package/dist/lib/chunk-VLZBQSDN.cjs.map +1 -0
- package/dist/lib/{chunk-X6CZ2G2G.js → chunk-WKVQSAKR.js} +3 -3
- package/dist/lib/{chunk-X6CZ2G2G.js.map → chunk-WKVQSAKR.js.map} +1 -1
- package/dist/lib/{chunk-HX5UF7YV.js → chunk-XTO4JEOR.js} +4 -4
- package/dist/lib/chunk-XTO4JEOR.js.map +1 -0
- package/dist/lib/{chunk-QTOV3SHA.cjs → chunk-YSAYMPBB.cjs} +4 -4
- package/dist/lib/{chunk-QTOV3SHA.cjs.map → chunk-YSAYMPBB.cjs.map} +1 -1
- package/dist/lib/{config-D7uVz_j9.d.cts → config-BdpnZ9Jp.d.cts} +3 -3
- package/dist/lib/{config-B7VlKFtE.d.ts → config-DxhCES5f.d.ts} +3 -3
- package/dist/lib/config-file.d.cts +1 -1
- package/dist/lib/config-file.d.ts +1 -1
- package/dist/lib/contexts/api-context.cjs +5 -5
- package/dist/lib/contexts/api-context.d.cts +2 -2
- package/dist/lib/contexts/api-context.d.ts +2 -2
- package/dist/lib/contexts/api-context.js +4 -4
- package/dist/lib/contexts/context.cjs +3 -3
- package/dist/lib/contexts/context.d.cts +2 -2
- package/dist/lib/contexts/context.d.ts +2 -2
- 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 +2 -2
- package/dist/lib/contexts/environment-context.d.ts +2 -2
- package/dist/lib/contexts/environment-context.js +3 -3
- package/dist/lib/contexts/index.cjs +7 -7
- package/dist/lib/contexts/index.d.cts +2 -2
- package/dist/lib/contexts/index.d.ts +2 -2
- package/dist/lib/contexts/index.js +4 -4
- package/dist/lib/contexts/plugin-context.d.cts +2 -2
- package/dist/lib/contexts/plugin-context.d.ts +2 -2
- package/dist/lib/entry.cjs +10 -14
- package/dist/lib/entry.d.cts +2 -9
- package/dist/lib/entry.d.ts +2 -9
- package/dist/lib/entry.js +1 -1
- package/dist/lib/fs/index.d.cts +1 -1
- package/dist/lib/fs/index.d.ts +1 -1
- package/dist/lib/fs/vfs.d.cts +1 -1
- package/dist/lib/fs/vfs.d.ts +1 -1
- package/dist/lib/index.cjs +23 -27
- package/dist/lib/index.d.cts +3 -3
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.js +8 -8
- package/dist/lib/{internal-CFBs3Fok.d.cts → internal-CInyirxk.d.cts} +1 -1
- package/dist/lib/{internal-Dlj-vo3a.d.ts → internal-x5TCXE5P.d.ts} +1 -1
- package/dist/lib/logger.d.cts +1 -1
- package/dist/lib/logger.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/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 +1 -1
- package/dist/lib/unplugin/factory.d.ts +1 -1
- 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 +1 -1
- package/dist/lib/unplugin/index.d.ts +1 -1
- package/dist/lib/unplugin/index.js +5 -5
- package/dist/lib/unplugin/plugin.d.cts +1 -1
- package/dist/lib/unplugin/plugin.d.ts +1 -1
- package/dist/lib/utilities/bundle.cjs +4 -4
- package/dist/lib/utilities/bundle.d.cts +1 -1
- package/dist/lib/utilities/bundle.d.ts +1 -1
- package/dist/lib/utilities/bundle.js +3 -3
- 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/format.d.cts +1 -1
- package/dist/lib/utilities/format.d.ts +1 -1
- package/dist/lib/utilities/index.cjs +6 -6
- package/dist/lib/utilities/index.d.cts +1 -1
- package/dist/lib/utilities/index.d.ts +1 -1
- package/dist/lib/utilities/index.js +4 -4
- package/dist/lib/utilities/meta.d.cts +1 -1
- package/dist/lib/utilities/meta.d.ts +1 -1
- package/dist/lib/utilities/resolve.cjs +5 -5
- package/dist/lib/utilities/resolve.d.cts +1 -1
- package/dist/lib/utilities/resolve.d.ts +1 -1
- package/dist/lib/utilities/resolve.js +4 -4
- 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 +4 -4
- package/dist/next.js +3 -3
- package/dist/nuxt.cjs +8 -8
- package/dist/nuxt.d.cts +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/nuxt.js +4 -4
- package/dist/plugin-utils/{context-BtofN7Mm.d.cts → context-Iv5cZYxg.d.cts} +3 -3
- package/dist/plugin-utils/{context-BtofN7Mm.d.ts → context-Iv5cZYxg.d.ts} +3 -3
- 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/rolldown.cjs +6 -6
- package/dist/rolldown.d.cts +1 -1
- package/dist/rolldown.d.ts +1 -1
- package/dist/rolldown.js +3 -3
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.d.cts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/rspack.js +2 -2
- package/dist/tsdown.cjs +4 -4
- package/dist/tsdown.js +3 -3
- package/dist/tsup.cjs +4 -4
- package/dist/tsup.js +3 -3
- package/dist/types/api.d.cts +1 -1
- package/dist/types/api.d.ts +1 -1
- 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 +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/internal.d.cts +1 -1
- package/dist/types/internal.d.ts +1 -1
- 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 +1 -1
- package/dist/types/unplugin.d.ts +1 -1
- package/dist/unloader.cjs +3 -3
- package/dist/unloader.d.cts +1 -1
- package/dist/unloader.d.ts +1 -1
- package/dist/unloader.js +2 -2
- package/dist/unplugin.cjs +8 -8
- package/dist/unplugin.d.cts +1 -1
- package/dist/unplugin.d.ts +1 -1
- package/dist/unplugin.js +4 -4
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +3 -3
- package/package.json +15 -15
- package/dist/chunk-4G7C2OQK.cjs +0 -12
- package/dist/chunk-5YUJKRDM.cjs +0 -12
- package/dist/lib/chunk-47ELJR3Z.cjs.map +0 -1
- package/dist/lib/chunk-HFM5IVGD.cjs.map +0 -1
- package/dist/lib/chunk-HX5UF7YV.js.map +0 -1
- package/dist/lib/chunk-I66U3XHM.js.map +0 -1
- package/dist/lib/chunk-LLWUZWXK.js.map +0 -1
- package/dist/lib/chunk-N37JIOZ4.js.map +0 -1
- package/dist/lib/chunk-U7XNN2N5.cjs.map +0 -1
- package/dist/lib/chunk-Y36HVRRL.cjs.map +0 -1
|
@@ -744,14 +744,14 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
744
744
|
*/
|
|
745
745
|
configFile?: string;
|
|
746
746
|
/**
|
|
747
|
-
* Should the Powerlines
|
|
747
|
+
* Should the Powerlines processes automatically install missing package dependencies?
|
|
748
748
|
*
|
|
749
749
|
* @remarks
|
|
750
|
-
* This
|
|
750
|
+
* When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
|
|
751
751
|
*
|
|
752
752
|
* @defaultValue false
|
|
753
753
|
*/
|
|
754
|
-
|
|
754
|
+
autoInstall?: boolean;
|
|
755
755
|
/**
|
|
756
756
|
* Should the compiler processes skip any improvements that make use of cache?
|
|
757
757
|
*
|
|
@@ -744,14 +744,14 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
744
744
|
*/
|
|
745
745
|
configFile?: string;
|
|
746
746
|
/**
|
|
747
|
-
* Should the Powerlines
|
|
747
|
+
* Should the Powerlines processes automatically install missing package dependencies?
|
|
748
748
|
*
|
|
749
749
|
* @remarks
|
|
750
|
-
* This
|
|
750
|
+
* When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
|
|
751
751
|
*
|
|
752
752
|
* @defaultValue false
|
|
753
753
|
*/
|
|
754
|
-
|
|
754
|
+
autoInstall?: boolean;
|
|
755
755
|
/**
|
|
756
756
|
* Should the compiler processes skip any improvements that make use of cache?
|
|
757
757
|
*
|
package/dist/api.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPJPHDM25_cjs = require('./chunk-PJPHDM25.cjs');
|
|
4
4
|
require('./chunk-B6DVCLP5.cjs');
|
|
5
5
|
require('./chunk-V5WOGN7O.cjs');
|
|
6
6
|
require('./chunk-Z6ARQDHR.cjs');
|
|
@@ -10,7 +10,7 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPJPHDM25_cjs.PowerlinesAPI; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=api.cjs.map
|
|
16
16
|
//# sourceMappingURL=api.cjs.map
|
package/dist/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cy as ResolvedConfig, A as API, ba as APIContext, a6 as InitialUserConfig, ac as PrepareInlineConfig, aa as NewInlineConfig, ab as CleanInlineConfig, ad as BuildInlineConfig, ae as LintInlineConfig, af as DocsInlineConfig, ag as DeployInlineConfig, d7 as CallHookOptions, be as EnvironmentContext, bT as InferHookParameters, bf as PluginContext, bR as InferHookFunction } from './api-
|
|
1
|
+
import { cy as ResolvedConfig, A as API, ba as APIContext, a6 as InitialUserConfig, ac as PrepareInlineConfig, aa as NewInlineConfig, ab as CleanInlineConfig, ad as BuildInlineConfig, ae as LintInlineConfig, af as DocsInlineConfig, ag as DeployInlineConfig, d7 as CallHookOptions, be as EnvironmentContext, bT as InferHookParameters, bf as PluginContext, bR as InferHookFunction } from './api-D-Jj7gBV.cjs';
|
|
2
2
|
import '@stryke/types/base';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cy as ResolvedConfig, A as API, ba as APIContext, a6 as InitialUserConfig, ac as PrepareInlineConfig, aa as NewInlineConfig, ab as CleanInlineConfig, ad as BuildInlineConfig, ae as LintInlineConfig, af as DocsInlineConfig, ag as DeployInlineConfig, d7 as CallHookOptions, be as EnvironmentContext, bT as InferHookParameters, bf as PluginContext, bR as InferHookFunction } from './api-
|
|
1
|
+
import { cy as ResolvedConfig, A as API, ba as APIContext, a6 as InitialUserConfig, ac as PrepareInlineConfig, aa as NewInlineConfig, ab as CleanInlineConfig, ad as BuildInlineConfig, ae as LintInlineConfig, af as DocsInlineConfig, ag as DeployInlineConfig, d7 as CallHookOptions, be as EnvironmentContext, bT as InferHookParameters, bf as PluginContext, bR as InferHookFunction } from './api-V7srJoFm.js';
|
|
2
2
|
import '@stryke/types/base';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
package/dist/api.js
CHANGED
package/dist/astro.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkKPFOSNI2_cjs = require('./chunk-KPFOSNI2.cjs');
|
|
6
6
|
require('./chunk-VBGDN56Q.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-EQ6DXFKF.cjs');
|
|
8
|
+
require('./chunk-PJPHDM25.cjs');
|
|
9
9
|
require('./chunk-B6DVCLP5.cjs');
|
|
10
10
|
require('./chunk-V5WOGN7O.cjs');
|
|
11
11
|
require('./chunk-Z6ARQDHR.cjs');
|
|
@@ -15,7 +15,7 @@ var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
|
15
15
|
var astro = /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((config) => ({
|
|
16
16
|
vite: {
|
|
17
17
|
plugins: [
|
|
18
|
-
|
|
18
|
+
chunkKPFOSNI2_cjs.vite_default(config)
|
|
19
19
|
]
|
|
20
20
|
}
|
|
21
21
|
}), "astro");
|
package/dist/astro.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { cz as ViteResolvedConfig } from './api-
|
|
2
|
+
import { cz as ViteResolvedConfig } from './api-D-Jj7gBV.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
package/dist/astro.d.ts
CHANGED
package/dist/astro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-SLWIUFSS.js';
|
|
2
2
|
import './chunk-FJHS7DAU.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-TFOT7S55.js';
|
|
4
|
+
import './chunk-YTGERWHC.js';
|
|
5
5
|
import './chunk-PQXP7XQK.js';
|
|
6
6
|
import './chunk-NITQ5IYP.js';
|
|
7
7
|
import './chunk-2MYPFASJ.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkEQ6DXFKF_cjs = require('./chunk-EQ6DXFKF.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rolldown = unplugin.createRolldownPlugin(chunkEQ6DXFKF_cjs.createUnpluginFactory("rolldown"));
|
|
7
|
+
var rolldown_default = rolldown;
|
|
8
|
+
|
|
9
|
+
exports.rolldown = rolldown;
|
|
10
|
+
exports.rolldown_default = rolldown_default;
|
|
11
|
+
//# sourceMappingURL=chunk-7SBQHE7O.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-7SBQHE7O.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkVBGDN56Q_cjs = require('./chunk-VBGDN56Q.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkEQ6DXFKF_cjs = require('./chunk-EQ6DXFKF.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var isUndefined = require('@stryke/type-checks/is-undefined');
|
|
7
7
|
var unplugin = require('unplugin');
|
|
8
8
|
|
|
9
|
-
var esbuild = unplugin.createEsbuildPlugin(
|
|
9
|
+
var esbuild = unplugin.createEsbuildPlugin(chunkEQ6DXFKF_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
|
|
10
10
|
return {
|
|
11
11
|
...plugin,
|
|
12
12
|
esbuild: {
|
|
@@ -32,5 +32,5 @@ var esbuild_default = esbuild;
|
|
|
32
32
|
|
|
33
33
|
exports.esbuild = esbuild;
|
|
34
34
|
exports.esbuild_default = esbuild_default;
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-DQSXHHAV.cjs.map
|
|
36
|
+
//# sourceMappingURL=chunk-DQSXHHAV.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPJPHDM25_cjs = require('./chunk-PJPHDM25.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
5
5
|
var types = require('@storm-software/config-tools/types');
|
|
6
6
|
var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
|
|
@@ -27,7 +27,7 @@ chunkPK6SKIKE_cjs.__name(getString, "getString");
|
|
|
27
27
|
// src/lib/unplugin/factory.ts
|
|
28
28
|
function createUnpluginFactory(variant, decorate) {
|
|
29
29
|
return (config, meta) => {
|
|
30
|
-
const log =
|
|
30
|
+
const log = chunkPJPHDM25_cjs.createLog("unplugin", config);
|
|
31
31
|
log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
|
|
32
32
|
try {
|
|
33
33
|
const userConfig = {
|
|
@@ -38,7 +38,7 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
38
38
|
let api;
|
|
39
39
|
async function buildStart() {
|
|
40
40
|
log(types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
|
|
41
|
-
api = await
|
|
41
|
+
api = await chunkPJPHDM25_cjs.PowerlinesAPI.from(getWorkspaceRoot.getWorkspaceRoot(process.cwd()), userConfig);
|
|
42
42
|
unplugin.setParseImpl(api.context.parse);
|
|
43
43
|
log(types.LogLevelLabel.DEBUG, "Preparing build artifacts for the Powerlines project...");
|
|
44
44
|
await api.prepare({
|
|
@@ -137,5 +137,5 @@ chunkPK6SKIKE_cjs.__name(createUnpluginFactory, "createUnpluginFactory");
|
|
|
137
137
|
|
|
138
138
|
exports.createUnpluginFactory = createUnpluginFactory;
|
|
139
139
|
exports.getString = getString;
|
|
140
|
-
//# sourceMappingURL=chunk-
|
|
141
|
-
//# sourceMappingURL=chunk-
|
|
140
|
+
//# sourceMappingURL=chunk-EQ6DXFKF.cjs.map
|
|
141
|
+
//# sourceMappingURL=chunk-EQ6DXFKF.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkVBGDN56Q_cjs = require('./chunk-VBGDN56Q.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkEQ6DXFKF_cjs = require('./chunk-EQ6DXFKF.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var environmentChecks = require('@stryke/env/environment-checks');
|
|
7
7
|
var defu = require('defu');
|
|
@@ -97,7 +97,7 @@ function extractViteConfig(context) {
|
|
|
97
97
|
chunkPK6SKIKE_cjs.__name(extractViteConfig, "extractViteConfig");
|
|
98
98
|
|
|
99
99
|
// src/vite.ts
|
|
100
|
-
var vite = unplugin.createVitePlugin(
|
|
100
|
+
var vite = unplugin.createVitePlugin(chunkEQ6DXFKF_cjs.createUnpluginFactory("vite", (api, plugin) => {
|
|
101
101
|
return {
|
|
102
102
|
...plugin,
|
|
103
103
|
vite: {
|
|
@@ -158,5 +158,5 @@ var vite_default = vite;
|
|
|
158
158
|
|
|
159
159
|
exports.vite = vite;
|
|
160
160
|
exports.vite_default = vite_default;
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
162
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-KPFOSNI2.cjs.map
|
|
162
|
+
//# sourceMappingURL=chunk-KPFOSNI2.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-FJHS7DAU.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-TFOT7S55.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isUndefined } from '@stryke/type-checks/is-undefined';
|
|
5
5
|
import { createEsbuildPlugin } from 'unplugin';
|
|
@@ -29,5 +29,5 @@ var esbuild = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin)
|
|
|
29
29
|
var esbuild_default = esbuild;
|
|
30
30
|
|
|
31
31
|
export { esbuild, esbuild_default };
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-LTMBRWVN.js.map
|
|
33
|
+
//# sourceMappingURL=chunk-LTMBRWVN.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkEQ6DXFKF_cjs = require('./chunk-EQ6DXFKF.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var webpack = unplugin.createWebpackPlugin(chunkEQ6DXFKF_cjs.createUnpluginFactory("webpack"));
|
|
7
|
+
var webpack_default = webpack;
|
|
8
|
+
|
|
9
|
+
exports.webpack = webpack;
|
|
10
|
+
exports.webpack_default = webpack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-NQGIX27E.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-NQGIX27E.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-TFOT7S55.js';
|
|
2
2
|
import { createRolldownPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var rolldown = createRolldownPlugin(createUnpluginFactory("rolldown"));
|
|
5
5
|
var rolldown_default = rolldown;
|
|
6
6
|
|
|
7
7
|
export { rolldown, rolldown_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-O7NHLZPY.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-O7NHLZPY.js.map
|
|
@@ -27,10 +27,11 @@ var chalk5 = require('chalk');
|
|
|
27
27
|
var Handlebars = require('handlebars');
|
|
28
28
|
var helperPluginUtils = require('@babel/helper-plugin-utils');
|
|
29
29
|
var t = require('@babel/types');
|
|
30
|
+
var prettyBytes = require('@stryke/string-format/pretty-bytes');
|
|
31
|
+
var share = require('node_modules/@farmfe/core/dist/utils/share');
|
|
32
|
+
var tsMorph = require('ts-morph');
|
|
30
33
|
var types = require('@storm-software/config-tools/types');
|
|
31
|
-
var ts = require('typescript');
|
|
32
34
|
var defu7 = require('defu');
|
|
33
|
-
var tsMorph = require('ts-morph');
|
|
34
35
|
var _package = require('@stryke/string-format/package');
|
|
35
36
|
var superdiff = require('@donedeal0/superdiff');
|
|
36
37
|
var json = require('@stryke/fs/json');
|
|
@@ -38,6 +39,7 @@ var stormJson = require('@stryke/json/storm-json');
|
|
|
38
39
|
var filePathFns = require('@stryke/path/file-path-fns');
|
|
39
40
|
var titleCase = require('@stryke/string-format/title-case');
|
|
40
41
|
var exists = require('@stryke/fs/exists');
|
|
42
|
+
var ts = require('typescript');
|
|
41
43
|
var getConfig = require('@storm-software/config-tools/get-config');
|
|
42
44
|
var c12 = require('c12');
|
|
43
45
|
var getEnvPaths = require('@stryke/env/get-env-paths');
|
|
@@ -62,7 +64,6 @@ var isFile = require('@stryke/fs/is-file');
|
|
|
62
64
|
var $ = require('@stryke/capnp');
|
|
63
65
|
var buffer = require('@stryke/fs/buffer');
|
|
64
66
|
var isType = require('@stryke/path/is-type');
|
|
65
|
-
var prettyBytes = require('@stryke/string-format/pretty-bytes');
|
|
66
67
|
var isRegexp = require('@stryke/type-checks/is-regexp');
|
|
67
68
|
var buffer$1 = require('buffer');
|
|
68
69
|
var url = require('url');
|
|
@@ -103,13 +104,13 @@ function _interopNamespace(e) {
|
|
|
103
104
|
var chalk5__default = /*#__PURE__*/_interopDefault(chalk5);
|
|
104
105
|
var Handlebars__default = /*#__PURE__*/_interopDefault(Handlebars);
|
|
105
106
|
var t__namespace = /*#__PURE__*/_interopNamespace(t);
|
|
106
|
-
var ts__default = /*#__PURE__*/_interopDefault(ts);
|
|
107
107
|
var defu7__default = /*#__PURE__*/_interopDefault(defu7);
|
|
108
|
+
var ts__default = /*#__PURE__*/_interopDefault(ts);
|
|
108
109
|
var $__namespace = /*#__PURE__*/_interopNamespace($);
|
|
109
110
|
|
|
110
111
|
// package.json
|
|
111
112
|
var name = "powerlines";
|
|
112
|
-
var version = "0.37.
|
|
113
|
+
var version = "0.37.34";
|
|
113
114
|
var package_default = {
|
|
114
115
|
version};
|
|
115
116
|
function resolveModulePath(nodePath, state) {
|
|
@@ -328,7 +329,7 @@ function formatTypes(code) {
|
|
|
328
329
|
}
|
|
329
330
|
chunkPK6SKIKE_cjs.__name(formatTypes, "formatTypes");
|
|
330
331
|
async function emitTypes(context, files) {
|
|
331
|
-
context.
|
|
332
|
+
context.debug(`Running the TypeScript compiler for ${files.length} generated runtime files.`);
|
|
332
333
|
const program = createProgram(context, {
|
|
333
334
|
skipAddingFilesFromTsConfig: true
|
|
334
335
|
});
|
|
@@ -336,34 +337,35 @@ async function emitTypes(context, files) {
|
|
|
336
337
|
const result = program.emitToMemory({
|
|
337
338
|
emitOnlyDtsFiles: true
|
|
338
339
|
});
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
if (
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
340
|
+
const diagnostics = result.getDiagnostics();
|
|
341
|
+
if (diagnostics && diagnostics.length > 0) {
|
|
342
|
+
if (diagnostics.some((d) => d.getCategory() === tsMorph.DiagnosticCategory.Error)) {
|
|
343
|
+
throw new Error(`The Typescript emit process failed while generating built-in types:
|
|
344
|
+
${diagnostics.filter((d) => d.getCategory() === tsMorph.DiagnosticCategory.Error).map((d) => `-${d.getSourceFile() ? `${d.getSourceFile()?.getFilePath()}:` : ""} ${String(d.getMessageText())} (at ${d.getStart()}:${d.getLength()})`).join("\n")}`);
|
|
345
|
+
} else if (diagnostics.some((d) => d.getCategory() === tsMorph.DiagnosticCategory.Warning)) {
|
|
346
|
+
context.warn(`The Typescript emit process completed with warnings while generating built-in types:
|
|
347
|
+
${diagnostics.filter((d) => d.getCategory() === tsMorph.DiagnosticCategory.Warning).map((d) => `-${d.getSourceFile() ? `${d.getSourceFile()?.getFilePath()}:` : ""} ${String(d.getMessageText())} (at ${d.getStart()}:${d.getLength()})`).join("\n")}`);
|
|
348
|
+
} else {
|
|
349
|
+
context.debug(`The Typescript emit process completed with diagnostic messages while generating built-in types:
|
|
350
|
+
${diagnostics.map((d) => `-${d.getSourceFile() ? `${d.getSourceFile()?.getFilePath()}:` : ""} ${String(d.getMessageText())} (at ${d.getStart()}:${d.getLength()})`).join("\n")}`);
|
|
350
351
|
}
|
|
351
352
|
}
|
|
352
|
-
const
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
353
|
+
const emittedFiles = result.getFiles();
|
|
354
|
+
context.debug(`The TypeScript compiler emitted ${emittedFiles.length} files for built-in types.`);
|
|
355
|
+
let builtinModules = "";
|
|
356
|
+
for (const emittedFile of emittedFiles) {
|
|
357
|
+
if (!emittedFile.filePath.endsWith(".map")) {
|
|
358
|
+
context.trace(`Processing emitted built-in types file: ${emittedFile.filePath}`);
|
|
359
|
+
builtinModules += `
|
|
360
|
+
declare module "${replace.replaceExtension(replace.replacePath(emittedFile.filePath, context.builtinsPath))}" {
|
|
361
|
+
${emittedFile.text.trim().replace(/^\s*export\s*declare\s*/gm, "export ").replace(/^\s*declare\s*/gm, "")}
|
|
362
|
+
}
|
|
363
|
+
`;
|
|
358
364
|
}
|
|
359
|
-
});
|
|
360
|
-
const diagnosticMessage = diagnosticMessages.join("\n");
|
|
361
|
-
if (diagnosticMessage) {
|
|
362
|
-
throw new Error(`TypeScript compilation failed:
|
|
363
|
-
|
|
364
|
-
${diagnosticMessage.length > 5e3 ? `${diagnosticMessage.slice(0, 5e3)}...` : diagnosticMessage}`);
|
|
365
365
|
}
|
|
366
|
-
|
|
366
|
+
builtinModules = formatTypes(builtinModules);
|
|
367
|
+
context.debug(`A TypeScript declaration file (size: ${prettyBytes.prettyBytes(new Blob(share.toArray(builtinModules)).size)}) emitted for the built-in modules types.`);
|
|
368
|
+
return builtinModules;
|
|
367
369
|
}
|
|
368
370
|
chunkPK6SKIKE_cjs.__name(emitTypes, "emitTypes");
|
|
369
371
|
var mergeResults = defu7.createDefu((obj, key, value) => {
|
|
@@ -448,7 +450,7 @@ async function installPackage(context, packageName, dev = false) {
|
|
|
448
450
|
if (!await packageFns.isPackageListed(_package.getPackageName(packageName), {
|
|
449
451
|
cwd: context.config.projectRoot
|
|
450
452
|
})) {
|
|
451
|
-
if (context.config.
|
|
453
|
+
if (context.config.autoInstall) {
|
|
452
454
|
context.log(types.LogLevelLabel.WARN, `The package "${packageName}" is not installed. It will be installed automatically.`);
|
|
453
455
|
const result = await install.install(packageName, {
|
|
454
456
|
cwd: context.config.projectRoot,
|
|
@@ -459,7 +461,7 @@ async function installPackage(context, packageName, dev = false) {
|
|
|
459
461
|
throw new Error(`An error occurred while installing the package "${packageName}"`);
|
|
460
462
|
}
|
|
461
463
|
} else {
|
|
462
|
-
context.log(types.LogLevelLabel.WARN, `The package "${packageName}" is not installed. Since the "
|
|
464
|
+
context.log(types.LogLevelLabel.WARN, `The package "${packageName}" is not installed. Since the "autoInstall" option is set to false, it will not be installed automatically.`);
|
|
463
465
|
}
|
|
464
466
|
} else if (_package.hasPackageVersion(packageName) && !process.env.POWERLINES_SKIP_VERSION_CHECK) {
|
|
465
467
|
const isMatching = await packageFns.doesPackageMatch(_package.getPackageName(packageName), _package.getPackageVersion(packageName), context.config.projectRoot);
|
|
@@ -971,7 +973,7 @@ function resolveEntriesSync(context, typeDefinitions) {
|
|
|
971
973
|
name: typeDefinition.name
|
|
972
974
|
});
|
|
973
975
|
}
|
|
974
|
-
return
|
|
976
|
+
return context.fs.listSync(filePath).map((file) => resolveEntry(context, {
|
|
975
977
|
file,
|
|
976
978
|
name: typeDefinition.name
|
|
977
979
|
}));
|
|
@@ -2859,7 +2861,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2859
2861
|
tsconfig: config.tsconfig,
|
|
2860
2862
|
tsconfigRaw: config.tsconfigRaw,
|
|
2861
2863
|
skipCache: config.skipCache,
|
|
2862
|
-
|
|
2864
|
+
autoInstall: config.autoInstall,
|
|
2863
2865
|
entry: config.entry,
|
|
2864
2866
|
output: config.output,
|
|
2865
2867
|
plugins: config.plugins,
|
|
@@ -4418,7 +4420,7 @@ var PowerlinesAPI = class _PowerlinesAPI {
|
|
|
4418
4420
|
api,
|
|
4419
4421
|
addPlugin: api.#addPlugin.bind(api)
|
|
4420
4422
|
};
|
|
4421
|
-
api.context.info(`\u{1F50C} The Powerlines v${package_default.version}
|
|
4423
|
+
api.context.info(`\u{1F50C} The Powerlines Engine v${package_default.version} has started`);
|
|
4422
4424
|
for (const plugin of api.context.config.plugins ?? []) {
|
|
4423
4425
|
await api.#addPlugin(plugin);
|
|
4424
4426
|
}
|
|
@@ -4447,7 +4449,7 @@ var PowerlinesAPI = class _PowerlinesAPI {
|
|
|
4447
4449
|
command: "prepare"
|
|
4448
4450
|
}) {
|
|
4449
4451
|
this.context.info(" \u{1F3D7}\uFE0F Preparing the Powerlines project");
|
|
4450
|
-
this.context.debug("
|
|
4452
|
+
this.context.debug(" Aggregating configuration options for the Powerlines project");
|
|
4451
4453
|
await this.context.withInlineConfig(inlineConfig);
|
|
4452
4454
|
await this.#executeEnvironments(async (context) => {
|
|
4453
4455
|
context.debug(`Initializing the processing options for the Powerlines project.`);
|
|
@@ -4461,7 +4463,7 @@ var PowerlinesAPI = class _PowerlinesAPI {
|
|
|
4461
4463
|
order: "normal"
|
|
4462
4464
|
});
|
|
4463
4465
|
context.debug(`The configuration provided ${toArray.toArray(context.config.entry).length} entry point(s), Powerlines has found ${context.entry.length} entry files(s) for the ${context.config.title} project${context.entry.length > 0 && context.entry.length < 10 ? `:
|
|
4464
|
-
${context.entry.map((entry) => `- ${entry.file}${entry.output ? ` -> ${entry.output}` : ""}`).join(" \n")}` : ""}
|
|
4466
|
+
${context.entry.map((entry) => `- ${entry.file}${entry.output ? ` -> ${entry.output}` : ""}`).join(" \n")}` : ""}`);
|
|
4465
4467
|
await resolveTsconfig(context);
|
|
4466
4468
|
await installDependencies(context);
|
|
4467
4469
|
await this.callHook("configResolved", {
|
|
@@ -4633,7 +4635,7 @@ ${formatTypes(types)}
|
|
|
4633
4635
|
await writeMetaFile(context);
|
|
4634
4636
|
context.persistedMeta = context.meta;
|
|
4635
4637
|
});
|
|
4636
|
-
this.context.
|
|
4638
|
+
this.context.debug("\u2714 Powerlines preparation has completed successfully");
|
|
4637
4639
|
}
|
|
4638
4640
|
/**
|
|
4639
4641
|
* Create a new Powerlines project
|
|
@@ -5020,7 +5022,7 @@ Please ensure the value is one of the following:
|
|
|
5020
5022
|
this.context.config.projectRoot
|
|
5021
5023
|
]
|
|
5022
5024
|
});
|
|
5023
|
-
if (!isInstalled && this.context.config.
|
|
5025
|
+
if (!isInstalled && this.context.config.autoInstall) {
|
|
5024
5026
|
this.#context.warn(`The plugin package "${pluginPath}" is not installed. It will be installed automatically.`);
|
|
5025
5027
|
const result = await install.install(pluginPath, {
|
|
5026
5028
|
cwd: this.context.config.projectRoot
|
|
@@ -5072,5 +5074,5 @@ exports.extendLog = extendLog;
|
|
|
5072
5074
|
exports.isUnpluginBuilderVariant = isUnpluginBuilderVariant;
|
|
5073
5075
|
exports.name = name;
|
|
5074
5076
|
exports.version = version;
|
|
5075
|
-
//# sourceMappingURL=chunk-
|
|
5076
|
-
//# sourceMappingURL=chunk-
|
|
5077
|
+
//# sourceMappingURL=chunk-PJPHDM25.cjs.map
|
|
5078
|
+
//# sourceMappingURL=chunk-PJPHDM25.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-TFOT7S55.js';
|
|
2
2
|
import { createWebpackPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var webpack = createWebpackPlugin(createUnpluginFactory("webpack"));
|
|
5
5
|
var webpack_default = webpack;
|
|
6
6
|
|
|
7
7
|
export { webpack, webpack_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-Q65LQVH6.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-Q65LQVH6.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-FJHS7DAU.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-TFOT7S55.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isDevelopmentMode, isTestMode } from '@stryke/env/environment-checks';
|
|
5
5
|
import defu from 'defu';
|
|
@@ -151,5 +151,5 @@ var vite = createVitePlugin(createUnpluginFactory("vite", (api, plugin) => {
|
|
|
151
151
|
var vite_default = vite;
|
|
152
152
|
|
|
153
153
|
export { vite, vite_default };
|
|
154
|
-
//# sourceMappingURL=chunk-
|
|
155
|
-
//# sourceMappingURL=chunk-
|
|
154
|
+
//# sourceMappingURL=chunk-SLWIUFSS.js.map
|
|
155
|
+
//# sourceMappingURL=chunk-SLWIUFSS.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI } from './chunk-YTGERWHC.js';
|
|
2
2
|
import { __name } from './chunk-7QVYU63E.js';
|
|
3
3
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
4
4
|
import { getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
|
|
@@ -134,5 +134,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
134
134
|
__name(createUnpluginFactory, "createUnpluginFactory");
|
|
135
135
|
|
|
136
136
|
export { createUnpluginFactory, getString };
|
|
137
|
-
//# sourceMappingURL=chunk-
|
|
138
|
-
//# sourceMappingURL=chunk-
|
|
137
|
+
//# sourceMappingURL=chunk-TFOT7S55.js.map
|
|
138
|
+
//# sourceMappingURL=chunk-TFOT7S55.js.map
|