powerlines 0.17.0 → 0.18.0
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/plugin-utils/chunk-432MQOUZ.js +21 -0
- package/dist/plugin-utils/{chunk-HRDV3U4S.cjs → chunk-5TL6KEQ5.cjs} +5 -4
- package/dist/plugin-utils/chunk-75UVEMIV.cjs +23 -0
- package/dist/plugin-utils/{chunk-F57OBGVS.js → chunk-IHME6YWJ.js} +1 -1
- package/dist/plugin-utils/{chunk-GRVUSUEO.cjs → chunk-WEIEQXIJ.cjs} +5 -5
- package/dist/plugin-utils/{chunk-FWGYTED4.js → chunk-YDYJAGMP.js} +2 -5
- package/dist/plugin-utils/{config-BvVaLOty.d.cts → config-BR2ZZoaP.d.cts} +2 -1
- package/dist/plugin-utils/{config-BvVaLOty.d.ts → config-BR2ZZoaP.d.ts} +2 -1
- package/dist/plugin-utils/enforce.cjs +14 -0
- package/dist/plugin-utils/enforce.d.cts +32 -0
- package/dist/plugin-utils/enforce.d.ts +32 -0
- package/dist/plugin-utils/enforce.js +5 -0
- package/dist/plugin-utils/extend.cjs +3 -3
- package/dist/plugin-utils/extend.d.cts +1 -1
- package/dist/plugin-utils/extend.d.ts +1 -1
- package/dist/plugin-utils/extend.js +2 -2
- 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.cjs +9 -4
- package/dist/plugin-utils/index.d.cts +2 -1
- package/dist/plugin-utils/index.d.ts +2 -1
- package/dist/plugin-utils/index.js +3 -2
- package/dist/plugin-utils/merge.cjs +2 -2
- package/dist/plugin-utils/merge.d.cts +1 -1
- package/dist/plugin-utils/merge.d.ts +1 -1
- package/dist/plugin-utils/merge.js +1 -1
- package/dist/plugin-utils/paths.d.cts +1 -1
- package/dist/plugin-utils/paths.d.ts +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { extend } from './chunk-IHME6YWJ.js';
|
|
2
|
+
import { __name } from './chunk-SHUYVCID.js';
|
|
3
|
+
|
|
4
|
+
// src/plugin-utils/enforce.ts
|
|
5
|
+
function enforceVariant(plugin, variant) {
|
|
6
|
+
return extend(plugin, {
|
|
7
|
+
config: {
|
|
8
|
+
build: {
|
|
9
|
+
variant
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
configResolved() {
|
|
13
|
+
if (this.config.build.variant !== variant) {
|
|
14
|
+
throw new Error(`A plugin requires the build variant "${variant}", but received "${this.config.build.variant}". Please ensure the \`build.variant\` is set correctly in your configuration.`);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
__name(enforceVariant, "enforceVariant");
|
|
20
|
+
|
|
21
|
+
export { enforceVariant };
|
|
@@ -4,6 +4,10 @@ var chunkMQOW6ENT_cjs = require('./chunk-MQOW6ENT.cjs');
|
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
var defu = require('defu');
|
|
6
6
|
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var defu__default = /*#__PURE__*/_interopDefault(defu);
|
|
10
|
+
|
|
7
11
|
var mergePlugin = defu.createDefu((obj, key, value) => {
|
|
8
12
|
if (chunkMQOW6ENT_cjs.isPluginHook(obj[key]) && chunkMQOW6ENT_cjs.isPluginHook(value)) {
|
|
9
13
|
obj[key] = {
|
|
@@ -14,10 +18,7 @@ var mergePlugin = defu.createDefu((obj, key, value) => {
|
|
|
14
18
|
chunkMQOW6ENT_cjs.getHookHandler(obj[key])(...params),
|
|
15
19
|
chunkMQOW6ENT_cjs.getHookHandler(value)(...params)
|
|
16
20
|
]);
|
|
17
|
-
return resultB && resultA ?
|
|
18
|
-
...resultA,
|
|
19
|
-
...resultB
|
|
20
|
-
] : resultA || resultB;
|
|
21
|
+
return resultB && resultA ? defu__default.default(resultA, resultB) : resultA || resultB;
|
|
21
22
|
}, "handler")
|
|
22
23
|
};
|
|
23
24
|
return true;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkWEIEQXIJ_cjs = require('./chunk-WEIEQXIJ.cjs');
|
|
4
|
+
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
|
+
|
|
6
|
+
// src/plugin-utils/enforce.ts
|
|
7
|
+
function enforceVariant(plugin, variant) {
|
|
8
|
+
return chunkWEIEQXIJ_cjs.extend(plugin, {
|
|
9
|
+
config: {
|
|
10
|
+
build: {
|
|
11
|
+
variant
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
configResolved() {
|
|
15
|
+
if (this.config.build.variant !== variant) {
|
|
16
|
+
throw new Error(`A plugin requires the build variant "${variant}", but received "${this.config.build.variant}". Please ensure the \`build.variant\` is set correctly in your configuration.`);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
chunkUSNT2KNT_cjs.__name(enforceVariant, "enforceVariant");
|
|
22
|
+
|
|
23
|
+
exports.enforceVariant = enforceVariant;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5TL6KEQ5_cjs = require('./chunk-5TL6KEQ5.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
var isFunction = require('@stryke/type-checks/is-function');
|
|
6
6
|
|
|
@@ -10,20 +10,20 @@ function extend(plugin, extension) {
|
|
|
10
10
|
return async (options) => {
|
|
11
11
|
const pluginResult = await Promise.resolve(plugin(options));
|
|
12
12
|
const extensionResult = await Promise.resolve(extension(options));
|
|
13
|
-
return
|
|
13
|
+
return chunk5TL6KEQ5_cjs.merge(extensionResult, pluginResult);
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
return async (options) => {
|
|
17
17
|
const result = await Promise.resolve(plugin(options));
|
|
18
|
-
return
|
|
18
|
+
return chunk5TL6KEQ5_cjs.merge(extension, result);
|
|
19
19
|
};
|
|
20
20
|
} else if (isFunction.isFunction(extension)) {
|
|
21
21
|
return async (options) => {
|
|
22
22
|
const result = await Promise.resolve(extension(options));
|
|
23
|
-
return
|
|
23
|
+
return chunk5TL6KEQ5_cjs.merge(plugin, result);
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
return
|
|
26
|
+
return chunk5TL6KEQ5_cjs.merge(plugin, extension);
|
|
27
27
|
}
|
|
28
28
|
chunkUSNT2KNT_cjs.__name(extend, "extend");
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isPluginHook, getHookHandler } from './chunk-PK6PYFWY.js';
|
|
2
2
|
import { __name } from './chunk-SHUYVCID.js';
|
|
3
|
-
import { createDefu } from 'defu';
|
|
3
|
+
import defu, { createDefu } from 'defu';
|
|
4
4
|
|
|
5
5
|
var mergePlugin = createDefu((obj, key, value) => {
|
|
6
6
|
if (isPluginHook(obj[key]) && isPluginHook(value)) {
|
|
@@ -12,10 +12,7 @@ var mergePlugin = createDefu((obj, key, value) => {
|
|
|
12
12
|
getHookHandler(obj[key])(...params),
|
|
13
13
|
getHookHandler(value)(...params)
|
|
14
14
|
]);
|
|
15
|
-
return resultB && resultA ?
|
|
16
|
-
...resultA,
|
|
17
|
-
...resultB
|
|
18
|
-
] : resultA || resultB;
|
|
15
|
+
return resultB && resultA ? defu(resultA, resultB) : resultA || resultB;
|
|
19
16
|
}, "handler")
|
|
20
17
|
};
|
|
21
18
|
return true;
|
|
@@ -20,6 +20,7 @@ import { PathLike, StatSyncOptions, Stats, RmDirOptions, RmOptions, Mode, MakeDi
|
|
|
20
20
|
import { IUnionFs } from 'unionfs';
|
|
21
21
|
|
|
22
22
|
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
23
|
+
type BuildVariant = UnpluginBuildVariant | "tsup" | "unbuild";
|
|
23
24
|
interface BuildConfig {
|
|
24
25
|
/**
|
|
25
26
|
* The platform to build the project for
|
|
@@ -1308,4 +1309,4 @@ type InlineConfig<TUserConfig extends UserConfig = UserConfig> = Partial<TUserCo
|
|
|
1308
1309
|
command: PowerlinesCommand;
|
|
1309
1310
|
};
|
|
1310
1311
|
|
|
1311
|
-
export type {
|
|
1312
|
+
export type { BuildVariant as B, Context as C, ExternalPluginHookFunctions as E, GenerateTypesResult as G, PluginContext as P, ResolvedConfig as R, Plugin as a, PluginFactory as b, PartialPlugin as c, PartialPluginFactory as d, BasePluginHookFunctions as e, PluginHookFunctions as f, PluginHookObject as g, PluginConfigObject as h, PluginConfigTuple as i, PluginConfig as j, PluginHook as k, EnvironmentConfig as l, EnvironmentResolvedConfig as m };
|
|
@@ -20,6 +20,7 @@ import { PathLike, StatSyncOptions, Stats, RmDirOptions, RmOptions, Mode, MakeDi
|
|
|
20
20
|
import { IUnionFs } from 'unionfs';
|
|
21
21
|
|
|
22
22
|
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
23
|
+
type BuildVariant = UnpluginBuildVariant | "tsup" | "unbuild";
|
|
23
24
|
interface BuildConfig {
|
|
24
25
|
/**
|
|
25
26
|
* The platform to build the project for
|
|
@@ -1308,4 +1309,4 @@ type InlineConfig<TUserConfig extends UserConfig = UserConfig> = Partial<TUserCo
|
|
|
1308
1309
|
command: PowerlinesCommand;
|
|
1309
1310
|
};
|
|
1310
1311
|
|
|
1311
|
-
export type {
|
|
1312
|
+
export type { BuildVariant as B, Context as C, ExternalPluginHookFunctions as E, GenerateTypesResult as G, PluginContext as P, ResolvedConfig as R, Plugin as a, PluginFactory as b, PartialPlugin as c, PartialPluginFactory as d, BasePluginHookFunctions as e, PluginHookFunctions as f, PluginHookObject as g, PluginConfigObject as h, PluginConfigTuple as i, PluginConfig as j, PluginHook as k, EnvironmentConfig as l, EnvironmentResolvedConfig as m };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk75UVEMIV_cjs = require('./chunk-75UVEMIV.cjs');
|
|
4
|
+
require('./chunk-WEIEQXIJ.cjs');
|
|
5
|
+
require('./chunk-5TL6KEQ5.cjs');
|
|
6
|
+
require('./chunk-MQOW6ENT.cjs');
|
|
7
|
+
require('./chunk-USNT2KNT.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "enforceVariant", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunk75UVEMIV_cjs.enforceVariant; }
|
|
14
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './config-BR2ZZoaP.cjs';
|
|
2
|
+
import '@storm-software/build-tools/types';
|
|
3
|
+
import '@storm-software/config-tools/types';
|
|
4
|
+
import '@storm-software/config/types';
|
|
5
|
+
import '@stryke/types/base';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
7
|
+
import '@stryke/types/file';
|
|
8
|
+
import 'vite';
|
|
9
|
+
import '@stryke/env/get-env-paths';
|
|
10
|
+
import '@stryke/types/package-json';
|
|
11
|
+
import 'jiti';
|
|
12
|
+
import 'oxc-parser';
|
|
13
|
+
import 'semver';
|
|
14
|
+
import 'unplugin';
|
|
15
|
+
import '@stryke/types/array';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Enforces a specific build variant for a plugin.
|
|
25
|
+
*
|
|
26
|
+
* @param plugin - The plugin or plugin factory to enforce the build variant on.
|
|
27
|
+
* @param variant - The build variant to enforce.
|
|
28
|
+
* @returns A new plugin or plugin factory that enforces the specified build variant.
|
|
29
|
+
*/
|
|
30
|
+
declare function enforceVariant<TContext extends PluginContext = PluginContext, TBuildVariant extends BuildVariant = BuildVariant>(plugin: Plugin<TContext> | PluginFactory<TContext>, variant: TBuildVariant): Plugin<TContext>;
|
|
31
|
+
|
|
32
|
+
export { enforceVariant };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './config-BR2ZZoaP.js';
|
|
2
|
+
import '@storm-software/build-tools/types';
|
|
3
|
+
import '@storm-software/config-tools/types';
|
|
4
|
+
import '@storm-software/config/types';
|
|
5
|
+
import '@stryke/types/base';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
7
|
+
import '@stryke/types/file';
|
|
8
|
+
import 'vite';
|
|
9
|
+
import '@stryke/env/get-env-paths';
|
|
10
|
+
import '@stryke/types/package-json';
|
|
11
|
+
import 'jiti';
|
|
12
|
+
import 'oxc-parser';
|
|
13
|
+
import 'semver';
|
|
14
|
+
import 'unplugin';
|
|
15
|
+
import '@stryke/types/array';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Enforces a specific build variant for a plugin.
|
|
25
|
+
*
|
|
26
|
+
* @param plugin - The plugin or plugin factory to enforce the build variant on.
|
|
27
|
+
* @param variant - The build variant to enforce.
|
|
28
|
+
* @returns A new plugin or plugin factory that enforces the specified build variant.
|
|
29
|
+
*/
|
|
30
|
+
declare function enforceVariant<TContext extends PluginContext = PluginContext, TBuildVariant extends BuildVariant = BuildVariant>(plugin: Plugin<TContext> | PluginFactory<TContext>, variant: TBuildVariant): Plugin<TContext>;
|
|
31
|
+
|
|
32
|
+
export { enforceVariant };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkWEIEQXIJ_cjs = require('./chunk-WEIEQXIJ.cjs');
|
|
4
|
+
require('./chunk-5TL6KEQ5.cjs');
|
|
5
5
|
require('./chunk-MQOW6ENT.cjs');
|
|
6
6
|
require('./chunk-USNT2KNT.cjs');
|
|
7
7
|
|
|
@@ -9,5 +9,5 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "extend", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkWEIEQXIJ_cjs.extend; }
|
|
13
13
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, b as PluginFactory, c as PartialPlugin, d as PartialPluginFactory } from './config-
|
|
1
|
+
import { P as PluginContext, a as Plugin, b as PluginFactory, c as PartialPlugin, d as PartialPluginFactory } from './config-BR2ZZoaP.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, b as PluginFactory, c as PartialPlugin, d as PartialPluginFactory } from './config-
|
|
1
|
+
import { P as PluginContext, a as Plugin, b as PluginFactory, c as PartialPlugin, d as PartialPluginFactory } from './config-BR2ZZoaP.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext,
|
|
1
|
+
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, C as Context, l as EnvironmentConfig, m as EnvironmentResolvedConfig, G as GenerateTypesResult } from './config-BR2ZZoaP.cjs';
|
|
2
2
|
import * as unplugin from 'unplugin';
|
|
3
3
|
import * as _stryke_types_base from '@stryke/types/base';
|
|
4
4
|
import { AnyFunction } from '@stryke/types/base';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext,
|
|
1
|
+
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, C as Context, l as EnvironmentConfig, m as EnvironmentResolvedConfig, G as GenerateTypesResult } from './config-BR2ZZoaP.js';
|
|
2
2
|
import * as unplugin from 'unplugin';
|
|
3
3
|
import * as _stryke_types_base from '@stryke/types/base';
|
|
4
4
|
import { AnyFunction } from '@stryke/types/base';
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk75UVEMIV_cjs = require('./chunk-75UVEMIV.cjs');
|
|
4
|
+
var chunkWEIEQXIJ_cjs = require('./chunk-WEIEQXIJ.cjs');
|
|
4
5
|
var chunkYKIS7BLU_cjs = require('./chunk-YKIS7BLU.cjs');
|
|
5
|
-
var
|
|
6
|
+
var chunk5TL6KEQ5_cjs = require('./chunk-5TL6KEQ5.cjs');
|
|
6
7
|
var chunkMQOW6ENT_cjs = require('./chunk-MQOW6ENT.cjs');
|
|
7
8
|
var chunk2HFS2OOG_cjs = require('./chunk-2HFS2OOG.cjs');
|
|
8
9
|
require('./chunk-USNT2KNT.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
13
|
+
Object.defineProperty(exports, "enforceVariant", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk75UVEMIV_cjs.enforceVariant; }
|
|
16
|
+
});
|
|
12
17
|
Object.defineProperty(exports, "extend", {
|
|
13
18
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkWEIEQXIJ_cjs.extend; }
|
|
15
20
|
});
|
|
16
21
|
Object.defineProperty(exports, "getConfigPath", {
|
|
17
22
|
enumerable: true,
|
|
@@ -19,7 +24,7 @@ Object.defineProperty(exports, "getConfigPath", {
|
|
|
19
24
|
});
|
|
20
25
|
Object.defineProperty(exports, "merge", {
|
|
21
26
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk5TL6KEQ5_cjs.merge; }
|
|
23
28
|
});
|
|
24
29
|
Object.defineProperty(exports, "addPluginHook", {
|
|
25
30
|
enumerable: true,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
export { enforceVariant } from './enforce.cjs';
|
|
1
2
|
export { extend } from './extend.cjs';
|
|
2
3
|
export { getConfigPath } from './get-config-path.cjs';
|
|
3
4
|
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.cjs';
|
|
4
5
|
export { MergeResult, merge } from './merge.cjs';
|
|
5
6
|
export { replacePathTokens } from './paths.cjs';
|
|
6
|
-
import './config-
|
|
7
|
+
import './config-BR2ZZoaP.cjs';
|
|
7
8
|
import '@storm-software/build-tools/types';
|
|
8
9
|
import '@storm-software/config-tools/types';
|
|
9
10
|
import '@storm-software/config/types';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
export { enforceVariant } from './enforce.js';
|
|
1
2
|
export { extend } from './extend.js';
|
|
2
3
|
export { getConfigPath } from './get-config-path.js';
|
|
3
4
|
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.js';
|
|
4
5
|
export { MergeResult, merge } from './merge.js';
|
|
5
6
|
export { replacePathTokens } from './paths.js';
|
|
6
|
-
import './config-
|
|
7
|
+
import './config-BR2ZZoaP.js';
|
|
7
8
|
import '@storm-software/build-tools/types';
|
|
8
9
|
import '@storm-software/config-tools/types';
|
|
9
10
|
import '@storm-software/config/types';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { enforceVariant } from './chunk-432MQOUZ.js';
|
|
2
|
+
export { extend } from './chunk-IHME6YWJ.js';
|
|
2
3
|
export { getConfigPath } from './chunk-HHFA3IEZ.js';
|
|
3
|
-
export { merge } from './chunk-
|
|
4
|
+
export { merge } from './chunk-YDYJAGMP.js';
|
|
4
5
|
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './chunk-PK6PYFWY.js';
|
|
5
6
|
export { replacePathTokens } from './chunk-CVZA2RT3.js';
|
|
6
7
|
import './chunk-SHUYVCID.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5TL6KEQ5_cjs = require('./chunk-5TL6KEQ5.cjs');
|
|
4
4
|
require('./chunk-MQOW6ENT.cjs');
|
|
5
5
|
require('./chunk-USNT2KNT.cjs');
|
|
6
6
|
|
|
@@ -8,5 +8,5 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "merge", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk5TL6KEQ5_cjs.merge; }
|
|
12
12
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-
|
|
1
|
+
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-BR2ZZoaP.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-
|
|
1
|
+
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-BR2ZZoaP.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
-
import { C as Context } from './config-
|
|
2
|
+
import { C as Context } from './config-BR2ZZoaP.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
-
import { C as Context } from './config-
|
|
2
|
+
import { C as Context } from './config-BR2ZZoaP.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerlines",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The \"any framework\" framework that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.",
|
|
6
6
|
"repository": {
|
|
@@ -535,5 +535,5 @@
|
|
|
535
535
|
"typescript": "^5.9.3"
|
|
536
536
|
},
|
|
537
537
|
"publishConfig": { "access": "public" },
|
|
538
|
-
"gitHead": "
|
|
538
|
+
"gitHead": "4af65138db7b5c7ccdbe493661f60c2a09ee1354"
|
|
539
539
|
}
|