powerlines 0.36.22 → 0.36.24
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-DF6OX-CP.d.ts → api-DpWSpwpF.d.ts} +1 -1
- package/dist/{api-CKsoNfIi.d.cts → api-N_vxh61N.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 +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-4YZZZ76B.cjs +12 -0
- package/dist/{chunk-PONG5D7V.js → chunk-A42QONGV.js} +3 -3
- package/dist/{chunk-V3433RRZ.js → chunk-DIXXAXEC.js} +3 -3
- package/dist/chunk-DIYWNVH6.cjs +12 -0
- package/dist/{chunk-L2PNHKJM.js → chunk-EXY3RCJH.js} +2 -2
- package/dist/{chunk-NIWBFUD2.js → chunk-G6FXWWCK.js} +3 -3
- package/dist/{chunk-GJ2LG4DD.js → chunk-LSRYGX7V.js} +3 -3
- package/dist/{chunk-POZHPFH4.js → chunk-MP6EXEZ3.js} +45 -7
- package/dist/{chunk-NCEMQXI7.cjs → chunk-MYNL7MRH.cjs} +4 -4
- package/dist/{chunk-O2ASVIMW.js → chunk-PZ5LJOMU.js} +3 -3
- package/dist/{chunk-BYE57MON.cjs → chunk-Q2IEO3ZW.cjs} +45 -7
- package/dist/{chunk-2XBYBJR5.cjs → chunk-SAVBNMWQ.cjs} +4 -4
- package/dist/{chunk-PGF6BCY7.cjs → chunk-TP4FRF4H.cjs} +2 -2
- package/dist/{chunk-CY2P2DU6.cjs → chunk-ZBDGZ7QG.cjs} +5 -5
- package/dist/{context-BjkbWSEi.d.cts → context-bJmSqotS.d.cts} +30 -5
- package/dist/{context-D3mOE_yR.d.ts → context-vT1NL0QB.d.ts} +30 -5
- 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 +12 -12
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/lib/{api-U9jjf5ZI.d.ts → api-BpxWBxyN.d.ts} +1 -1
- package/dist/lib/{api-tl-yvTre.d.cts → api-DuKKNbVT.d.cts} +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/tsdown.d.cts +1 -1
- package/dist/lib/build/tsdown.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-E76ZBTKK.cjs → chunk-HE2IFXW4.cjs} +46 -8
- package/dist/lib/chunk-HE2IFXW4.cjs.map +1 -0
- package/dist/lib/{chunk-YQHAXICU.cjs → chunk-IJ5YZSJO.cjs} +14 -14
- package/dist/lib/{chunk-YQHAXICU.cjs.map → chunk-IJ5YZSJO.cjs.map} +1 -1
- package/dist/lib/{chunk-AD7VZMXQ.js → chunk-RZ4LXAZQ.js} +4 -4
- package/dist/lib/{chunk-AD7VZMXQ.js.map → chunk-RZ4LXAZQ.js.map} +1 -1
- package/dist/lib/{chunk-5UUCSS3L.js → chunk-TGIY7Q6N.js} +4 -4
- package/dist/lib/{chunk-5UUCSS3L.js.map → chunk-TGIY7Q6N.js.map} +1 -1
- package/dist/lib/{chunk-INNJR7XT.js → chunk-UNJET22R.js} +46 -8
- package/dist/lib/chunk-UNJET22R.js.map +1 -0
- package/dist/lib/{chunk-7WJ27SD3.js → chunk-WF65LEKW.js} +3 -3
- package/dist/lib/{chunk-7WJ27SD3.js.map → chunk-WF65LEKW.js.map} +1 -1
- package/dist/lib/{chunk-X3KPKVM3.cjs → chunk-Z64F7URT.cjs} +6 -6
- package/dist/lib/{chunk-X3KPKVM3.cjs.map → chunk-Z64F7URT.cjs.map} +1 -1
- package/dist/lib/{chunk-I6JH6KU3.cjs → chunk-ZBC4D6BA.cjs} +16 -16
- package/dist/lib/{chunk-I6JH6KU3.cjs.map → chunk-ZBC4D6BA.cjs.map} +1 -1
- package/dist/lib/{config-BJy0qydr.d.ts → config-B-3g4vlp.d.ts} +28 -4
- package/dist/lib/{config-D2hB4lan.d.cts → config-BaPuSNy_.d.cts} +28 -4
- 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 +4 -4
- 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 +3 -3
- package/dist/lib/contexts/context.cjs +2 -2
- package/dist/lib/contexts/context.d.cts +22 -6
- package/dist/lib/contexts/context.d.ts +22 -6
- package/dist/lib/contexts/context.js +1 -1
- package/dist/lib/contexts/environment-context.cjs +3 -3
- 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 +2 -2
- package/dist/lib/contexts/index.cjs +6 -6
- package/dist/lib/contexts/index.d.cts +3 -3
- package/dist/lib/contexts/index.d.ts +3 -3
- package/dist/lib/contexts/index.js +3 -3
- 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/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 +8 -8
- package/dist/lib/index.d.cts +4 -4
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +4 -4
- package/dist/lib/{internal-CksJ16ez.d.ts → internal-8-kuDx9k.d.ts} +2 -2
- package/dist/lib/{internal-V6kgm5vH.d.cts → internal-Dvez9bHr.d.cts} +2 -2
- 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 +5 -5
- package/dist/lib/unplugin/factory.d.cts +3 -3
- package/dist/lib/unplugin/factory.d.ts +3 -3
- package/dist/lib/unplugin/factory.js +4 -4
- package/dist/lib/unplugin/helpers.d.cts +1 -1
- package/dist/lib/unplugin/helpers.d.ts +1 -1
- package/dist/lib/unplugin/index.cjs +5 -5
- package/dist/lib/unplugin/index.d.cts +3 -3
- package/dist/lib/unplugin/index.d.ts +3 -3
- package/dist/lib/unplugin/index.js +4 -4
- package/dist/lib/unplugin/plugin.d.cts +3 -3
- package/dist/lib/unplugin/plugin.d.ts +3 -3
- package/dist/lib/{unplugin-I8HmDBMG.d.ts → unplugin-CAhjFZ9E.d.ts} +2 -2
- package/dist/lib/{unplugin-C4u6D9M3.d.cts → unplugin-Ckt_H0y0.d.cts} +2 -2
- 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.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 +4 -4
- package/dist/next.js +3 -3
- package/dist/nuxt.cjs +7 -7
- package/dist/nuxt.d.cts +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/nuxt.js +5 -5
- package/dist/plugin-utils/{context-BLMhhC0A.d.cts → context-DV64LM07.d.cts} +27 -3
- package/dist/plugin-utils/{context-BLMhhC0A.d.ts → context-DV64LM07.d.ts} +27 -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 +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.cjs +2 -2
- package/dist/types/context.d.cts +1 -1
- package/dist/types/context.d.ts +1 -1
- package/dist/types/context.js +1 -1
- package/dist/types/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.cjs +2 -2
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +1 -1
- 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 +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 +5 -5
- package/dist/unplugin.d.cts +2 -2
- package/dist/unplugin.d.ts +2 -2
- package/dist/unplugin.js +3 -3
- 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 +22 -22
- package/dist/chunk-WGXJ6LPR.cjs +0 -12
- package/dist/chunk-ZDOLHPJF.cjs +0 -12
- package/dist/lib/chunk-E76ZBTKK.cjs.map +0 -1
- package/dist/lib/chunk-INNJR7XT.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaybePromise } from '@stryke/types/base';
|
|
2
|
-
import { b0 as SelectHooksOptions,
|
|
2
|
+
import { b0 as SelectHooksOptions, cB as ResolvedConfig, b8 as APIContext, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bE as HookKeys, bc as PluginContext, bb as EnvironmentContext, bL as InferHookParameters, bK as InferHookReturnType } from './context-vT1NL0QB.js';
|
|
3
3
|
|
|
4
4
|
type CallHookOptions = SelectHooksOptions & (({
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaybePromise } from '@stryke/types/base';
|
|
2
|
-
import { b0 as SelectHooksOptions,
|
|
2
|
+
import { b0 as SelectHooksOptions, cB as ResolvedConfig, b8 as APIContext, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bE as HookKeys, bc as PluginContext, bb as EnvironmentContext, bL as InferHookParameters, bK as InferHookReturnType } from './context-bJmSqotS.cjs';
|
|
3
3
|
|
|
4
4
|
type CallHookOptions = SelectHooksOptions & (({
|
|
5
5
|
/**
|
package/dist/api.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQ2IEO3ZW_cjs = require('./chunk-Q2IEO3ZW.cjs');
|
|
4
4
|
require('./chunk-ZCMOAOQN.cjs');
|
|
5
5
|
require('./chunk-XOMY3USD.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 chunkQ2IEO3ZW_cjs.PowerlinesAPI; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=api.cjs.map
|
|
16
16
|
//# sourceMappingURL=api.cjs.map
|
package/dist/api.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as API, C as CallHookOptions } from './api-
|
|
2
|
-
import {
|
|
1
|
+
import { A as API, C as CallHookOptions } from './api-N_vxh61N.cjs';
|
|
2
|
+
import { cB as ResolvedConfig, b8 as APIContext, a4 as InitialUserConfig, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bE as HookKeys, bc as PluginContext, bb as EnvironmentContext, bL as InferHookParameters, bK as InferHookReturnType } from './context-bJmSqotS.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as API, C as CallHookOptions } from './api-
|
|
2
|
-
import {
|
|
1
|
+
import { A as API, C as CallHookOptions } from './api-DpWSpwpF.js';
|
|
2
|
+
import { cB as ResolvedConfig, b8 as APIContext, a4 as InitialUserConfig, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bE as HookKeys, bc as PluginContext, bb as EnvironmentContext, bL as InferHookParameters, bK as InferHookReturnType } from './context-vT1NL0QB.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
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 chunkMYNL7MRH_cjs = require('./chunk-MYNL7MRH.cjs');
|
|
6
6
|
require('./chunk-QHEKB7RW.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-ZBDGZ7QG.cjs');
|
|
8
|
+
require('./chunk-Q2IEO3ZW.cjs');
|
|
9
9
|
require('./chunk-ZCMOAOQN.cjs');
|
|
10
10
|
require('./chunk-XOMY3USD.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
|
+
chunkMYNL7MRH_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 {
|
|
2
|
+
import { cC as ViteResolvedConfig } from './context-bJmSqotS.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|
package/dist/astro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import {
|
|
2
|
+
import { cC as ViteResolvedConfig } from './context-vT1NL0QB.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|
package/dist/astro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-A42QONGV.js';
|
|
2
2
|
import './chunk-YJWTNJQF.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-PZ5LJOMU.js';
|
|
4
|
+
import './chunk-MP6EXEZ3.js';
|
|
5
5
|
import './chunk-AJPO5EP7.js';
|
|
6
6
|
import './chunk-U2RJRKLT.js';
|
|
7
7
|
import './chunk-2MYPFASJ.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkZBDGZ7QG_cjs = require('./chunk-ZBDGZ7QG.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rolldown = unplugin.createRolldownPlugin(chunkZBDGZ7QG_cjs.createUnpluginFactory("rolldown"));
|
|
7
|
+
var rolldown_default = rolldown;
|
|
8
|
+
|
|
9
|
+
exports.rolldown = rolldown;
|
|
10
|
+
exports.rolldown_default = rolldown_default;
|
|
11
|
+
//# sourceMappingURL=chunk-4YZZZ76B.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-4YZZZ76B.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-YJWTNJQF.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-PZ5LJOMU.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-A42QONGV.js.map
|
|
155
|
+
//# sourceMappingURL=chunk-A42QONGV.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-PZ5LJOMU.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-DIXXAXEC.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-DIXXAXEC.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkZBDGZ7QG_cjs = require('./chunk-ZBDGZ7QG.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var webpack = unplugin.createWebpackPlugin(chunkZBDGZ7QG_cjs.createUnpluginFactory("webpack"));
|
|
7
|
+
var webpack_default = webpack;
|
|
8
|
+
|
|
9
|
+
exports.webpack = webpack;
|
|
10
|
+
exports.webpack_default = webpack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-DIYWNVH6.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-DIYWNVH6.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-YJWTNJQF.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-PZ5LJOMU.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-G6FXWWCK.js.map
|
|
33
|
+
//# sourceMappingURL=chunk-G6FXWWCK.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-PZ5LJOMU.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-LSRYGX7V.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-LSRYGX7V.js.map
|
|
@@ -3203,6 +3203,44 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3203
3203
|
}));
|
|
3204
3204
|
}
|
|
3205
3205
|
/**
|
|
3206
|
+
* Resolves a file and writes it to the VFS if it does not already exist
|
|
3207
|
+
*
|
|
3208
|
+
* @param code - The source code of the file
|
|
3209
|
+
* @param path - The path to write the file to
|
|
3210
|
+
* @param options - Additional options for writing the file
|
|
3211
|
+
*/
|
|
3212
|
+
async emit(code, path, options = {}) {
|
|
3213
|
+
if (isFunction(this.emitFile) && options.emitWithBundler) {
|
|
3214
|
+
return this.emitFile({
|
|
3215
|
+
needsCodeReference: options.needsCodeReference,
|
|
3216
|
+
originalFileName: options.originalFileName,
|
|
3217
|
+
fileName: path,
|
|
3218
|
+
source: code,
|
|
3219
|
+
type: "asset"
|
|
3220
|
+
});
|
|
3221
|
+
}
|
|
3222
|
+
return this.fs.write(path, code, options);
|
|
3223
|
+
}
|
|
3224
|
+
/**
|
|
3225
|
+
* Synchronously resolves a file and writes it to the VFS if it does not already exist
|
|
3226
|
+
*
|
|
3227
|
+
* @param code - The source code of the file
|
|
3228
|
+
* @param path - The path to write the file to
|
|
3229
|
+
* @param options - Additional options for writing the file
|
|
3230
|
+
*/
|
|
3231
|
+
emitSync(code, path, options = {}) {
|
|
3232
|
+
if (isFunction(this.emitFile) && options.emitWithBundler) {
|
|
3233
|
+
return this.emitFile({
|
|
3234
|
+
needsCodeReference: options.needsCodeReference,
|
|
3235
|
+
originalFileName: options.originalFileName,
|
|
3236
|
+
fileName: path,
|
|
3237
|
+
source: code,
|
|
3238
|
+
type: "asset"
|
|
3239
|
+
});
|
|
3240
|
+
}
|
|
3241
|
+
return this.fs.writeSync(path, code, options);
|
|
3242
|
+
}
|
|
3243
|
+
/**
|
|
3206
3244
|
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
3207
3245
|
*
|
|
3208
3246
|
* @param code - The source code of the entry file
|
|
@@ -3218,7 +3256,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3218
3256
|
input: options.input,
|
|
3219
3257
|
output: options.output
|
|
3220
3258
|
});
|
|
3221
|
-
return this.
|
|
3259
|
+
return this.emit(entryPath, code, defu7(omit(options, [
|
|
3222
3260
|
"name"
|
|
3223
3261
|
]), {
|
|
3224
3262
|
meta: {
|
|
@@ -3248,7 +3286,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3248
3286
|
input: options?.input,
|
|
3249
3287
|
output: options?.output
|
|
3250
3288
|
});
|
|
3251
|
-
return this.
|
|
3289
|
+
return this.emitSync(entryPath, code, defu7(omit(options, [
|
|
3252
3290
|
"name"
|
|
3253
3291
|
]), {
|
|
3254
3292
|
meta: {
|
|
@@ -3271,7 +3309,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3271
3309
|
* @param options - Optional write file options
|
|
3272
3310
|
*/
|
|
3273
3311
|
async emitBuiltin(code, id, path, options = {}) {
|
|
3274
|
-
return this.
|
|
3312
|
+
return this.emit(path ? isAbsolute(path) ? path : joinPaths(this.builtinsPath, path) : appendPath(id, this.builtinsPath), code, defu7(options, {
|
|
3275
3313
|
meta: {
|
|
3276
3314
|
type: "builtin"
|
|
3277
3315
|
}
|
|
@@ -3285,8 +3323,8 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3285
3323
|
* @param path - An optional path to write the builtin file to
|
|
3286
3324
|
* @param options - Optional write file options
|
|
3287
3325
|
*/
|
|
3288
|
-
emitBuiltinSync(code, id, path, options) {
|
|
3289
|
-
return this.
|
|
3326
|
+
emitBuiltinSync(code, id, path, options = {}) {
|
|
3327
|
+
return this.emitSync(path ? isAbsolute(path) ? path : joinPaths(this.builtinsPath, path) : appendPath(id, this.builtinsPath), code, defu7(options, {
|
|
3290
3328
|
meta: {
|
|
3291
3329
|
type: "builtin"
|
|
3292
3330
|
}
|
|
@@ -4777,5 +4815,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
4777
4815
|
};
|
|
4778
4816
|
|
|
4779
4817
|
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createLog, extendLog };
|
|
4780
|
-
//# sourceMappingURL=chunk-
|
|
4781
|
-
//# sourceMappingURL=chunk-
|
|
4818
|
+
//# sourceMappingURL=chunk-MP6EXEZ3.js.map
|
|
4819
|
+
//# sourceMappingURL=chunk-MP6EXEZ3.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQHEKB7RW_cjs = require('./chunk-QHEKB7RW.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkZBDGZ7QG_cjs = require('./chunk-ZBDGZ7QG.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(chunkZBDGZ7QG_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-MYNL7MRH.cjs.map
|
|
162
|
+
//# sourceMappingURL=chunk-MYNL7MRH.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI } from './chunk-MP6EXEZ3.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';
|
|
@@ -129,5 +129,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
129
129
|
__name(createUnpluginFactory, "createUnpluginFactory");
|
|
130
130
|
|
|
131
131
|
export { createUnpluginFactory, getString };
|
|
132
|
-
//# sourceMappingURL=chunk-
|
|
133
|
-
//# sourceMappingURL=chunk-
|
|
132
|
+
//# sourceMappingURL=chunk-PZ5LJOMU.js.map
|
|
133
|
+
//# sourceMappingURL=chunk-PZ5LJOMU.js.map
|
|
@@ -3232,6 +3232,44 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3232
3232
|
}));
|
|
3233
3233
|
}
|
|
3234
3234
|
/**
|
|
3235
|
+
* Resolves a file and writes it to the VFS if it does not already exist
|
|
3236
|
+
*
|
|
3237
|
+
* @param code - The source code of the file
|
|
3238
|
+
* @param path - The path to write the file to
|
|
3239
|
+
* @param options - Additional options for writing the file
|
|
3240
|
+
*/
|
|
3241
|
+
async emit(code, path, options = {}) {
|
|
3242
|
+
if (isFunction.isFunction(this.emitFile) && options.emitWithBundler) {
|
|
3243
|
+
return this.emitFile({
|
|
3244
|
+
needsCodeReference: options.needsCodeReference,
|
|
3245
|
+
originalFileName: options.originalFileName,
|
|
3246
|
+
fileName: path,
|
|
3247
|
+
source: code,
|
|
3248
|
+
type: "asset"
|
|
3249
|
+
});
|
|
3250
|
+
}
|
|
3251
|
+
return this.fs.write(path, code, options);
|
|
3252
|
+
}
|
|
3253
|
+
/**
|
|
3254
|
+
* Synchronously resolves a file and writes it to the VFS if it does not already exist
|
|
3255
|
+
*
|
|
3256
|
+
* @param code - The source code of the file
|
|
3257
|
+
* @param path - The path to write the file to
|
|
3258
|
+
* @param options - Additional options for writing the file
|
|
3259
|
+
*/
|
|
3260
|
+
emitSync(code, path, options = {}) {
|
|
3261
|
+
if (isFunction.isFunction(this.emitFile) && options.emitWithBundler) {
|
|
3262
|
+
return this.emitFile({
|
|
3263
|
+
needsCodeReference: options.needsCodeReference,
|
|
3264
|
+
originalFileName: options.originalFileName,
|
|
3265
|
+
fileName: path,
|
|
3266
|
+
source: code,
|
|
3267
|
+
type: "asset"
|
|
3268
|
+
});
|
|
3269
|
+
}
|
|
3270
|
+
return this.fs.writeSync(path, code, options);
|
|
3271
|
+
}
|
|
3272
|
+
/**
|
|
3235
3273
|
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
3236
3274
|
*
|
|
3237
3275
|
* @param code - The source code of the entry file
|
|
@@ -3247,7 +3285,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3247
3285
|
input: options.input,
|
|
3248
3286
|
output: options.output
|
|
3249
3287
|
});
|
|
3250
|
-
return this.
|
|
3288
|
+
return this.emit(entryPath, code, defu7__default.default(omit.omit(options, [
|
|
3251
3289
|
"name"
|
|
3252
3290
|
]), {
|
|
3253
3291
|
meta: {
|
|
@@ -3277,7 +3315,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3277
3315
|
input: options?.input,
|
|
3278
3316
|
output: options?.output
|
|
3279
3317
|
});
|
|
3280
|
-
return this.
|
|
3318
|
+
return this.emitSync(entryPath, code, defu7__default.default(omit.omit(options, [
|
|
3281
3319
|
"name"
|
|
3282
3320
|
]), {
|
|
3283
3321
|
meta: {
|
|
@@ -3300,7 +3338,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3300
3338
|
* @param options - Optional write file options
|
|
3301
3339
|
*/
|
|
3302
3340
|
async emitBuiltin(code, id, path, options = {}) {
|
|
3303
|
-
return this.
|
|
3341
|
+
return this.emit(path ? isType.isAbsolute(path) ? path : join.joinPaths(this.builtinsPath, path) : append.appendPath(id, this.builtinsPath), code, defu7__default.default(options, {
|
|
3304
3342
|
meta: {
|
|
3305
3343
|
type: "builtin"
|
|
3306
3344
|
}
|
|
@@ -3314,8 +3352,8 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3314
3352
|
* @param path - An optional path to write the builtin file to
|
|
3315
3353
|
* @param options - Optional write file options
|
|
3316
3354
|
*/
|
|
3317
|
-
emitBuiltinSync(code, id, path, options) {
|
|
3318
|
-
return this.
|
|
3355
|
+
emitBuiltinSync(code, id, path, options = {}) {
|
|
3356
|
+
return this.emitSync(path ? isType.isAbsolute(path) ? path : join.joinPaths(this.builtinsPath, path) : append.appendPath(id, this.builtinsPath), code, defu7__default.default(options, {
|
|
3319
3357
|
meta: {
|
|
3320
3358
|
type: "builtin"
|
|
3321
3359
|
}
|
|
@@ -4814,5 +4852,5 @@ exports.PowerlinesAPI = PowerlinesAPI;
|
|
|
4814
4852
|
exports._capnpFileId = _capnpFileId;
|
|
4815
4853
|
exports.createLog = createLog;
|
|
4816
4854
|
exports.extendLog = extendLog;
|
|
4817
|
-
//# sourceMappingURL=chunk-
|
|
4818
|
-
//# sourceMappingURL=chunk-
|
|
4855
|
+
//# sourceMappingURL=chunk-Q2IEO3ZW.cjs.map
|
|
4856
|
+
//# sourceMappingURL=chunk-Q2IEO3ZW.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQHEKB7RW_cjs = require('./chunk-QHEKB7RW.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkZBDGZ7QG_cjs = require('./chunk-ZBDGZ7QG.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(chunkZBDGZ7QG_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-SAVBNMWQ.cjs.map
|
|
36
|
+
//# sourceMappingURL=chunk-SAVBNMWQ.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQ2IEO3ZW_cjs = require('./chunk-Q2IEO3ZW.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 = chunkQ2IEO3ZW_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 chunkQ2IEO3ZW_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({
|
|
@@ -132,5 +132,5 @@ chunkPK6SKIKE_cjs.__name(createUnpluginFactory, "createUnpluginFactory");
|
|
|
132
132
|
|
|
133
133
|
exports.createUnpluginFactory = createUnpluginFactory;
|
|
134
134
|
exports.getString = getString;
|
|
135
|
-
//# sourceMappingURL=chunk-
|
|
136
|
-
//# sourceMappingURL=chunk-
|
|
135
|
+
//# sourceMappingURL=chunk-ZBDGZ7QG.cjs.map
|
|
136
|
+
//# sourceMappingURL=chunk-ZBDGZ7QG.cjs.map
|
|
@@ -10,7 +10,7 @@ import { Range } from 'semver';
|
|
|
10
10
|
import { Project } from 'ts-morph';
|
|
11
11
|
import { RequestInfo, Response } from 'undici';
|
|
12
12
|
import { Unimport } from 'unimport';
|
|
13
|
-
import { TransformResult as TransformResult$1, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginMessage,
|
|
13
|
+
import { TransformResult as TransformResult$1, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginMessage, UnpluginBuildContext, UnpluginContext } from 'unplugin';
|
|
14
14
|
import { PluginPass, PluginObj, PluginItem, TransformOptions, transformAsync } from '@babel/core';
|
|
15
15
|
import { Format } from '@storm-software/build-tools/types';
|
|
16
16
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
@@ -1100,10 +1100,18 @@ interface ParseOptions extends ParserOptions {
|
|
|
1100
1100
|
*/
|
|
1101
1101
|
allowReturnOutsideFunction?: boolean;
|
|
1102
1102
|
}
|
|
1103
|
+
interface EmitOptions extends WriteOptions {
|
|
1104
|
+
/**
|
|
1105
|
+
* If true, will emit the file using {@link UnpluginBuildContext.emitFile | the bundler's emit function}.
|
|
1106
|
+
*/
|
|
1107
|
+
emitWithBundler?: boolean;
|
|
1108
|
+
needsCodeReference?: Parameters<UnpluginBuildContext["emitFile"]>[0]["needsCodeReference"];
|
|
1109
|
+
originalFileName?: Parameters<UnpluginBuildContext["emitFile"]>[0]["originalFileName"];
|
|
1110
|
+
}
|
|
1103
1111
|
/**
|
|
1104
1112
|
* Options for emitting entry virtual files
|
|
1105
1113
|
*/
|
|
1106
|
-
type EmitEntryOptions =
|
|
1114
|
+
type EmitEntryOptions = EmitOptions & Omit<ResolvedEntryTypeDefinition, "file">;
|
|
1107
1115
|
/**
|
|
1108
1116
|
* The unresolved Powerlines context.
|
|
1109
1117
|
*
|
|
@@ -1314,6 +1322,22 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1314
1322
|
* The Powerlines builtin virtual files
|
|
1315
1323
|
*/
|
|
1316
1324
|
getBuiltins: () => Promise<VirtualFile[]>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Resolves a file and writes it to the VFS if it does not already exist
|
|
1327
|
+
*
|
|
1328
|
+
* @param code - The source code of the file
|
|
1329
|
+
* @param path - The path to write the file to
|
|
1330
|
+
* @param options - Additional options for writing the file
|
|
1331
|
+
*/
|
|
1332
|
+
emit: (code: string, path: string, options?: EmitOptions) => Promise<void>;
|
|
1333
|
+
/**
|
|
1334
|
+
* Synchronously resolves a file and writes it to the VFS if it does not already exist
|
|
1335
|
+
*
|
|
1336
|
+
* @param code - The source code of the file
|
|
1337
|
+
* @param path - The path to write the file to
|
|
1338
|
+
* @param options - Additional options for writing the file
|
|
1339
|
+
*/
|
|
1340
|
+
emitSync: (code: string, path: string, options?: EmitOptions) => void;
|
|
1317
1341
|
/**
|
|
1318
1342
|
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
1319
1343
|
*
|
|
@@ -1322,7 +1346,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1322
1346
|
* @param path - An optional path to write the builtin file to
|
|
1323
1347
|
* @param options - Additional options for writing the builtin file
|
|
1324
1348
|
*/
|
|
1325
|
-
emitBuiltin: (code: string, id: string, path?: string, options?:
|
|
1349
|
+
emitBuiltin: (code: string, id: string, path?: string, options?: EmitOptions) => Promise<void>;
|
|
1326
1350
|
/**
|
|
1327
1351
|
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
1328
1352
|
*
|
|
@@ -1331,7 +1355,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1331
1355
|
* @param path - An optional path to write the builtin file to
|
|
1332
1356
|
* @param options - Additional options for writing the builtin file
|
|
1333
1357
|
*/
|
|
1334
|
-
emitBuiltinSync: (code: string, id: string, path?: string, options?:
|
|
1358
|
+
emitBuiltinSync: (code: string, id: string, path?: string, options?: EmitOptions) => void;
|
|
1335
1359
|
/**
|
|
1336
1360
|
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
1337
1361
|
*
|
|
@@ -1514,6 +1538,7 @@ declare type __ΩSelectHooksOptions = any[];
|
|
|
1514
1538
|
declare type __ΩInitContextOptions = any[];
|
|
1515
1539
|
declare type __ΩFetchOptions = any[];
|
|
1516
1540
|
declare type __ΩParseOptions = any[];
|
|
1541
|
+
declare type __ΩEmitOptions = any[];
|
|
1517
1542
|
declare type __ΩEmitEntryOptions = any[];
|
|
1518
1543
|
declare type __ΩUnresolvedContext = any[];
|
|
1519
1544
|
declare type __ΩContext = any[];
|
|
@@ -1524,4 +1549,4 @@ declare type __ΩEnvironmentContext = any[];
|
|
|
1524
1549
|
declare type __ΩPluginContext = any[];
|
|
1525
1550
|
declare type __ΩBuildPluginContext = any[];
|
|
1526
1551
|
|
|
1527
|
-
export { type UnbuildUserConfig 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 DeployConfig as H, type ImportDefinition as I, type BaseConfig as J, type EnvironmentConfig as K, type LogFn as L, type CommonUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type WebpackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RspackUserConfig as T, type UserConfig as U, type RollupUserConfig as V, type WorkspaceConfig as W, type RolldownUserConfig as X, type ViteUserConfig as Y, type ESBuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type UnimportContext as a$, type TsupUserConfig as a0, type TsdownUserConfig as a1, type FarmUserConfig as a2, type InferUserConfig as a3, type InitialUserConfig as a4, type ParsedUserConfig as a5, type PowerlinesCommand as a6, type InlineConfig as a7, type NewInlineConfig as a8, type CleanInlineConfig as a9, type __ΩRolldownUserConfig as aA, type __ΩViteUserConfig as aB, type __ΩESBuildUserConfig as aC, type __ΩUnbuildUserConfig as aD, type __ΩTsupUserConfig as aE, type __ΩTsdownUserConfig as aF, type __ΩFarmUserConfig as aG, type __ΩInferUserConfig as aH, type __ΩInitialUserConfig as aI, type __ΩParsedUserConfig as aJ, type __ΩPowerlinesCommand as aK, type __ΩInlineConfig as aL, type __ΩNewInlineConfig as aM, type __ΩCleanInlineConfig as aN, type __ΩPrepareInlineConfig as aO, type __ΩBuildInlineConfig as aP, type __ΩLintInlineConfig as aQ, type __ΩDocsInlineConfig as aR, type __ΩDeployInlineConfig as aS, type __ΩConfigEnv as aT, type __ΩAnyUserConfig as aU, LogLevel as aV, type WorkerProcess as aW, type MetaInfo as aX, type Resolver as aY, type TransformResult as aZ, type SourceFile as a_, type PrepareInlineConfig as aa, type BuildInlineConfig as ab, type LintInlineConfig as ac, type DocsInlineConfig as ad, type DeployInlineConfig as ae, type ConfigEnv as af, type AnyUserConfig as ag, type __ΩLogFn as ah, type __ΩWorkspaceConfig as ai, type __ΩPluginFactory as aj, type __ΩPluginConfigTuple as ak, type __ΩPluginConfigObject as al, type __ΩPluginConfig as am, type __ΩPartialPlugin as an, type __ΩPartialPluginFactory as ao, type __ΩProjectType as ap, type __ΩBabelUserConfig as aq, type __ΩDeployConfig as ar, type __ΩOutputConfig as as, type __ΩBaseConfig as at, type __ΩEnvironmentConfig as au, type __ΩCommonUserConfig as av, type __ΩUserConfig as aw, type __ΩWebpackUserConfig as ax, type __ΩRspackUserConfig as ay, type __ΩRollupUserConfig as az, type BabelTransformPlugin as b, type
|
|
1552
|
+
export { type UnbuildUserConfig 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 DeployConfig as H, type ImportDefinition as I, type BaseConfig as J, type EnvironmentConfig as K, type LogFn as L, type CommonUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type WebpackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RspackUserConfig as T, type UserConfig as U, type RollupUserConfig as V, type WorkspaceConfig as W, type RolldownUserConfig as X, type ViteUserConfig as Y, type ESBuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type UnimportContext as a$, type TsupUserConfig as a0, type TsdownUserConfig as a1, type FarmUserConfig as a2, type InferUserConfig as a3, type InitialUserConfig as a4, type ParsedUserConfig as a5, type PowerlinesCommand as a6, type InlineConfig as a7, type NewInlineConfig as a8, type CleanInlineConfig as a9, type __ΩRolldownUserConfig as aA, type __ΩViteUserConfig as aB, type __ΩESBuildUserConfig as aC, type __ΩUnbuildUserConfig as aD, type __ΩTsupUserConfig as aE, type __ΩTsdownUserConfig as aF, type __ΩFarmUserConfig as aG, type __ΩInferUserConfig as aH, type __ΩInitialUserConfig as aI, type __ΩParsedUserConfig as aJ, type __ΩPowerlinesCommand as aK, type __ΩInlineConfig as aL, type __ΩNewInlineConfig as aM, type __ΩCleanInlineConfig as aN, type __ΩPrepareInlineConfig as aO, type __ΩBuildInlineConfig as aP, type __ΩLintInlineConfig as aQ, type __ΩDocsInlineConfig as aR, type __ΩDeployInlineConfig as aS, type __ΩConfigEnv as aT, type __ΩAnyUserConfig as aU, LogLevel as aV, type WorkerProcess as aW, type MetaInfo as aX, type Resolver as aY, type TransformResult as aZ, type SourceFile as a_, type PrepareInlineConfig as aa, type BuildInlineConfig as ab, type LintInlineConfig as ac, type DocsInlineConfig as ad, type DeployInlineConfig as ae, type ConfigEnv as af, type AnyUserConfig as ag, type __ΩLogFn as ah, type __ΩWorkspaceConfig as ai, type __ΩPluginFactory as aj, type __ΩPluginConfigTuple as ak, type __ΩPluginConfigObject as al, type __ΩPluginConfig as am, type __ΩPartialPlugin as an, type __ΩPartialPluginFactory as ao, type __ΩProjectType as ap, type __ΩBabelUserConfig as aq, type __ΩDeployConfig as ar, type __ΩOutputConfig as as, type __ΩBaseConfig as at, type __ΩEnvironmentConfig as au, type __ΩCommonUserConfig as av, type __ΩUserConfig as aw, type __ΩWebpackUserConfig as ax, type __ΩRspackUserConfig as ay, type __ΩRollupUserConfig as az, type BabelTransformPlugin as b, type PluginHookObject as b$, type SelectHooksOptions as b0, type InitContextOptions as b1, type FetchOptions as b2, type ParseOptions as b3, type EmitOptions as b4, type EmitEntryOptions as b5, type UnresolvedContext as b6, type Context as b7, type APIContext as b8, type EnvironmentContextPlugin as b9, type BaseHookKeys as bA, type ExternalHooks as bB, type ExternalHookKeys as bC, type Hooks as bD, type HookKeys as bE, type BaseHooksListItem as bF, type BaseHooksList as bG, type ExternalHooksListItem as bH, type HooksList as bI, type InferHookHandler as bJ, type InferHookReturnType as bK, type InferHookParameters as bL, type InferHookThisType as bM, type __ΩBaseHooks as bN, type __ΩBaseHookKeys as bO, type __ΩExternalHooks as bP, type __ΩExternalHookKeys as bQ, type __ΩHooks as bR, type __ΩHookKeys as bS, type __ΩBaseHooksListItem as bT, type __ΩBaseHooksList as bU, type __ΩExternalHooksListItem as bV, type __ΩHooksList as bW, type __ΩInferHookHandler as bX, type __ΩInferHookReturnType as bY, type __ΩInferHookParameters as bZ, type __ΩInferHookThisType as b_, type SelectHooksResult as ba, type EnvironmentContext as bb, type PluginContext as bc, type BuildPluginContext as bd, type __ΩLogLevel as be, type __ΩWorkerProcess as bf, type __ΩMetaInfo as bg, type __ΩResolver as bh, type __ΩTransformResult as bi, type __ΩSourceFile as bj, type __ΩUnimportContext as bk, type __ΩSelectHooksOptions as bl, type __ΩInitContextOptions as bm, type __ΩFetchOptions as bn, type __ΩParseOptions as bo, type __ΩEmitOptions as bp, type __ΩEmitEntryOptions as bq, type __ΩUnresolvedContext as br, type __ΩContext as bs, type __ΩAPIContext as bt, type __ΩEnvironmentContextPlugin as bu, type __ΩSelectHooksResult as bv, type __ΩEnvironmentContext as bw, type __ΩPluginContext as bx, type __ΩBuildPluginContext as by, type BaseHooks as bz, type BabelTransformPluginOptions as c, type __ΩUnbuildResolvedConfig as c$, type PluginHook as c0, type TypesResult as c1, type ConfigResult as c2, type BasePluginHookFunctions as c3, type BuildPlugin as c4, type ExternalPluginHookFunctionsVariant as c5, type ExternalPluginHookFunctions as c6, type PluginHookFunctions as c7, type PluginHooks as c8, type PluginBuildPlugins as c9, type OutputResolvedConfig as cA, type ResolvedConfig as cB, type ViteResolvedConfig as cC, type WebpackResolvedConfig as cD, type RspackResolvedConfig as cE, type ESBuildResolvedConfig as cF, type RollupResolvedConfig as cG, type RolldownResolvedConfig as cH, type TsupResolvedConfig as cI, type TsdownResolvedConfig as cJ, type UnbuildResolvedConfig as cK, type FarmResolvedConfig as cL, type InferResolvedConfig as cM, type __ΩResolvedEntryTypeDefinition as cN, type __ΩBabelResolvedConfig as cO, type __ΩEnvironmentResolvedConfig as cP, type __ΩResolvedAssetGlob as cQ, type __ΩOutputResolvedConfig as cR, type __ΩResolvedConfig as cS, type __ΩViteResolvedConfig as cT, type __ΩWebpackResolvedConfig as cU, type __ΩRspackResolvedConfig as cV, type __ΩESBuildResolvedConfig as cW, type __ΩRollupResolvedConfig as cX, type __ΩRolldownResolvedConfig as cY, type __ΩTsupResolvedConfig as cZ, type __ΩTsdownResolvedConfig as c_, type Plugin as ca, PLUGIN_NON_HOOK_FIELDS as cb, type PluginNonHookFields as cc, KNOWN_HOOKS as cd, type KnownHooks as ce, KNOWN_PLUGIN_FIELDS as cf, type KnownPluginFields as cg, type __ΩPluginHookObject as ch, type __ΩPluginHook as ci, type __ΩTypesResult as cj, type __ΩConfigResult as ck, type __ΩBasePluginHookFunctions as cl, type __ΩBuildPlugin as cm, type __ΩExternalPluginHookFunctionsVariant as cn, type __ΩExternalPluginHookFunctions as co, type __ΩPluginHookFunctions as cp, type __ΩPluginHooks as cq, type __ΩPluginBuildPlugins as cr, type __ΩPlugin as cs, type __ΩPluginNonHookFields as ct, type __ΩKnownHooks as cu, type __ΩKnownPluginFields as cv, type ResolvedEntryTypeDefinition as cw, type BabelResolvedConfig as cx, type EnvironmentResolvedConfig as cy, type ResolvedAssetGlob as cz, type BabelTransformInput as d, type __ΩFarmResolvedConfig as d0, type __ΩInferResolvedConfig as d1, 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 };
|