@powerlines/plugin-unbuild 0.5.13 → 0.5.15

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.
@@ -1111,7 +1111,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
1111
1111
  declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
1112
1112
  type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
1113
1113
 
1114
- interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> {
1114
+ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
1115
1115
  /**
1116
1116
  * The order in which the plugin should be applied.
1117
1117
  */
@@ -1119,13 +1119,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
1119
1119
  /**
1120
1120
  * A filter to determine when the hook should be called.
1121
1121
  */
1122
- filter?: TFilter;
1122
+ filter?: Pick<HookFilter, TFilter>;
1123
1123
  /**
1124
1124
  * The hook function to be called.
1125
1125
  */
1126
1126
  handler: THookFunction;
1127
1127
  }
1128
- type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1128
+ type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1129
1129
  /**
1130
1130
  * A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
1131
1131
  */
@@ -1111,7 +1111,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
1111
1111
  declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
1112
1112
  type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
1113
1113
 
1114
- interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> {
1114
+ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
1115
1115
  /**
1116
1116
  * The order in which the plugin should be applied.
1117
1117
  */
@@ -1119,13 +1119,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
1119
1119
  /**
1120
1120
  * A filter to determine when the hook should be called.
1121
1121
  */
1122
- filter?: TFilter;
1122
+ filter?: Pick<HookFilter, TFilter>;
1123
1123
  /**
1124
1124
  * The hook function to be called.
1125
1125
  */
1126
1126
  handler: THookFunction;
1127
1127
  }
1128
- type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1128
+ type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1129
1129
  /**
1130
1130
  * A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
1131
1131
  */
@@ -1,5 +1,5 @@
1
- import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from '../index-CTO9AiOT.cjs';
2
- export { b as UnbuildPluginResolvedConfig } from '../index-CTO9AiOT.cjs';
1
+ import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-CGrbsEwv.cjs';
2
+ export { b as UnbuildPluginResolvedConfig } from './index-CGrbsEwv.cjs';
3
3
  import '@storm-software/unbuild/types';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/package-json';
@@ -1,5 +1,5 @@
1
- import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from '../index-CTO9AiOT.js';
2
- export { b as UnbuildPluginResolvedConfig } from '../index-CTO9AiOT.js';
1
+ import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-CGrbsEwv.js';
2
+ export { b as UnbuildPluginResolvedConfig } from './index-CGrbsEwv.js';
3
3
  import '@storm-software/unbuild/types';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/package-json';
@@ -1,4 +1,4 @@
1
- export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig } from '../index-CTO9AiOT.cjs';
1
+ export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig } from '../index-CGrbsEwv.cjs';
2
2
  import '@storm-software/unbuild/types';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/package-json';
@@ -1,4 +1,4 @@
1
- export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig } from '../index-CTO9AiOT.js';
1
+ export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig } from '../index-CGrbsEwv.js';
2
2
  import '@storm-software/unbuild/types';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/package-json';
@@ -1,4 +1,4 @@
1
- export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig } from '../index-CTO9AiOT.cjs';
1
+ export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig } from '../index-CGrbsEwv.cjs';
2
2
  import '@storm-software/unbuild/types';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/package-json';
@@ -1,4 +1,4 @@
1
- export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig } from '../index-CTO9AiOT.js';
1
+ export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig } from '../index-CGrbsEwv.js';
2
2
  import '@storm-software/unbuild/types';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/package-json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unbuild",
3
- "version": "0.5.13",
3
+ "version": "0.5.15",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to build projects using Unbuild.",
6
6
  "repository": {
@@ -128,20 +128,20 @@
128
128
  "keywords": ["unbuild", "powerlines", "storm-software", "powerlines-plugin"],
129
129
  "dependencies": {
130
130
  "@storm-software/unbuild": "^0.57.19",
131
- "@stryke/fs": "^0.32.10",
132
- "@stryke/path": "^0.18.5",
133
- "@stryke/type-checks": "^0.3.10",
134
- "@stryke/types": "^0.10.0",
131
+ "@stryke/fs": "^0.32.11",
132
+ "@stryke/path": "^0.19.0",
133
+ "@stryke/type-checks": "^0.3.11",
134
+ "@stryke/types": "^0.10.1",
135
135
  "defu": "^6.1.4",
136
136
  "jiti": "^2.6.1",
137
- "powerlines": "^0.19.0",
137
+ "powerlines": "^0.19.2",
138
138
  "unplugin": "^2.3.10"
139
139
  },
140
140
  "devDependencies": {
141
- "@powerlines/nx": "^0.10.4",
142
- "@powerlines/plugin-plugin": "^0.11.12",
141
+ "@powerlines/nx": "^0.10.6",
142
+ "@powerlines/plugin-plugin": "^0.11.14",
143
143
  "@types/node": "^22.19.0"
144
144
  },
145
145
  "publishConfig": { "access": "public" },
146
- "gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
146
+ "gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
147
147
  }
File without changes
File without changes