@powerlines/plugin-rollup 0.7.51 → 0.7.52

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.
@@ -1,6 +1,6 @@
1
1
  export { createRollupPlugin } from './unplugin.cjs';
2
2
  import 'esbuild';
3
- import '../index-I6memPY5.cjs';
3
+ import '../index-IjXTdpL8.cjs';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/base';
@@ -1,6 +1,6 @@
1
1
  export { createRollupPlugin } from './unplugin.js';
2
2
  import 'esbuild';
3
- import '../index-I6memPY5.js';
3
+ import '../index-IjXTdpL8.js';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/base';
@@ -1,5 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
- import { R as RollupPluginContext } from '../index-I6memPY5.cjs';
2
+ import { R as RollupPluginContext } from '../index-IjXTdpL8.cjs';
3
3
  import 'rollup';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
@@ -1,5 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
- import { R as RollupPluginContext } from '../index-I6memPY5.js';
2
+ import { R as RollupPluginContext } from '../index-IjXTdpL8.js';
3
3
  import 'rollup';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-I6memPY5.cjs';
2
- export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-I6memPY5.cjs';
1
+ import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-IjXTdpL8.cjs';
2
+ export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-IjXTdpL8.cjs';
3
3
  export { createRollupPlugin } from './helpers/unplugin.cjs';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-I6memPY5.js';
2
- export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-I6memPY5.js';
1
+ import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-IjXTdpL8.js';
2
+ export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-IjXTdpL8.js';
3
3
  export { createRollupPlugin } from './helpers/unplugin.js';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-I6memPY5.cjs';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-IjXTdpL8.cjs';
2
2
  import 'rollup';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-I6memPY5.js';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-IjXTdpL8.js';
2
2
  import 'rollup';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-I6memPY5.cjs';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-IjXTdpL8.cjs';
2
2
  import 'rollup';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-I6memPY5.js';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-IjXTdpL8.js';
2
2
  import 'rollup';
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-rollup",
3
- "version": "0.7.51",
3
+ "version": "0.7.52",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -134,15 +134,15 @@
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.0",
138
138
  "rollup": "^4.53.3",
139
139
  "unplugin": "^2.3.11"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.42",
143
- "@powerlines/plugin-plugin": "^0.11.50",
142
+ "@powerlines/nx": "^0.10.43",
143
+ "@powerlines/plugin-plugin": "^0.11.51",
144
144
  "@types/node": "^24.10.1"
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "1b998051f406f2465d5fbfd11594a41e170c0467"
147
+ "gitHead": "f5914f6eb955964b0c2c1785c6e75d5ee04ebd79"
148
148
  }
@@ -1432,12 +1432,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1432
1432
  resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
1433
1433
  isEntry: boolean;
1434
1434
  }) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
1435
- /**
1436
- * An API object that can be used for inter-plugin communication.
1437
- *
1438
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1439
- */
1440
- api?: Record<string, any>;
1441
1435
  };
1442
1436
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1443
1437
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
@@ -1447,6 +1441,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1447
1441
  * The name of the plugin, for use in deduplication, error messages and logs.
1448
1442
  */
1449
1443
  name: string;
1444
+ /**
1445
+ * An API object that can be used for inter-plugin communication.
1446
+ *
1447
+ * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1448
+ */
1449
+ api?: Record<string, any>;
1450
1450
  /**
1451
1451
  * Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
1452
1452
  *
@@ -1432,12 +1432,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1432
1432
  resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
1433
1433
  isEntry: boolean;
1434
1434
  }) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
1435
- /**
1436
- * An API object that can be used for inter-plugin communication.
1437
- *
1438
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1439
- */
1440
- api?: Record<string, any>;
1441
1435
  };
1442
1436
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1443
1437
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
@@ -1447,6 +1441,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1447
1441
  * The name of the plugin, for use in deduplication, error messages and logs.
1448
1442
  */
1449
1443
  name: string;
1444
+ /**
1445
+ * An API object that can be used for inter-plugin communication.
1446
+ *
1447
+ * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1448
+ */
1449
+ api?: Record<string, any>;
1450
1450
  /**
1451
1451
  * Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
1452
1452
  *