@powerlines/plugin-tsup 0.12.47 → 0.12.49
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/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/unplugin.d.cts +1 -1
- package/dist/helpers/unplugin.d.ts +1 -1
- package/dist/{index-CNldb8er.d.cts → index-CeCvBF6m.d.cts} +3 -3
- package/dist/{index-CNldb8er.d.ts → index-CeCvBF6m.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
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { createTsupPlugin } from './unplugin.cjs';
|
|
2
2
|
import 'esbuild';
|
|
3
|
-
import '../index-
|
|
3
|
+
import '../index-CeCvBF6m.cjs';
|
|
4
4
|
import '@storm-software/tsup/types';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
|
6
6
|
import '@storm-software/config-tools/types';
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as esbuild from 'esbuild';
|
|
2
|
-
import { T as TsupPluginContext } from '../index-
|
|
2
|
+
import { T as TsupPluginContext } from '../index-CeCvBF6m.cjs';
|
|
3
3
|
import '@storm-software/tsup/types';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as esbuild from 'esbuild';
|
|
2
|
-
import { T as TsupPluginContext } from '../index-
|
|
2
|
+
import { T as TsupPluginContext } from '../index-CeCvBF6m.js';
|
|
3
3
|
import '@storm-software/tsup/types';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -1439,7 +1439,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1439
1439
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1440
1440
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
1441
1441
|
};
|
|
1442
|
-
interface Plugin<
|
|
1442
|
+
interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
|
|
1443
1443
|
/**
|
|
1444
1444
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1445
1445
|
*/
|
|
@@ -1470,7 +1470,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1470
1470
|
* @param other - The other plugin to compare against.
|
|
1471
1471
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
1472
1472
|
*/
|
|
1473
|
-
dedupe?: false | ((other: Plugin<
|
|
1473
|
+
dedupe?: false | ((other: Plugin<TContext>) => boolean);
|
|
1474
1474
|
/**
|
|
1475
1475
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
1476
1476
|
*/
|
|
@@ -1481,7 +1481,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1481
1481
|
* @param environment - The environment to check.
|
|
1482
1482
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1483
1483
|
*/
|
|
1484
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<
|
|
1484
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
|
|
1485
1485
|
}
|
|
1486
1486
|
|
|
1487
1487
|
type TsupPluginOptions = Partial<TsupBuildConfig>;
|
|
@@ -1439,7 +1439,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1439
1439
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1440
1440
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
1441
1441
|
};
|
|
1442
|
-
interface Plugin<
|
|
1442
|
+
interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
|
|
1443
1443
|
/**
|
|
1444
1444
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1445
1445
|
*/
|
|
@@ -1470,7 +1470,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1470
1470
|
* @param other - The other plugin to compare against.
|
|
1471
1471
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
1472
1472
|
*/
|
|
1473
|
-
dedupe?: false | ((other: Plugin<
|
|
1473
|
+
dedupe?: false | ((other: Plugin<TContext>) => boolean);
|
|
1474
1474
|
/**
|
|
1475
1475
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
1476
1476
|
*/
|
|
@@ -1481,7 +1481,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1481
1481
|
* @param environment - The environment to check.
|
|
1482
1482
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1483
1483
|
*/
|
|
1484
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<
|
|
1484
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
|
|
1485
1485
|
}
|
|
1486
1486
|
|
|
1487
1487
|
type TsupPluginOptions = Partial<TsupBuildConfig>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from './index-
|
|
1
|
+
import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from './index-CeCvBF6m.cjs';
|
|
2
|
+
export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from './index-CeCvBF6m.cjs';
|
|
3
3
|
export { createTsupPlugin } from './helpers/unplugin.cjs';
|
|
4
4
|
import '@storm-software/tsup/types';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from './index-
|
|
1
|
+
import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from './index-CeCvBF6m.js';
|
|
2
|
+
export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from './index-CeCvBF6m.js';
|
|
3
3
|
export { createTsupPlugin } from './helpers/unplugin.js';
|
|
4
4
|
import '@storm-software/tsup/types';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from '../index-
|
|
1
|
+
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from '../index-CeCvBF6m.cjs';
|
|
2
2
|
import '@storm-software/tsup/types';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from '../index-
|
|
1
|
+
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from '../index-CeCvBF6m.js';
|
|
2
2
|
import '@storm-software/tsup/types';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from '../index-
|
|
1
|
+
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from '../index-CeCvBF6m.cjs';
|
|
2
2
|
import '@storm-software/tsup/types';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from '../index-
|
|
1
|
+
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from '../index-CeCvBF6m.js';
|
|
2
2
|
import '@storm-software/tsup/types';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-tsup",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.49",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -127,18 +127,18 @@
|
|
|
127
127
|
"files": ["dist/**/*"],
|
|
128
128
|
"keywords": ["tsup", "powerlines", "storm-software", "powerlines-plugin"],
|
|
129
129
|
"dependencies": {
|
|
130
|
-
"@storm-software/tsup": "^0.2.
|
|
130
|
+
"@storm-software/tsup": "^0.2.47",
|
|
131
131
|
"@stryke/path": "^0.21.2",
|
|
132
132
|
"@stryke/type-checks": "^0.3.18",
|
|
133
133
|
"@stryke/types": "^0.10.8",
|
|
134
134
|
"defu": "^6.1.4",
|
|
135
|
-
"powerlines": "^0.25.
|
|
135
|
+
"powerlines": "^0.25.2"
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
|
-
"@powerlines/nx": "^0.10.
|
|
139
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
138
|
+
"@powerlines/nx": "^0.10.40",
|
|
139
|
+
"@powerlines/plugin-plugin": "^0.11.48",
|
|
140
140
|
"@types/node": "^24.10.1"
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
|
-
"gitHead": "
|
|
143
|
+
"gitHead": "e5c7481779e32bd9810613c299e775bc033c9eac"
|
|
144
144
|
}
|