@powerlines/plugin-unbuild 0.5.51 → 0.5.53

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/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-DWcnwpmF.cjs';
2
- export { b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from './index-DWcnwpmF.cjs';
1
+ import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-DZKa_16m.cjs';
2
+ export { b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from './index-DZKa_16m.cjs';
3
3
  import '@storm-software/unbuild/types';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-DWcnwpmF.js';
2
- export { b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from './index-DWcnwpmF.js';
1
+ import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-DZKa_16m.js';
2
+ export { b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from './index-DZKa_16m.js';
3
3
  import '@storm-software/unbuild/types';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-DWcnwpmF.cjs';
1
+ export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-DZKa_16m.cjs';
2
2
  import '@storm-software/unbuild/types';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-DWcnwpmF.js';
1
+ export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-DZKa_16m.js';
2
2
  import '@storm-software/unbuild/types';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-DWcnwpmF.cjs';
1
+ export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-DZKa_16m.cjs';
2
2
  import '@storm-software/unbuild/types';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-DWcnwpmF.js';
1
+ export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-DZKa_16m.js';
2
2
  import '@storm-software/unbuild/types';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unbuild",
3
- "version": "0.5.51",
3
+ "version": "0.5.53",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to build projects using Unbuild.",
6
6
  "repository": {
@@ -134,14 +134,14 @@
134
134
  "@stryke/types": "^0.10.8",
135
135
  "defu": "^6.1.4",
136
136
  "jiti": "^2.6.1",
137
- "powerlines": "^0.25.4",
137
+ "powerlines": "^0.26.1",
138
138
  "unplugin": "^2.3.11"
139
139
  },
140
140
  "devDependencies": {
141
- "@powerlines/nx": "^0.10.42",
142
- "@powerlines/plugin-plugin": "^0.11.50",
141
+ "@powerlines/nx": "^0.10.44",
142
+ "@powerlines/plugin-plugin": "^0.11.52",
143
143
  "@types/node": "^24.10.1"
144
144
  },
145
145
  "publishConfig": { "access": "public" },
146
- "gitHead": "1b998051f406f2465d5fbfd11594a41e170c0467"
146
+ "gitHead": "091646e240baefe4692003e7ea76e5e337d1772e"
147
147
  }
@@ -1429,12 +1429,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1429
1429
  resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
1430
1430
  isEntry: boolean;
1431
1431
  }) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
1432
- /**
1433
- * An API object that can be used for inter-plugin communication.
1434
- *
1435
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1436
- */
1437
- api?: Record<string, any>;
1438
1432
  };
1439
1433
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1440
1434
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
@@ -1444,6 +1438,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1444
1438
  * The name of the plugin, for use in deduplication, error messages and logs.
1445
1439
  */
1446
1440
  name: string;
1441
+ /**
1442
+ * An API object that can be used for inter-plugin communication.
1443
+ *
1444
+ * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1445
+ */
1446
+ api?: Record<string, any>;
1447
1447
  /**
1448
1448
  * Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
1449
1449
  *
@@ -1429,12 +1429,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1429
1429
  resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
1430
1430
  isEntry: boolean;
1431
1431
  }) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
1432
- /**
1433
- * An API object that can be used for inter-plugin communication.
1434
- *
1435
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1436
- */
1437
- api?: Record<string, any>;
1438
1432
  };
1439
1433
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1440
1434
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
@@ -1444,6 +1438,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1444
1438
  * The name of the plugin, for use in deduplication, error messages and logs.
1445
1439
  */
1446
1440
  name: string;
1441
+ /**
1442
+ * An API object that can be used for inter-plugin communication.
1443
+ *
1444
+ * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1445
+ */
1446
+ api?: Record<string, any>;
1447
1447
  /**
1448
1448
  * Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
1449
1449
  *