powerlines 0.39.0 → 0.39.2

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.cjs CHANGED
@@ -2,11 +2,11 @@ const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
2
2
  const require_package = require('./powerlines/package.cjs');
3
3
  const require_generate_types = require('./_internal/helpers/generate-types.cjs');
4
4
  const require_helpers = require('./core/src/plugin-utils/helpers.cjs');
5
+ const require_format = require('./core/src/lib/utilities/format.cjs');
5
6
  require('./plugin-utils.cjs');
6
7
  const require_hooks = require('./_internal/helpers/hooks.cjs');
7
8
  const require_install_dependencies = require('./_internal/helpers/install-dependencies.cjs');
8
9
  const require_file_header = require('./core/src/lib/utilities/file-header.cjs');
9
- const require_format = require('./core/src/lib/utilities/format.cjs');
10
10
  require('./utils.cjs');
11
11
  const require_meta = require('./_internal/helpers/meta.cjs');
12
12
  const require_tsconfig = require('./typescript/tsconfig.cjs');
package/dist/esbuild.cjs CHANGED
@@ -24,7 +24,7 @@ __powerlines_plugin_esbuild = require_rolldown_runtime.__toESM(__powerlines_plug
24
24
  *
25
25
  * ```
26
26
  */
27
- const esbuild = (0, unplugin.createEsbuildPlugin)(require_unplugin.createUnpluginFactory("esbuild", (api, plugin$1) => {
27
+ const unplugin$1 = (0, unplugin.createEsbuildPlugin)(require_unplugin.createUnpluginFactory("esbuild", (api, plugin$1) => {
28
28
  return {
29
29
  ...plugin$1,
30
30
  esbuild: {
@@ -40,12 +40,18 @@ const esbuild = (0, unplugin.createEsbuildPlugin)(require_unplugin.createUnplugi
40
40
  }
41
41
  };
42
42
  }));
43
- var esbuild_default = esbuild;
43
+ var esbuild_default = unplugin$1;
44
44
 
45
45
  //#endregion
46
46
  exports.default = esbuild_default;
47
- exports.esbuild = esbuild;
48
- exports["module.exports"] = esbuild;
47
+ Object.defineProperty(exports, 'esbuild', {
48
+ enumerable: true,
49
+ get: function () {
50
+ return __powerlines_plugin_esbuild.default;
51
+ }
52
+ });
53
+ exports["module.exports"] = unplugin$1;
54
+ exports.unplugin = unplugin$1;
49
55
  Object.defineProperty(exports, 'plugin', {
50
56
  enumerable: true,
51
57
  get: function () {
@@ -1,6 +1,6 @@
1
1
  import { EsbuildPluginUserConfig } from "./plugin-esbuild/src/types/plugin.cjs";
2
2
  import * as esbuild0 from "esbuild";
3
- import plugin from "@powerlines/plugin-esbuild";
3
+ import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
4
4
 
5
5
  //#region src/esbuild.d.ts
6
6
 
@@ -20,7 +20,7 @@ import plugin from "@powerlines/plugin-esbuild";
20
20
  *
21
21
  * ```
22
22
  */
23
- declare const esbuild: (options: Partial<EsbuildPluginUserConfig>) => esbuild0.Plugin;
23
+ declare const unplugin: (options: Partial<EsbuildPluginUserConfig>) => esbuild0.Plugin;
24
24
  //#endregion
25
- export { esbuild as default, esbuild, esbuild as "module.exports", plugin };
25
+ export { unplugin as default, unplugin as "module.exports", unplugin, esbuild, plugin };
26
26
  //# sourceMappingURL=esbuild.d.cts.map
@@ -3,6 +3,7 @@ const require_context_helpers = require('./core/src/plugin-utils/context-helpers
3
3
  const require_helpers = require('./core/src/plugin-utils/helpers.cjs');
4
4
  const require_merge = require('./core/src/plugin-utils/merge.cjs');
5
5
  const require_extend = require('./core/src/plugin-utils/extend.cjs');
6
+ const require_format_package_json = require('./core/src/plugin-utils/format-package-json.cjs');
6
7
  const require_get_config_path = require('./core/src/plugin-utils/get-config-path.cjs');
7
8
  const require_modules = require('./core/src/plugin-utils/modules.cjs');
8
9
  const require_paths = require('./core/src/plugin-utils/paths.cjs');
@@ -13,6 +14,7 @@ exports.checkDedupe = require_helpers.checkDedupe;
13
14
  exports.extend = require_extend.extend;
14
15
  exports.extractPluginHook = require_helpers.extractPluginHook;
15
16
  exports.findInvalidPluginConfig = require_helpers.findInvalidPluginConfig;
17
+ exports.formatPackageJson = require_format_package_json.formatPackageJson;
16
18
  exports.getConfigPath = require_get_config_path.getConfigPath;
17
19
  exports.getDependencyConfig = require_build_helpers.getDependencyConfig;
18
20
  exports.getHookHandler = require_helpers.getHookHandler;
@@ -1,9 +1,10 @@
1
1
  import { GetDependencyConfigResult, __ΩGetDependencyConfigResult, getDependencyConfig } from "./core/src/plugin-utils/build-helpers.cjs";
2
2
  import { getOrganizationName, getWorkspaceName } from "./core/src/plugin-utils/context-helpers.cjs";
3
3
  import { extend } from "./core/src/plugin-utils/extend.cjs";
4
+ import { formatPackageJson } from "./core/src/plugin-utils/format-package-json.cjs";
4
5
  import { getConfigPath } from "./core/src/plugin-utils/get-config-path.cjs";
5
6
  import { GetHookHandlerReturnType, __ΩGetHookHandlerReturnType, addPluginHook, checkDedupe, extractPluginHook, findInvalidPluginConfig, getHookHandler, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookField, isPluginHookFunction, isPluginHookObject, isUnpluginHookField, isUnpluginHookKey } from "./core/src/plugin-utils/helpers.cjs";
6
7
  import { MergeResult, __ΩMergeResult, merge, mergeConfig } from "./core/src/plugin-utils/merge.cjs";
7
8
  import { isBuiltinModule } from "./core/src/plugin-utils/modules.cjs";
8
9
  import { replacePathTokens } from "./core/src/plugin-utils/paths.cjs";
9
- export { GetDependencyConfigResult, GetHookHandlerReturnType, MergeResult, __ΩGetDependencyConfigResult, __ΩGetHookHandlerReturnType, __ΩMergeResult, addPluginHook, checkDedupe, extend, extractPluginHook, findInvalidPluginConfig, getConfigPath, getDependencyConfig, getHookHandler, getOrganizationName, getWorkspaceName, isBuiltinModule, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookField, isPluginHookFunction, isPluginHookObject, isUnpluginHookField, isUnpluginHookKey, merge, mergeConfig, replacePathTokens };
10
+ export { GetDependencyConfigResult, GetHookHandlerReturnType, MergeResult, __ΩGetDependencyConfigResult, __ΩGetHookHandlerReturnType, __ΩMergeResult, addPluginHook, checkDedupe, extend, extractPluginHook, findInvalidPluginConfig, formatPackageJson, getConfigPath, getDependencyConfig, getHookHandler, getOrganizationName, getWorkspaceName, isBuiltinModule, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookField, isPluginHookFunction, isPluginHookObject, isUnpluginHookField, isUnpluginHookKey, merge, mergeConfig, replacePathTokens };
package/dist/rolldown.cjs CHANGED
@@ -23,7 +23,7 @@ __powerlines_plugin_rolldown = require_rolldown_runtime.__toESM(__powerlines_plu
23
23
  * })
24
24
  * ```
25
25
  */
26
- const rolldown = (0, unplugin.createRolldownPlugin)(require_unplugin.createUnpluginFactory("rolldown", (api, plugin$1) => {
26
+ const unplugin$1 = (0, unplugin.createRolldownPlugin)(require_unplugin.createUnpluginFactory("rolldown", (api, plugin$1) => {
27
27
  return {
28
28
  ...plugin$1,
29
29
  rolldown: { async options(options) {
@@ -32,15 +32,21 @@ const rolldown = (0, unplugin.createRolldownPlugin)(require_unplugin.createUnplu
32
32
  } }
33
33
  };
34
34
  }));
35
- var rolldown_default = rolldown;
35
+ var rolldown_default = unplugin$1;
36
36
 
37
37
  //#endregion
38
38
  exports.default = rolldown_default;
39
- exports["module.exports"] = rolldown;
40
- exports.rolldown = rolldown;
39
+ exports["module.exports"] = unplugin$1;
40
+ exports.unplugin = unplugin$1;
41
41
  Object.defineProperty(exports, 'plugin', {
42
42
  enumerable: true,
43
43
  get: function () {
44
44
  return __powerlines_plugin_rolldown.default;
45
45
  }
46
+ });
47
+ Object.defineProperty(exports, 'rolldown', {
48
+ enumerable: true,
49
+ get: function () {
50
+ return __powerlines_plugin_rolldown.default;
51
+ }
46
52
  });
@@ -1,6 +1,6 @@
1
1
  import { RolldownPluginUserConfig } from "./plugin-rolldown/src/types/plugin.cjs";
2
2
  import * as rolldown0 from "rolldown";
3
- import plugin from "@powerlines/plugin-rolldown";
3
+ import plugin, { default as rolldown } from "@powerlines/plugin-rolldown";
4
4
 
5
5
  //#region src/rolldown.d.ts
6
6
 
@@ -19,7 +19,7 @@ import plugin from "@powerlines/plugin-rolldown";
19
19
  * })
20
20
  * ```
21
21
  */
22
- declare const rolldown: (options: Partial<RolldownPluginUserConfig>) => rolldown0.Plugin<any> | rolldown0.Plugin<any>[];
22
+ declare const unplugin: (options: Partial<RolldownPluginUserConfig>) => rolldown0.Plugin<any> | rolldown0.Plugin<any>[];
23
23
  //#endregion
24
- export { rolldown as default, rolldown as "module.exports", rolldown, plugin };
24
+ export { unplugin as default, unplugin as "module.exports", unplugin, plugin, rolldown };
25
25
  //# sourceMappingURL=rolldown.d.cts.map
package/dist/rollup.cjs CHANGED
@@ -22,16 +22,22 @@ __powerlines_plugin_rollup = require_rolldown_runtime.__toESM(__powerlines_plugi
22
22
  * })
23
23
  * ```
24
24
  */
25
- const rollup = (0, unplugin.createRollupPlugin)(require_unplugin.createUnpluginFactory("rollup"));
26
- var rollup_default = rollup;
25
+ const unplugin$1 = (0, unplugin.createRollupPlugin)(require_unplugin.createUnpluginFactory("rollup"));
26
+ var rollup_default = unplugin$1;
27
27
 
28
28
  //#endregion
29
29
  exports.default = rollup_default;
30
- exports["module.exports"] = rollup;
31
- exports.rollup = rollup;
30
+ exports["module.exports"] = unplugin$1;
31
+ exports.unplugin = unplugin$1;
32
32
  Object.defineProperty(exports, 'plugin', {
33
33
  enumerable: true,
34
34
  get: function () {
35
35
  return __powerlines_plugin_rollup.default;
36
36
  }
37
+ });
38
+ Object.defineProperty(exports, 'rollup', {
39
+ enumerable: true,
40
+ get: function () {
41
+ return __powerlines_plugin_rollup.default;
42
+ }
37
43
  });
package/dist/rollup.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { RollupPluginUserConfig } from "./plugin-rollup/src/types/plugin.cjs";
2
2
  import * as rollup0 from "rollup";
3
- import plugin from "@powerlines/plugin-rollup";
3
+ import plugin, { default as rollup } from "@powerlines/plugin-rollup";
4
4
 
5
5
  //#region src/rollup.d.ts
6
6
 
@@ -20,7 +20,7 @@ import plugin from "@powerlines/plugin-rollup";
20
20
  * })
21
21
  * ```
22
22
  */
23
- declare const rollup: (options: Partial<RollupPluginUserConfig>) => rollup0.Plugin<any> | rollup0.Plugin<any>[];
23
+ declare const unplugin: (options: Partial<RollupPluginUserConfig>) => rollup0.Plugin<any> | rollup0.Plugin<any>[];
24
24
  //#endregion
25
- export { rollup as default, rollup as "module.exports", rollup, plugin };
25
+ export { unplugin as default, unplugin as "module.exports", unplugin, plugin, rollup };
26
26
  //# sourceMappingURL=rollup.d.cts.map
package/dist/rspack.cjs CHANGED
@@ -22,16 +22,22 @@ __powerlines_plugin_rspack = require_rolldown_runtime.__toESM(__powerlines_plugi
22
22
  * }
23
23
  * ```
24
24
  */
25
- const rspack = (0, unplugin.createRspackPlugin)(require_unplugin.createUnpluginFactory("rspack"));
26
- var rspack_default = rspack;
25
+ const unplugin$1 = (0, unplugin.createRspackPlugin)(require_unplugin.createUnpluginFactory("rspack"));
26
+ var rspack_default = unplugin$1;
27
27
 
28
28
  //#endregion
29
29
  exports.default = rspack_default;
30
- exports["module.exports"] = rspack;
31
- exports.rspack = rspack;
30
+ exports["module.exports"] = unplugin$1;
31
+ exports.unplugin = unplugin$1;
32
32
  Object.defineProperty(exports, 'plugin', {
33
33
  enumerable: true,
34
34
  get: function () {
35
35
  return __powerlines_plugin_rspack.default;
36
36
  }
37
+ });
38
+ Object.defineProperty(exports, 'rspack', {
39
+ enumerable: true,
40
+ get: function () {
41
+ return __powerlines_plugin_rspack.default;
42
+ }
37
43
  });
package/dist/rspack.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { RspackPluginUserConfig } from "./plugin-rspack/src/types/plugin.cjs";
2
2
  import * as unplugin0 from "unplugin";
3
- import plugin from "@powerlines/plugin-rspack";
3
+ import plugin, { default as rspack } from "@powerlines/plugin-rspack";
4
4
 
5
5
  //#region src/rspack.d.ts
6
6
 
@@ -20,7 +20,7 @@ import plugin from "@powerlines/plugin-rspack";
20
20
  * }
21
21
  * ```
22
22
  */
23
- declare const rspack: (options: Partial<RspackPluginUserConfig>) => unplugin0.RspackPluginInstance;
23
+ declare const unplugin: (options: Partial<RspackPluginUserConfig>) => unplugin0.RspackPluginInstance;
24
24
  //#endregion
25
- export { rspack as default, rspack as "module.exports", rspack, plugin };
25
+ export { unplugin as default, unplugin as "module.exports", unplugin, plugin, rspack };
26
26
  //# sourceMappingURL=rspack.d.cts.map
package/dist/tsdown.cjs CHANGED
@@ -32,7 +32,7 @@ __powerlines_plugin_tsdown = require_rolldown_runtime.__toESM(__powerlines_plugi
32
32
  * @param options - The Tsdown options to merge with the Powerlines configuration.
33
33
  * @returns The merged Tsdown configuration options.
34
34
  */
35
- function tsdown(options = {}) {
35
+ function unplugin(options = {}) {
36
36
  return {
37
37
  ...options,
38
38
  entry: options.entry,
@@ -76,15 +76,21 @@ function tsdown(options = {}) {
76
76
  })]
77
77
  };
78
78
  }
79
- var tsdown_default = tsdown;
79
+ var tsdown_default = unplugin;
80
80
 
81
81
  //#endregion
82
82
  exports.default = tsdown_default;
83
- exports["module.exports"] = tsdown;
84
- exports.tsdown = tsdown;
83
+ exports["module.exports"] = unplugin;
84
+ exports.unplugin = unplugin;
85
85
  Object.defineProperty(exports, 'plugin', {
86
86
  enumerable: true,
87
87
  get: function () {
88
88
  return __powerlines_plugin_tsdown.default;
89
89
  }
90
+ });
91
+ Object.defineProperty(exports, 'tsdown', {
92
+ enumerable: true,
93
+ get: function () {
94
+ return __powerlines_plugin_tsdown.default;
95
+ }
90
96
  });
package/dist/tsdown.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { UserConfig } from "tsdown/config";
2
- import plugin from "@powerlines/plugin-tsdown";
2
+ import plugin, { default as tsdown } from "@powerlines/plugin-tsdown";
3
3
 
4
4
  //#region src/tsdown.d.ts
5
5
 
@@ -26,7 +26,7 @@ import plugin from "@powerlines/plugin-tsdown";
26
26
  * @param options - The Tsdown options to merge with the Powerlines configuration.
27
27
  * @returns The merged Tsdown configuration options.
28
28
  */
29
- declare function tsdown(options?: UserConfig): UserConfig;
29
+ declare function unplugin(options?: UserConfig): UserConfig;
30
30
  //#endregion
31
- export { tsdown as default, tsdown as "module.exports", tsdown, plugin };
31
+ export { unplugin as default, unplugin as "module.exports", unplugin, plugin, tsdown };
32
32
  //# sourceMappingURL=tsdown.d.cts.map
package/dist/tsup.cjs CHANGED
@@ -30,7 +30,7 @@ __powerlines_plugin_tsup = require_rolldown_runtime.__toESM(__powerlines_plugin_
30
30
  * @param options - The Tsup options to merge with the Powerlines configuration.
31
31
  * @returns The merged Tsup configuration options.
32
32
  */
33
- function tsup(options = {}) {
33
+ function unplugin(options = {}) {
34
34
  return {
35
35
  ...options,
36
36
  esbuildPlugins: [require_esbuild.default({
@@ -56,15 +56,21 @@ function tsup(options = {}) {
56
56
  })]
57
57
  };
58
58
  }
59
- var tsup_default = tsup;
59
+ var tsup_default = unplugin;
60
60
 
61
61
  //#endregion
62
62
  exports.default = tsup_default;
63
- exports["module.exports"] = tsup;
64
- exports.tsup = tsup;
63
+ exports["module.exports"] = unplugin;
64
+ exports.unplugin = unplugin;
65
65
  Object.defineProperty(exports, 'plugin', {
66
66
  enumerable: true,
67
67
  get: function () {
68
68
  return __powerlines_plugin_tsup.default;
69
69
  }
70
+ });
71
+ Object.defineProperty(exports, 'tsup', {
72
+ enumerable: true,
73
+ get: function () {
74
+ return __powerlines_plugin_tsup.default;
75
+ }
70
76
  });
package/dist/tsup.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Options } from "tsup";
2
- import plugin from "@powerlines/plugin-tsup";
2
+ import plugin, { default as tsup } from "@powerlines/plugin-tsup";
3
3
 
4
4
  //#region src/tsup.d.ts
5
5
 
@@ -26,7 +26,7 @@ import plugin from "@powerlines/plugin-tsup";
26
26
  * @param options - The Tsup options to merge with the Powerlines configuration.
27
27
  * @returns The merged Tsup configuration options.
28
28
  */
29
- declare function tsup(options?: Options): Options;
29
+ declare function unplugin(options?: Options): Options;
30
30
  //#endregion
31
- export { tsup as default, tsup as "module.exports", tsup, plugin };
31
+ export { unplugin as default, unplugin as "module.exports", unplugin, plugin, tsup };
32
32
  //# sourceMappingURL=tsup.d.cts.map
package/dist/utils.cjs CHANGED
@@ -1,9 +1,9 @@
1
+ const require_format = require('./core/src/lib/utilities/format.cjs');
1
2
  const require_environments = require('./core/src/lib/constants/environments.cjs');
2
3
  const require_meta = require('./core/src/lib/constants/meta.cjs');
3
4
  const require_entry = require('./core/src/lib/entry.cjs');
4
5
  const require_logger = require('./core/src/lib/logger.cjs');
5
6
  const require_file_header = require('./core/src/lib/utilities/file-header.cjs');
6
- const require_format = require('./core/src/lib/utilities/format.cjs');
7
7
  const require_source_file = require('./core/src/lib/utilities/source-file.cjs');
8
8
  const require_source_map = require('./core/src/lib/utilities/source-map.cjs');
9
9
  const require_write_file = require('./core/src/lib/utilities/write-file.cjs');
package/dist/vite.cjs CHANGED
@@ -26,7 +26,7 @@ __powerlines_plugin_vite = require_rolldown_runtime.__toESM(__powerlines_plugin_
26
26
  *
27
27
  * ```
28
28
  */
29
- const vite = (0, unplugin.createVitePlugin)(require_unplugin.createUnpluginFactory("vite", (api, plugin$1) => {
29
+ const unplugin$1 = (0, unplugin.createVitePlugin)(require_unplugin.createUnpluginFactory("vite", (api, plugin$1) => {
30
30
  return {
31
31
  ...plugin$1,
32
32
  vite: {
@@ -64,15 +64,21 @@ const vite = (0, unplugin.createVitePlugin)(require_unplugin.createUnpluginFacto
64
64
  }
65
65
  };
66
66
  }));
67
- var vite_default = vite;
67
+ var vite_default = unplugin$1;
68
68
 
69
69
  //#endregion
70
70
  exports.default = vite_default;
71
- exports["module.exports"] = vite;
72
- exports.vite = vite;
71
+ exports["module.exports"] = unplugin$1;
72
+ exports.unplugin = unplugin$1;
73
73
  Object.defineProperty(exports, 'plugin', {
74
74
  enumerable: true,
75
75
  get: function () {
76
76
  return __powerlines_plugin_vite.default;
77
77
  }
78
+ });
79
+ Object.defineProperty(exports, 'vite', {
80
+ enumerable: true,
81
+ get: function () {
82
+ return __powerlines_plugin_vite.default;
83
+ }
78
84
  });
package/dist/vite.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VitePluginUserConfig } from "./plugin-vite/src/types/plugin.cjs";
2
2
  import * as vite0 from "vite";
3
- import plugin from "@powerlines/plugin-vite";
3
+ import plugin, { default as vite } from "@powerlines/plugin-vite";
4
4
 
5
5
  //#region src/vite.d.ts
6
6
 
@@ -20,7 +20,7 @@ import plugin from "@powerlines/plugin-vite";
20
20
  *
21
21
  * ```
22
22
  */
23
- declare const vite: (options: Partial<VitePluginUserConfig>) => vite0.Plugin<any> | vite0.Plugin<any>[];
23
+ declare const unplugin: (options: Partial<VitePluginUserConfig>) => vite0.Plugin<any> | vite0.Plugin<any>[];
24
24
  //#endregion
25
- export { vite as default, vite as "module.exports", vite, plugin };
25
+ export { unplugin as default, unplugin as "module.exports", unplugin, plugin, vite };
26
26
  //# sourceMappingURL=vite.d.cts.map
package/dist/webpack.cjs CHANGED
@@ -21,16 +21,22 @@ __powerlines_plugin_webpack = require_rolldown_runtime.__toESM(__powerlines_plug
21
21
  * }
22
22
  * ```
23
23
  */
24
- const webpack = (0, unplugin.createWebpackPlugin)(require_unplugin.createUnpluginFactory("webpack"));
25
- var webpack_default = webpack;
24
+ const unplugin$1 = (0, unplugin.createWebpackPlugin)(require_unplugin.createUnpluginFactory("webpack"));
25
+ var webpack_default = unplugin$1;
26
26
 
27
27
  //#endregion
28
28
  exports.default = webpack_default;
29
- exports["module.exports"] = webpack;
30
- exports.webpack = webpack;
29
+ exports["module.exports"] = unplugin$1;
30
+ exports.unplugin = unplugin$1;
31
31
  Object.defineProperty(exports, 'plugin', {
32
32
  enumerable: true,
33
33
  get: function () {
34
34
  return __powerlines_plugin_webpack.default;
35
35
  }
36
+ });
37
+ Object.defineProperty(exports, 'webpack', {
38
+ enumerable: true,
39
+ get: function () {
40
+ return __powerlines_plugin_webpack.default;
41
+ }
36
42
  });
@@ -1,6 +1,6 @@
1
1
  import { WebpackPluginUserConfig } from "./plugin-webpack/src/types/plugin.cjs";
2
2
  import * as webpack0 from "webpack";
3
- import plugin from "@powerlines/plugin-webpack";
3
+ import plugin, { default as webpack } from "@powerlines/plugin-webpack";
4
4
 
5
5
  //#region src/webpack.d.ts
6
6
 
@@ -19,7 +19,7 @@ import plugin from "@powerlines/plugin-webpack";
19
19
  * }
20
20
  * ```
21
21
  */
22
- declare const webpack: (options: Partial<WebpackPluginUserConfig>) => webpack0.WebpackPluginInstance;
22
+ declare const unplugin: (options: Partial<WebpackPluginUserConfig>) => webpack0.WebpackPluginInstance;
23
23
  //#endregion
24
- export { webpack as default, webpack as "module.exports", webpack, plugin };
24
+ export { unplugin as default, unplugin as "module.exports", unplugin, plugin, webpack };
25
25
  //# sourceMappingURL=webpack.d.cts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerlines",
3
- "version": "0.39.0",
3
+ "version": "0.39.2",
4
4
  "private": false,
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
  "keywords": [
@@ -125,15 +125,6 @@
125
125
  "dependencies": {
126
126
  "@cacheable/memory": "^2.0.8",
127
127
  "@donedeal0/superdiff": "^3.2.0",
128
- "@powerlines/plugin-esbuild": "^0.13.300",
129
- "@powerlines/plugin-rolldown": "^0.7.301",
130
- "@powerlines/plugin-rollup": "^0.7.301",
131
- "@powerlines/plugin-rspack": "^0.5.300",
132
- "@powerlines/plugin-tsdown": "^0.1.244",
133
- "@powerlines/plugin-tsup": "^0.12.301",
134
- "@powerlines/plugin-unbuild": "^0.5.301",
135
- "@powerlines/plugin-vite": "^0.14.293",
136
- "@powerlines/plugin-webpack": "^0.5.300",
137
128
  "@storm-software/config": "^1.135.11",
138
129
  "@storm-software/config-tools": "^1.189.10",
139
130
  "@stryke/capnp": "^0.12.68",
@@ -161,10 +152,19 @@
161
152
  "unplugin": "3.0.0-beta.3"
162
153
  },
163
154
  "devDependencies": {
155
+ "@powerlines/plugin-esbuild": "^0.13.302",
156
+ "@powerlines/plugin-rolldown": "^0.7.303",
157
+ "@powerlines/plugin-rollup": "^0.7.303",
158
+ "@powerlines/plugin-rspack": "^0.5.302",
159
+ "@powerlines/plugin-tsdown": "^0.1.246",
160
+ "@powerlines/plugin-tsup": "^0.12.303",
161
+ "@powerlines/plugin-unbuild": "^0.5.303",
162
+ "@powerlines/plugin-vite": "^0.14.295",
163
+ "@powerlines/plugin-webpack": "^0.5.302",
164
164
  "@storm-software/testing-tools": "^1.119.85",
165
165
  "@stryke/types": "^0.10.39",
166
166
  "@types/bun": "^1.3.9",
167
- "@types/node": "^25.3.2",
167
+ "@types/node": "^25.3.3",
168
168
  "@types/semver": "^7.7.1",
169
169
  "bun-types-no-globals": "^1.3.10",
170
170
  "rolldown": "1.0.0-beta.53",
@@ -177,40 +177,36 @@
177
177
  "@farmfe/core": ">=1.7.11",
178
178
  "@nuxt/kit": ">=4.1.1",
179
179
  "@nuxt/schema": ">=4.1.1",
180
- "@rspack/cli": ">=1.5.0",
181
- "@rspack/core": ">=1.5.0",
180
+ "@powerlines/plugin-esbuild": ">=0.13.301",
181
+ "@powerlines/plugin-rolldown": ">=0.7.302",
182
+ "@powerlines/plugin-rollup": ">=0.7.302",
183
+ "@powerlines/plugin-rspack": ">=0.5.301",
184
+ "@powerlines/plugin-tsdown": ">=0.1.245",
185
+ "@powerlines/plugin-tsup": ">=0.12.302",
186
+ "@powerlines/plugin-unbuild": ">=0.5.302",
187
+ "@powerlines/plugin-vite": ">=0.14.294",
188
+ "@powerlines/plugin-webpack": ">=0.5.300",
182
189
  "astro": ">=5.13.5",
183
- "esbuild": ">=0.27.0",
184
190
  "next": ">=15.5.4",
185
- "rolldown": ">=1.0.0-beta.53",
186
- "rollup": ">=4.46.4",
187
- "tsdown": ">=0.17.0-beta.4",
188
- "tsup": ">=8.4.0",
189
- "unbuild": ">=3.5.0",
190
- "unloader": ">=0.5.0",
191
- "vite": ">=8.0.0-beta.2",
192
- "webpack": ">=5.101.3",
193
- "webpack-cli": ">=6.0.1"
191
+ "unloader": ">=0.5.0"
194
192
  },
195
193
  "peerDependenciesMeta": {
196
- "@farmfe/cli": { "optional": true },
197
194
  "@farmfe/core": { "optional": true },
198
195
  "@nuxt/kit": { "optional": true },
199
196
  "@nuxt/schema": { "optional": true },
200
- "@rspack/cli": { "optional": true },
201
- "@rspack/core": { "optional": true },
197
+ "@powerlines/plugin-esbuild": { "optional": true },
198
+ "@powerlines/plugin-rolldown": { "optional": true },
199
+ "@powerlines/plugin-rollup": { "optional": true },
200
+ "@powerlines/plugin-rspack": { "optional": true },
201
+ "@powerlines/plugin-tsdown": { "optional": true },
202
+ "@powerlines/plugin-tsup": { "optional": true },
203
+ "@powerlines/plugin-unbuild": { "optional": true },
204
+ "@powerlines/plugin-vite": { "optional": true },
205
+ "@powerlines/plugin-webpack": { "optional": true },
202
206
  "astro": { "optional": true },
203
- "esbuild": { "optional": true },
204
207
  "next": { "optional": true },
205
- "rolldown": { "optional": true },
206
- "rollup": { "optional": true },
207
- "tsup": { "optional": true },
208
- "unbuild": { "optional": true },
209
- "unloader": { "optional": true },
210
- "vite": { "optional": true },
211
- "webpack": { "optional": true },
212
- "webpack-cli": { "optional": true }
208
+ "unloader": { "optional": true }
213
209
  },
214
210
  "publishConfig": { "access": "public" },
215
- "gitHead": "0dcb16f054b8a69915b074578e6d4dfa3ecc1529"
211
+ "gitHead": "540df092e89cb024a3fc078bcc878a9070e65a28"
216
212
  }