@powerlines/plugin-rollup 0.7.69 → 0.7.70

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.
@@ -215,18 +215,18 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
215
215
  * @param other - The other plugin to compare against.
216
216
  * @returns `true` if the two plugins are the same, `false` otherwise.
217
217
  */
218
- dedupe?: false | ((other: Plugin<any>) => boolean);
218
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
219
219
  /**
220
220
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
221
221
  */
222
- dependsOn?: PluginConfig<any>[];
222
+ dependsOn?: PluginConfig<TContext>[];
223
223
  /**
224
224
  * Define environments where this plugin should be active. By default, the plugin is active in all environments.
225
225
  *
226
226
  * @param environment - The environment to check.
227
227
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
228
228
  */
229
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
229
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<TContext>;
230
230
  }
231
231
  //#endregion
232
232
  export { Plugin };
@@ -215,18 +215,18 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
215
215
  * @param other - The other plugin to compare against.
216
216
  * @returns `true` if the two plugins are the same, `false` otherwise.
217
217
  */
218
- dedupe?: false | ((other: Plugin<any>) => boolean);
218
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
219
219
  /**
220
220
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
221
221
  */
222
- dependsOn?: PluginConfig<any>[];
222
+ dependsOn?: PluginConfig<TContext>[];
223
223
  /**
224
224
  * Define environments where this plugin should be active. By default, the plugin is active in all environments.
225
225
  *
226
226
  * @param environment - The environment to check.
227
227
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
228
228
  */
229
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
229
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<TContext>;
230
230
  }
231
231
  //#endregion
232
232
  export { Plugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-rollup",
3
- "version": "0.7.69",
3
+ "version": "0.7.70",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -152,15 +152,15 @@
152
152
  "@stryke/types": "^0.10.23",
153
153
  "defu": "^6.1.4",
154
154
  "jiti": "^2.6.1",
155
- "powerlines": "^0.30.11",
155
+ "powerlines": "^0.30.12",
156
156
  "rollup": "^4.53.3",
157
157
  "unplugin": "3.0.0-beta.3"
158
158
  },
159
159
  "devDependencies": {
160
- "@powerlines/nx": "^0.10.60",
161
- "@powerlines/plugin-plugin": "^0.12.12",
160
+ "@powerlines/nx": "^0.10.61",
161
+ "@powerlines/plugin-plugin": "^0.12.13",
162
162
  "@types/node": "^24.10.1"
163
163
  },
164
164
  "publishConfig": { "access": "public" },
165
- "gitHead": "1613e8b201d74470d5c3275e2049374c231287af"
165
+ "gitHead": "cf77bcf1cf8704db0c0be1a77a3a2b7d5f801aa6"
166
166
  }