@powerlines/plugin-tsup 0.12.670 → 0.12.672
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/{build-DEniuXOS.d.cts → build-2ZXlC1kb.d.cts} +1 -3
- package/dist/build-2ZXlC1kb.d.cts.map +1 -0
- package/dist/{build-DEniuXOS.d.mts → build-2ZXlC1kb.d.mts} +1 -3
- package/dist/build-2ZXlC1kb.d.mts.map +1 -0
- package/dist/index.cjs +2 -4
- package/dist/index.d.cts +1 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/types/build.d.cts +1 -1
- package/dist/types/build.d.mts +1 -1
- package/dist/types/index.cjs +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -3
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +1 -3
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +13 -13
- package/dist/build-DEniuXOS.d.cts.map +0 -1
- package/dist/build-DEniuXOS.d.mts.map +0 -1
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { BuildOptions } from "@storm-software/tsup/types";
|
|
2
|
-
//#region src/types/build.d.ts
|
|
3
2
|
type TsupOptions = Partial<Omit<BuildOptions, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">>;
|
|
4
|
-
//#endregion
|
|
5
3
|
export { TsupOptions as t };
|
|
6
|
-
//# sourceMappingURL=build-
|
|
4
|
+
//# sourceMappingURL=build-2ZXlC1kb.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-2ZXlC1kb.d.cts","names":["ExternalTsupOptions"],"sources":["../src/types/build.ts"],"mappings":";KAoBY,cAAc,QACxB,KACEA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { BuildOptions } from "@storm-software/tsup/types";
|
|
2
|
-
//#region src/types/build.d.ts
|
|
3
2
|
type TsupOptions = Partial<Omit<BuildOptions, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">>;
|
|
4
|
-
//#endregion
|
|
5
3
|
export { TsupOptions as t };
|
|
6
|
-
//# sourceMappingURL=build-
|
|
4
|
+
//# sourceMappingURL=build-2ZXlC1kb.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-2ZXlC1kb.d.mts","names":["ExternalTsupOptions"],"sources":["../src/types/build.ts"],"mappings":";KAoBY,cAAc,QACxB,KACEA"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,7 +25,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
//#endregion
|
|
29
28
|
let _powerlines_core_lib_unplugin = require("@powerlines/core/lib/unplugin");
|
|
30
29
|
let _powerlines_unplugin_tsup = require("@powerlines/unplugin/tsup");
|
|
31
30
|
let _storm_software_tsup = require("@storm-software/tsup");
|
|
@@ -34,7 +33,7 @@ defu = __toESM(defu, 1);
|
|
|
34
33
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
35
34
|
let unplugin = require("unplugin");
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
// src/index.ts
|
|
38
37
|
/**
|
|
39
38
|
* A Powerlines plugin to use Tsup to build the project.
|
|
40
39
|
*/
|
|
@@ -68,5 +67,4 @@ const plugin = (options = {}) => {
|
|
|
68
67
|
};
|
|
69
68
|
};
|
|
70
69
|
|
|
71
|
-
//#endregion
|
|
72
70
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as TsupOptions } from "./build-
|
|
1
|
+
import { t as TsupOptions } from "./build-2ZXlC1kb.cjs";
|
|
2
2
|
import { TsupPluginContext, TsupPluginOptions, TsupPluginResolvedConfig, TsupPluginUserConfig } from "./types/plugin.cjs";
|
|
3
3
|
import "./types/index.cjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
|
5
|
-
//#region src/index.d.ts
|
|
6
5
|
declare module "powerlines" {
|
|
7
6
|
interface Config {
|
|
8
7
|
tsup?: TsupPluginOptions;
|
|
@@ -12,6 +11,5 @@ declare module "powerlines" {
|
|
|
12
11
|
* A Powerlines plugin to use Tsup to build the project.
|
|
13
12
|
*/
|
|
14
13
|
declare const plugin: <TContext extends TsupPluginContext = TsupPluginContext>(options?: TsupPluginOptions) => Plugin<TContext>;
|
|
15
|
-
//#endregion
|
|
16
14
|
export { type TsupOptions, type TsupPluginContext, type TsupPluginOptions, type TsupPluginResolvedConfig, type TsupPluginUserConfig, plugin };
|
|
17
15
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAmCY;IACR,OAAO;;;;;;cAOE,SAAU,iBAAiB,oBAAoB,mBAC1D,UAAS,sBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as TsupOptions } from "./build-
|
|
1
|
+
import { t as TsupOptions } from "./build-2ZXlC1kb.mjs";
|
|
2
2
|
import { TsupPluginContext, TsupPluginOptions, TsupPluginResolvedConfig, TsupPluginUserConfig } from "./types/plugin.mjs";
|
|
3
3
|
import "./types/index.mjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
|
5
|
-
//#region src/index.d.ts
|
|
6
5
|
declare module "powerlines" {
|
|
7
6
|
interface Config {
|
|
8
7
|
tsup?: TsupPluginOptions;
|
|
@@ -12,6 +11,5 @@ declare module "powerlines" {
|
|
|
12
11
|
* A Powerlines plugin to use Tsup to build the project.
|
|
13
12
|
*/
|
|
14
13
|
declare const plugin: <TContext extends TsupPluginContext = TsupPluginContext>(options?: TsupPluginOptions) => Plugin<TContext>;
|
|
15
|
-
//#endregion
|
|
16
14
|
export { type TsupOptions, type TsupPluginContext, type TsupPluginOptions, type TsupPluginResolvedConfig, type TsupPluginUserConfig, plugin };
|
|
17
15
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAmCY;IACR,OAAO;;;;;;cAOE,SAAU,iBAAiB,oBAAoB,mBAC1D,UAAS,sBACR,OAAO"}
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import defu from "defu";
|
|
|
5
5
|
import { formatConfig } from "powerlines/plugin-utils";
|
|
6
6
|
import { createEsbuildPlugin } from "unplugin";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// src/index.ts
|
|
9
9
|
/**
|
|
10
10
|
* A Powerlines plugin to use Tsup to build the project.
|
|
11
11
|
*/
|
|
@@ -39,6 +39,5 @@ const plugin = (options = {}) => {
|
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
//#endregion
|
|
43
42
|
export { plugin };
|
|
44
43
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/build.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TsupOptions } from "../build-
|
|
1
|
+
import { t as TsupOptions } from "../build-2ZXlC1kb.cjs";
|
|
2
2
|
export { TsupOptions };
|
package/dist/types/build.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TsupOptions } from "../build-
|
|
1
|
+
import { t as TsupOptions } from "../build-2ZXlC1kb.mjs";
|
|
2
2
|
export { TsupOptions };
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require(
|
|
2
|
-
require(
|
|
1
|
+
require("./plugin.cjs");
|
|
2
|
+
require("./build.cjs");
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as TsupOptions } from "../build-
|
|
1
|
+
import { t as TsupOptions } from "../build-2ZXlC1kb.cjs";
|
|
2
2
|
import { TsupPluginContext, TsupPluginOptions, TsupPluginResolvedConfig, TsupPluginUserConfig } from "./plugin.cjs";
|
|
3
3
|
export { TsupOptions, TsupPluginContext, TsupPluginOptions, TsupPluginResolvedConfig, TsupPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as TsupOptions } from "../build-
|
|
1
|
+
import { t as TsupOptions } from "../build-2ZXlC1kb.mjs";
|
|
2
2
|
import { TsupPluginContext, TsupPluginOptions, TsupPluginResolvedConfig, TsupPluginUserConfig } from "./plugin.mjs";
|
|
3
3
|
export { TsupOptions, TsupPluginContext, TsupPluginOptions, TsupPluginResolvedConfig, TsupPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as TsupOptions } from "../build-
|
|
1
|
+
import { t as TsupOptions } from "../build-2ZXlC1kb.cjs";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
type TsupPluginOptions = Partial<TsupOptions>;
|
|
5
4
|
interface TsupPluginUserConfig extends UserConfig {
|
|
6
5
|
tsup?: TsupPluginOptions;
|
|
@@ -9,6 +8,5 @@ interface TsupPluginResolvedConfig extends ResolvedConfig {
|
|
|
9
8
|
tsup: TsupOptions;
|
|
10
9
|
}
|
|
11
10
|
type TsupPluginContext<TResolvedConfig extends TsupPluginResolvedConfig = TsupPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
12
|
-
//#endregion
|
|
13
11
|
export { TsupPluginContext, TsupPluginOptions, TsupPluginResolvedConfig, TsupPluginUserConfig };
|
|
14
12
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;KAqBY,oBAAoB,QAAQ;UAEvB,6BAA6B;EAC5C,OAAO;;UAGQ,iCAAiC;EAChD,MAAM;;KAGI,kBACV,wBAAwB,2BAA2B,4BACjD,cAAc"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as TsupOptions } from "../build-
|
|
1
|
+
import { t as TsupOptions } from "../build-2ZXlC1kb.mjs";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
type TsupPluginOptions = Partial<TsupOptions>;
|
|
5
4
|
interface TsupPluginUserConfig extends UserConfig {
|
|
6
5
|
tsup?: TsupPluginOptions;
|
|
@@ -9,6 +8,5 @@ interface TsupPluginResolvedConfig extends ResolvedConfig {
|
|
|
9
8
|
tsup: TsupOptions;
|
|
10
9
|
}
|
|
11
10
|
type TsupPluginContext<TResolvedConfig extends TsupPluginResolvedConfig = TsupPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
12
|
-
//#endregion
|
|
13
11
|
export { TsupPluginContext, TsupPluginOptions, TsupPluginResolvedConfig, TsupPluginUserConfig };
|
|
14
12
|
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;KAqBY,oBAAoB,QAAQ;UAEvB,6BAA6B;EAC5C,OAAO;;UAGQ,iCAAiC;EAChD,MAAM;;KAGI,kBACV,wBAAwB,2BAA2B,4BACjD,cAAc"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-tsup",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.672",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"keywords": ["tsup", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -68,21 +68,21 @@
|
|
|
68
68
|
"typings": "dist/index.d.mts",
|
|
69
69
|
"files": ["dist"],
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@powerlines/core": "^0.48.
|
|
72
|
-
"@powerlines/unplugin": "^0.0.
|
|
73
|
-
"@storm-software/build-tools": "^0.158.
|
|
74
|
-
"@stryke/convert": "^0.7.
|
|
75
|
-
"@stryke/helpers": "^0.10.
|
|
76
|
-
"@stryke/path": "^0.29.
|
|
77
|
-
"@stryke/type-checks": "^0.6.
|
|
78
|
-
"@stryke/types": "^0.12.
|
|
71
|
+
"@powerlines/core": "^0.48.134",
|
|
72
|
+
"@powerlines/unplugin": "^0.0.182",
|
|
73
|
+
"@storm-software/build-tools": "^0.158.311",
|
|
74
|
+
"@stryke/convert": "^0.7.47",
|
|
75
|
+
"@stryke/helpers": "^0.10.56",
|
|
76
|
+
"@stryke/path": "^0.29.43",
|
|
77
|
+
"@stryke/type-checks": "^0.6.49",
|
|
78
|
+
"@stryke/types": "^0.12.44",
|
|
79
79
|
"defu": "^6.1.7",
|
|
80
|
-
"powerlines": "^0.47.
|
|
80
|
+
"powerlines": "^0.47.215",
|
|
81
81
|
"unplugin": "^3.4.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@storm-software/tsup": "^0.2.
|
|
85
|
-
"@types/node": "^25.9.
|
|
84
|
+
"@storm-software/tsup": "^0.2.309",
|
|
85
|
+
"@types/node": "^25.9.9",
|
|
86
86
|
"tsup": "8.4.0"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": { "@storm-software/tsup": ">=0.57.0", "tsup": ">=8.4.0" },
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"tsup": { "optional": false }
|
|
92
92
|
},
|
|
93
93
|
"publishConfig": { "access": "public" },
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
95
95
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-DEniuXOS.d.cts","names":[],"sources":["../src/types/build.ts"],"mappings":";;KAoBY,cAAc,QACxB,KACE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-DEniuXOS.d.mts","names":[],"sources":["../src/types/build.ts"],"mappings":";;KAoBY,cAAc,QACxB,KACE"}
|