@powerlines/plugin-id 0.9.46 → 0.9.48
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-B-Y0hGir.d.cts → index-B2ordXhG.d.cts} +3 -3
- package/dist/{index-B-Y0hGir.d.ts → index-B2ordXhG.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 +6 -6
|
@@ -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<
|
|
1437
|
+
interface Plugin<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<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
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<
|
|
1468
|
+
dedupe?: false | ((other: Plugin<TContext>) => boolean);
|
|
1469
1469
|
/**
|
|
1470
1470
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
1471
1471
|
*/
|
|
@@ -1476,7 +1476,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1476
1476
|
* @param environment - The environment to check.
|
|
1477
1477
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1478
1478
|
*/
|
|
1479
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<
|
|
1479
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
1482
|
type UniqueIdFormatType = "nanoid";
|
|
@@ -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<
|
|
1437
|
+
interface Plugin<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<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
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<
|
|
1468
|
+
dedupe?: false | ((other: Plugin<TContext>) => boolean);
|
|
1469
1469
|
/**
|
|
1470
1470
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
1471
1471
|
*/
|
|
@@ -1476,7 +1476,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1476
1476
|
* @param environment - The environment to check.
|
|
1477
1477
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1478
1478
|
*/
|
|
1479
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<
|
|
1479
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
1482
|
type UniqueIdFormatType = "nanoid";
|
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, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from './index-
|
|
1
|
+
import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from './index-B2ordXhG.cjs';
|
|
2
|
+
export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from './index-B2ordXhG.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, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from './index-
|
|
1
|
+
import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from './index-B2ordXhG.js';
|
|
2
|
+
export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from './index-B2ordXhG.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, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-
|
|
1
|
+
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-B2ordXhG.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, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-
|
|
1
|
+
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-B2ordXhG.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, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-
|
|
1
|
+
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-B2ordXhG.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, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-
|
|
1
|
+
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-B2ordXhG.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.48",
|
|
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": {
|
|
@@ -116,16 +116,16 @@
|
|
|
116
116
|
"files": ["dist/**/*"],
|
|
117
117
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@storm-software/config-tools": "^1.188.
|
|
119
|
+
"@storm-software/config-tools": "^1.188.49",
|
|
120
120
|
"@stryke/path": "^0.21.2",
|
|
121
121
|
"defu": "^6.1.4",
|
|
122
|
-
"powerlines": "^0.25.
|
|
122
|
+
"powerlines": "^0.25.2"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
|
-
"@powerlines/nx": "^0.10.
|
|
126
|
-
"@storm-software/tsup": "^0.2.
|
|
125
|
+
"@powerlines/nx": "^0.10.40",
|
|
126
|
+
"@storm-software/tsup": "^0.2.47",
|
|
127
127
|
"@types/node": "^24.10.1"
|
|
128
128
|
},
|
|
129
129
|
"publishConfig": { "access": "public" },
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "e5c7481779e32bd9810613c299e775bc033c9eac"
|
|
131
131
|
}
|