@powerlines/plugin-biome 0.2.45 → 0.2.47

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.
@@ -1434,7 +1434,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1434
1434
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1435
1435
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
1436
1436
  };
1437
- interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
1437
+ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
1438
1438
  /**
1439
1439
  * The name of the plugin, for use in deduplication, error messages and logs.
1440
1440
  */
@@ -1465,7 +1465,7 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
1465
1465
  * @param other - The other plugin to compare against.
1466
1466
  * @returns `true` if the two plugins are the same, `false` otherwise.
1467
1467
  */
1468
- dedupe?: false | ((other: Plugin<TContext>) => boolean);
1468
+ dedupe?: false | ((other: Plugin<any>) => boolean);
1469
1469
  /**
1470
1470
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1471
1471
  */
@@ -1434,7 +1434,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1434
1434
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1435
1435
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
1436
1436
  };
1437
- interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
1437
+ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
1438
1438
  /**
1439
1439
  * The name of the plugin, for use in deduplication, error messages and logs.
1440
1440
  */
@@ -1465,7 +1465,7 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
1465
1465
  * @param other - The other plugin to compare against.
1466
1466
  * @returns `true` if the two plugins are the same, `false` otherwise.
1467
1467
  */
1468
- dedupe?: false | ((other: Plugin<TContext>) => boolean);
1468
+ dedupe?: false | ((other: Plugin<any>) => boolean);
1469
1469
  /**
1470
1470
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1471
1471
  */
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BiomePluginOptions, P as Plugin, a as BiomePluginContext } from './index-CyoGvN2z.cjs';
2
- export { c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from './index-CyoGvN2z.cjs';
1
+ import { B as BiomePluginOptions, P as Plugin, a as BiomePluginContext } from './index-DJxeVoDa.cjs';
2
+ export { c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from './index-DJxeVoDa.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BiomePluginOptions, P as Plugin, a as BiomePluginContext } from './index-CyoGvN2z.js';
2
- export { c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from './index-CyoGvN2z.js';
1
+ import { B as BiomePluginOptions, P as Plugin, a as BiomePluginContext } from './index-DJxeVoDa.js';
2
+ export { c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from './index-DJxeVoDa.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from '../index-CyoGvN2z.cjs';
1
+ export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from '../index-DJxeVoDa.cjs';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from '../index-CyoGvN2z.js';
1
+ export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from '../index-DJxeVoDa.js';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from '../index-CyoGvN2z.cjs';
1
+ export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from '../index-DJxeVoDa.cjs';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from '../index-CyoGvN2z.js';
1
+ export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig, f as __ΩBiomePluginContext, _ as __ΩBiomePluginOptions, e as __ΩBiomePluginResolvedConfig, d as __ΩBiomePluginUserConfig } from '../index-DJxeVoDa.js';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-biome",
3
- "version": "0.2.45",
3
+ "version": "0.2.47",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running Biome linting on the codebase.",
6
6
  "repository": {
@@ -96,14 +96,14 @@
96
96
  "@stryke/fs": "^0.33.4",
97
97
  "@stryke/path": "^0.21.2",
98
98
  "defu": "^6.1.4",
99
- "powerlines": "^0.25.2"
99
+ "powerlines": "^0.25.4"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@biomejs/biome": "^2.3.7",
103
- "@powerlines/nx": "^0.10.40",
103
+ "@powerlines/nx": "^0.10.42",
104
104
  "@storm-software/tsup": "^0.2.47",
105
105
  "@types/node": "^24.10.1"
106
106
  },
107
107
  "publishConfig": { "access": "public" },
108
- "gitHead": "e5c7481779e32bd9810613c299e775bc033c9eac"
108
+ "gitHead": "1b998051f406f2465d5fbfd11594a41e170c0467"
109
109
  }