@powerlines/plugin-id 0.9.13 → 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.
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/nanoid.d.cts +1 -1
- package/dist/components/nanoid.d.ts +1 -1
- package/dist/{index-DN8I8dYd.d.cts → index-UhS6IjOH.d.cts} +3 -3
- package/dist/{index-DN8I8dYd.d.ts → index-UhS6IjOH.d.ts} +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
*/
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from './index-
|
|
2
|
-
export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from './index-
|
|
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
3
|
export { nanoidModule } from './components/nanoid.cjs';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from './index-
|
|
2
|
-
export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from './index-
|
|
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
3
|
export { nanoidModule } from './components/nanoid.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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.
|
|
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": {
|
|
@@ -119,13 +119,13 @@
|
|
|
119
119
|
"@storm-software/config-tools": "^1.188.19",
|
|
120
120
|
"@stryke/path": "^0.19.0",
|
|
121
121
|
"defu": "^6.1.4",
|
|
122
|
-
"powerlines": "^0.19.
|
|
122
|
+
"powerlines": "^0.19.2"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
|
-
"@powerlines/nx": "^0.10.
|
|
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": "
|
|
130
|
+
"gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
|
|
131
131
|
}
|