@powerlines/plugin-tsup 0.12.72 → 0.12.74
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.
|
@@ -178,7 +178,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = { [TKey in ke
|
|
|
178
178
|
}) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
|
|
179
179
|
};
|
|
180
180
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = { [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant> };
|
|
181
|
-
interface Plugin<
|
|
181
|
+
interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
|
|
182
182
|
/**
|
|
183
183
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
184
184
|
*/
|
|
@@ -215,7 +215,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
215
215
|
* @param other - The other plugin to compare against.
|
|
216
216
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
217
217
|
*/
|
|
218
|
-
dedupe?: false | ((other: Plugin<
|
|
218
|
+
dedupe?: false | ((other: Plugin<any>) => boolean);
|
|
219
219
|
/**
|
|
220
220
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
221
221
|
*/
|
|
@@ -178,7 +178,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = { [TKey in ke
|
|
|
178
178
|
}) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
|
|
179
179
|
};
|
|
180
180
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = { [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant> };
|
|
181
|
-
interface Plugin<
|
|
181
|
+
interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
|
|
182
182
|
/**
|
|
183
183
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
184
184
|
*/
|
|
@@ -215,7 +215,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
215
215
|
* @param other - The other plugin to compare against.
|
|
216
216
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
217
217
|
*/
|
|
218
|
-
dedupe?: false | ((other: Plugin<
|
|
218
|
+
dedupe?: false | ((other: Plugin<any>) => boolean);
|
|
219
219
|
/**
|
|
220
220
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
221
221
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-tsup",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.74",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -150,13 +150,13 @@
|
|
|
150
150
|
"@stryke/type-checks": "^0.5.9",
|
|
151
151
|
"@stryke/types": "^0.10.23",
|
|
152
152
|
"defu": "^6.1.4",
|
|
153
|
-
"powerlines": "^0.31.
|
|
153
|
+
"powerlines": "^0.31.2"
|
|
154
154
|
},
|
|
155
155
|
"devDependencies": {
|
|
156
|
-
"@powerlines/nx": "^0.10.
|
|
157
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
158
|
-
"@types/node": "^24.10.
|
|
156
|
+
"@powerlines/nx": "^0.10.65",
|
|
157
|
+
"@powerlines/plugin-plugin": "^0.12.17",
|
|
158
|
+
"@types/node": "^24.10.4"
|
|
159
159
|
},
|
|
160
160
|
"publishConfig": { "access": "public" },
|
|
161
|
-
"gitHead": "
|
|
161
|
+
"gitHead": "a94a0a087014c5ac4d4f4faf928695f95abe097f"
|
|
162
162
|
}
|