@powerlines/plugin-biome 0.2.9 → 0.2.11

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.
@@ -1106,7 +1106,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
1106
1106
  declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
1107
1107
  type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
1108
1108
 
1109
- interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> {
1109
+ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
1110
1110
  /**
1111
1111
  * The order in which the plugin should be applied.
1112
1112
  */
@@ -1114,13 +1114,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
1114
1114
  /**
1115
1115
  * A filter to determine when the hook should be called.
1116
1116
  */
1117
- filter?: TFilter;
1117
+ filter?: Pick<HookFilter, TFilter>;
1118
1118
  /**
1119
1119
  * The hook function to be called.
1120
1120
  */
1121
1121
  handler: THookFunction;
1122
1122
  }
1123
- type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1123
+ type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1124
1124
  /**
1125
1125
  * A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
1126
1126
  */
@@ -1106,7 +1106,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
1106
1106
  declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
1107
1107
  type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
1108
1108
 
1109
- interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> {
1109
+ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
1110
1110
  /**
1111
1111
  * The order in which the plugin should be applied.
1112
1112
  */
@@ -1114,13 +1114,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
1114
1114
  /**
1115
1115
  * A filter to determine when the hook should be called.
1116
1116
  */
1117
- filter?: TFilter;
1117
+ filter?: Pick<HookFilter, TFilter>;
1118
1118
  /**
1119
1119
  * The hook function to be called.
1120
1120
  */
1121
1121
  handler: THookFunction;
1122
1122
  }
1123
- type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1123
+ type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1124
1124
  /**
1125
1125
  * A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
1126
1126
  */
@@ -1,5 +1,5 @@
1
- import { B as BiomePluginOptions, P as Plugin, a as BiomePluginContext } from '../index-YTVbEnSs.cjs';
2
- export { c as BiomePluginResolvedConfig, b as BiomePluginUserConfig } from '../index-YTVbEnSs.cjs';
1
+ import { B as BiomePluginOptions, P as Plugin, a as BiomePluginContext } from './index-BeLwWy2n.cjs';
2
+ export { c as BiomePluginResolvedConfig, b as BiomePluginUserConfig } from './index-BeLwWy2n.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,5 +1,5 @@
1
- import { B as BiomePluginOptions, P as Plugin, a as BiomePluginContext } from '../index-YTVbEnSs.js';
2
- export { c as BiomePluginResolvedConfig, b as BiomePluginUserConfig } from '../index-YTVbEnSs.js';
1
+ import { B as BiomePluginOptions, P as Plugin, a as BiomePluginContext } from './index-BeLwWy2n.js';
2
+ export { c as BiomePluginResolvedConfig, b as BiomePluginUserConfig } from './index-BeLwWy2n.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 } from '../index-YTVbEnSs.cjs';
1
+ export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig } from '../index-BeLwWy2n.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 } from '../index-YTVbEnSs.js';
1
+ export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig } from '../index-BeLwWy2n.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 } from '../index-YTVbEnSs.cjs';
1
+ export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig } from '../index-BeLwWy2n.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 } from '../index-YTVbEnSs.js';
1
+ export { a as BiomePluginContext, B as BiomePluginOptions, c as BiomePluginResolvedConfig, b as BiomePluginUserConfig } from '../index-BeLwWy2n.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.9",
3
+ "version": "0.2.11",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running Biome linting on the codebase.",
6
6
  "repository": {
@@ -91,19 +91,19 @@
91
91
  "peerDependenciesMeta": { "@biomejs/biome": { "optional": false } },
92
92
  "dependencies": {
93
93
  "@storm-software/config-tools": "^1.188.19",
94
- "@stryke/cli": "^0.12.4",
95
- "@stryke/convert": "^0.6.0",
96
- "@stryke/fs": "^0.32.10",
97
- "@stryke/path": "^0.18.5",
94
+ "@stryke/cli": "^0.12.5",
95
+ "@stryke/convert": "^0.6.1",
96
+ "@stryke/fs": "^0.32.11",
97
+ "@stryke/path": "^0.19.0",
98
98
  "defu": "^6.1.4",
99
- "powerlines": "^0.19.0"
99
+ "powerlines": "^0.19.2"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@biomejs/biome": "^2.3.4",
103
- "@powerlines/nx": "^0.10.4",
103
+ "@powerlines/nx": "^0.10.6",
104
104
  "@storm-software/tsup": "^0.2.17",
105
105
  "@types/node": "^22.19.0"
106
106
  },
107
107
  "publishConfig": { "access": "public" },
108
- "gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
108
+ "gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
109
109
  }
File without changes
File without changes