@powerlines/plugin-rollup 0.7.47 → 0.7.49

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-DctVDwrQ.cjs';
3
+ import '../index-CHbxtwA-.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-DctVDwrQ.js';
3
+ import '../index-CHbxtwA-.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-DctVDwrQ.cjs';
2
+ import { R as RollupPluginContext } from '../index-CHbxtwA-.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-DctVDwrQ.js';
2
+ import { R as RollupPluginContext } from '../index-CHbxtwA-.js';
3
3
  import 'rollup';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
@@ -1442,7 +1442,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1442
1442
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1443
1443
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
1444
1444
  };
1445
- interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
1445
+ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
1446
1446
  /**
1447
1447
  * The name of the plugin, for use in deduplication, error messages and logs.
1448
1448
  */
@@ -1473,7 +1473,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1473
1473
  * @param other - The other plugin to compare against.
1474
1474
  * @returns `true` if the two plugins are the same, `false` otherwise.
1475
1475
  */
1476
- dedupe?: false | ((other: Plugin<any>) => boolean);
1476
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
1477
1477
  /**
1478
1478
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1479
1479
  */
@@ -1484,7 +1484,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1484
1484
  * @param environment - The environment to check.
1485
1485
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1486
1486
  */
1487
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
1487
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1488
1488
  }
1489
1489
 
1490
1490
  type RollupPluginOptions = Partial<RollupBuildConfig>;
@@ -1442,7 +1442,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1442
1442
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1443
1443
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
1444
1444
  };
1445
- interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
1445
+ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
1446
1446
  /**
1447
1447
  * The name of the plugin, for use in deduplication, error messages and logs.
1448
1448
  */
@@ -1473,7 +1473,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1473
1473
  * @param other - The other plugin to compare against.
1474
1474
  * @returns `true` if the two plugins are the same, `false` otherwise.
1475
1475
  */
1476
- dedupe?: false | ((other: Plugin<any>) => boolean);
1476
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
1477
1477
  /**
1478
1478
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1479
1479
  */
@@ -1484,7 +1484,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1484
1484
  * @param environment - The environment to check.
1485
1485
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1486
1486
  */
1487
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
1487
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1488
1488
  }
1489
1489
 
1490
1490
  type RollupPluginOptions = Partial<RollupBuildConfig>;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-DctVDwrQ.cjs';
2
- export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-DctVDwrQ.cjs';
1
+ import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-CHbxtwA-.cjs';
2
+ export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-CHbxtwA-.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-DctVDwrQ.js';
2
- export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-DctVDwrQ.js';
1
+ import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-CHbxtwA-.js';
2
+ export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-CHbxtwA-.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-DctVDwrQ.cjs';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-CHbxtwA-.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-DctVDwrQ.js';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-CHbxtwA-.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-DctVDwrQ.cjs';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-CHbxtwA-.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-DctVDwrQ.js';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-CHbxtwA-.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.47",
3
+ "version": "0.7.49",
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.0",
137
+ "powerlines": "^0.25.2",
138
138
  "rollup": "^4.53.3",
139
139
  "unplugin": "^2.3.11"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.38",
143
- "@powerlines/plugin-plugin": "^0.11.46",
142
+ "@powerlines/nx": "^0.10.40",
143
+ "@powerlines/plugin-plugin": "^0.11.48",
144
144
  "@types/node": "^24.10.1"
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "acb1d0727c31f10519b7a59d73d245e6949414d3"
147
+ "gitHead": "e5c7481779e32bd9810613c299e775bc033c9eac"
148
148
  }