@powerlines/plugin-id 0.9.12 → 0.9.14

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,5 +1,5 @@
1
1
  export { nanoidModule } from './nanoid.cjs';
2
- import '../index-DN8I8dYd.cjs';
2
+ import '../index-UhS6IjOH.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
1
  export { nanoidModule } from './nanoid.js';
2
- import '../index-DN8I8dYd.js';
2
+ import '../index-UhS6IjOH.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
- import { a as IdPluginContext } from '../index-DN8I8dYd.cjs';
1
+ import { a as IdPluginContext } from '../index-UhS6IjOH.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
- import { a as IdPluginContext } from '../index-DN8I8dYd.js';
1
+ import { a as IdPluginContext } from '../index-UhS6IjOH.js';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -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,4 +1,4 @@
1
- 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('../chunk-FBBMZ4NC.cjs'),types$1=require('@storm-software/config-tools/types'),o=require('defu'),nanoid=require('./components/nanoid'),components=require('./components'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var o__default=/*#__PURE__*/_interopDefault(o);/*****************************************
1
+ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('./chunk-FBBMZ4NC.cjs'),types$1=require('@storm-software/config-tools/types'),o=require('defu'),nanoid=require('./components/nanoid'),components=require('./components'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var o__default=/*#__PURE__*/_interopDefault(o);/*****************************************
2
2
  *
3
3
  * ⚡ Built by Storm Software
4
4
  *
@@ -1,6 +1,6 @@
1
- import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from '../index-DN8I8dYd.cjs';
2
- export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.cjs';
3
- export { nanoidModule } from '../components/nanoid.cjs';
1
+ import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from './index-UhS6IjOH.cjs';
2
+ export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from './index-UhS6IjOH.cjs';
3
+ export { nanoidModule } from './components/nanoid.cjs';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
6
6
  import '@storm-software/config/types';
@@ -1,6 +1,6 @@
1
- import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from '../index-DN8I8dYd.js';
2
- export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.js';
3
- export { nanoidModule } from '../components/nanoid.js';
1
+ import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from './index-UhS6IjOH.js';
2
+ export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from './index-UhS6IjOH.js';
3
+ export { nanoidModule } from './components/nanoid.js';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
6
6
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- import {a}from'../chunk-UCUR73HG.js';import {LogLevelLabel}from'@storm-software/config-tools/types';import o from'defu';import {nanoidModule}from'./components/nanoid';export*from'./components';export*from'./types';/*****************************************
1
+ import {a}from'./chunk-UCUR73HG.js';import {LogLevelLabel}from'@storm-software/config-tools/types';import o from'defu';import {nanoidModule}from'./components/nanoid';export*from'./components';export*from'./types';/*****************************************
2
2
  *
3
3
  * ⚡ Built by Storm Software
4
4
  *
@@ -1,4 +1,4 @@
1
- export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.cjs';
1
+ export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-UhS6IjOH.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 IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.js';
1
+ export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-UhS6IjOH.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 IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.cjs';
1
+ export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-UhS6IjOH.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 IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.js';
1
+ export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-UhS6IjOH.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-id",
3
- "version": "0.9.12",
3
+ "version": "0.9.14",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin that provides unique identifier generation capabilities at runtime by adding the `id` builtin module.",
6
6
  "repository": {
@@ -117,15 +117,15 @@
117
117
  "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
118
118
  "dependencies": {
119
119
  "@storm-software/config-tools": "^1.188.19",
120
- "@stryke/path": "^0.18.5",
120
+ "@stryke/path": "^0.19.0",
121
121
  "defu": "^6.1.4",
122
- "powerlines": "^0.19.0"
122
+ "powerlines": "^0.19.2"
123
123
  },
124
124
  "devDependencies": {
125
- "@powerlines/nx": "^0.10.4",
125
+ "@powerlines/nx": "^0.10.6",
126
126
  "@storm-software/tsup": "^0.2.17",
127
127
  "@types/node": "^22.19.0"
128
128
  },
129
129
  "publishConfig": { "access": "public" },
130
- "gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
130
+ "gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
131
131
  }