@powerlines/plugin-tsup 0.12.8 → 0.12.10
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/chunk-FBBMZ4NC.cjs +7 -0
- package/dist/chunk-UCUR73HG.js +7 -0
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/index.d.cts +24 -0
- package/dist/helpers/index.d.ts +24 -0
- package/dist/helpers/index.js +1 -0
- package/dist/helpers/unplugin.cjs +7 -0
- package/dist/helpers/unplugin.d.cts +27 -0
- package/dist/helpers/unplugin.d.ts +27 -0
- package/dist/helpers/unplugin.js +7 -0
- package/dist/index-CFRDkwo3.d.cts +1314 -0
- package/dist/index-CFRDkwo3.d.ts +1314 -0
- package/dist/src/index.cjs +7 -0
- package/dist/src/index.d.cts +32 -0
- package/dist/src/index.d.ts +32 -0
- package/dist/src/index.js +7 -0
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +22 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/types/index.js +1 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +22 -0
- package/dist/types/plugin.d.ts +22 -0
- package/dist/types/plugin.js +0 -0
- package/package.json +8 -8
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('../chunk-FBBMZ4NC.cjs'),types$1=require('@storm-software/config-tools/types'),tsup=require('@storm-software/tsup'),append=require('@stryke/path/append'),a=require('defu'),tsup$1=require('powerlines/lib/build/tsup'),unplugin=require('./helpers/unplugin'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var a__default=/*#__PURE__*/_interopDefault(a);/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
const c=chunkFBBMZ4NC_cjs.a((n={})=>({name:"tsup",config(){return this.log(types$1.LogLevelLabel.TRACE,"Providing default configuration for the Powerlines `tsup` build plugin."),{output:{format:["cjs","esm"]},build:{...n,variant:"tsup"}}},async build(){return tsup.build(await tsup.resolveOptions(a__default.default({config:false,entry:Object.fromEntries(Object.entries(tsup$1.resolveTsupEntry(this,this.entry)).map(([i,t])=>[i,append.appendPath(t,this.config.projectRoot)])),esbuildOptions:chunkFBBMZ4NC_cjs.a((i,t)=>{this.config.build.variant==="tsup"&&(this.config.build.esbuildOptions?this.config.build.esbuildOptions?.(i,t):this.config.override.esbuildOptions&&this.config.override.esbuildOptions?.(i,t)),i.alias={...this.builtins.reduce((o,e)=>{const r=this.fs.ids[e];return r&&(o[e]=r),o},{}),...i.alias};},"esbuildOptions"),silent:false,verbose:true},tsup$1.extractTsupConfig(this),{esbuildPlugins:[unplugin.createTsupPlugin(this)]})))}}),"plugin");var A=c;exports.default=A;exports.plugin=c;Object.keys(helpers).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return helpers[k]}})});Object.keys(types).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return types[k]}})});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from '../index-CFRDkwo3.cjs';
|
|
2
|
+
export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.cjs';
|
|
3
|
+
export { createTsupPlugin } from '../helpers/unplugin.cjs';
|
|
4
|
+
import '@storm-software/tsup/types';
|
|
5
|
+
import '@storm-software/build-tools/types';
|
|
6
|
+
import '@storm-software/config-tools/types';
|
|
7
|
+
import '@storm-software/config/types';
|
|
8
|
+
import '@stryke/types/base';
|
|
9
|
+
import '@stryke/types/configuration';
|
|
10
|
+
import '@stryke/types/file';
|
|
11
|
+
import 'vite';
|
|
12
|
+
import '@stryke/env/get-env-paths';
|
|
13
|
+
import '@stryke/types/package-json';
|
|
14
|
+
import 'jiti';
|
|
15
|
+
import 'oxc-parser';
|
|
16
|
+
import 'semver';
|
|
17
|
+
import 'unplugin';
|
|
18
|
+
import '@stryke/types/tsconfig';
|
|
19
|
+
import 'typescript';
|
|
20
|
+
import '@stryke/json/types';
|
|
21
|
+
import 'memfs';
|
|
22
|
+
import 'node:fs';
|
|
23
|
+
import 'unionfs';
|
|
24
|
+
import '@stryke/types/array';
|
|
25
|
+
import 'esbuild';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A Powerlines plugin to use Tsup to build the project.
|
|
29
|
+
*/
|
|
30
|
+
declare const plugin: <TContext extends TsupPluginContext = TsupPluginContext>(options?: TsupPluginOptions) => Plugin<TContext>;
|
|
31
|
+
|
|
32
|
+
export { TsupPluginContext, TsupPluginOptions, plugin as default, plugin };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from '../index-CFRDkwo3.js';
|
|
2
|
+
export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.js';
|
|
3
|
+
export { createTsupPlugin } from '../helpers/unplugin.js';
|
|
4
|
+
import '@storm-software/tsup/types';
|
|
5
|
+
import '@storm-software/build-tools/types';
|
|
6
|
+
import '@storm-software/config-tools/types';
|
|
7
|
+
import '@storm-software/config/types';
|
|
8
|
+
import '@stryke/types/base';
|
|
9
|
+
import '@stryke/types/configuration';
|
|
10
|
+
import '@stryke/types/file';
|
|
11
|
+
import 'vite';
|
|
12
|
+
import '@stryke/env/get-env-paths';
|
|
13
|
+
import '@stryke/types/package-json';
|
|
14
|
+
import 'jiti';
|
|
15
|
+
import 'oxc-parser';
|
|
16
|
+
import 'semver';
|
|
17
|
+
import 'unplugin';
|
|
18
|
+
import '@stryke/types/tsconfig';
|
|
19
|
+
import 'typescript';
|
|
20
|
+
import '@stryke/json/types';
|
|
21
|
+
import 'memfs';
|
|
22
|
+
import 'node:fs';
|
|
23
|
+
import 'unionfs';
|
|
24
|
+
import '@stryke/types/array';
|
|
25
|
+
import 'esbuild';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A Powerlines plugin to use Tsup to build the project.
|
|
29
|
+
*/
|
|
30
|
+
declare const plugin: <TContext extends TsupPluginContext = TsupPluginContext>(options?: TsupPluginOptions) => Plugin<TContext>;
|
|
31
|
+
|
|
32
|
+
export { TsupPluginContext, TsupPluginOptions, plugin as default, plugin };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {a}from'../chunk-UCUR73HG.js';import {LogLevelLabel}from'@storm-software/config-tools/types';import {build,resolveOptions}from'@storm-software/tsup';import {appendPath}from'@stryke/path/append';import a$1 from'defu';import {resolveTsupEntry,extractTsupConfig}from'powerlines/lib/build/tsup';import {createTsupPlugin}from'./helpers/unplugin';export*from'./helpers';export*from'./types';/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
const c=a((n={})=>({name:"tsup",config(){return this.log(LogLevelLabel.TRACE,"Providing default configuration for the Powerlines `tsup` build plugin."),{output:{format:["cjs","esm"]},build:{...n,variant:"tsup"}}},async build(){return build(await resolveOptions(a$1({config:false,entry:Object.fromEntries(Object.entries(resolveTsupEntry(this,this.entry)).map(([i,t])=>[i,appendPath(t,this.config.projectRoot)])),esbuildOptions:a((i,t)=>{this.config.build.variant==="tsup"&&(this.config.build.esbuildOptions?this.config.build.esbuildOptions?.(i,t):this.config.override.esbuildOptions&&this.config.override.esbuildOptions?.(i,t)),i.alias={...this.builtins.reduce((o,e)=>{const r=this.fs.ids[e];return r&&(o[e]=r),o},{}),...i.alias};},"esbuildOptions"),silent:false,verbose:true},extractTsupConfig(this),{esbuildPlugins:[createTsupPlugin(this)]})))}}),"plugin");var k=c;export{k as default,c as plugin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var plugin=require('./plugin');Object.keys(plugin).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return plugin[k]}})});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.cjs';
|
|
2
|
+
import '@storm-software/tsup/types';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/types/package-json';
|
|
12
|
+
import 'jiti';
|
|
13
|
+
import 'oxc-parser';
|
|
14
|
+
import 'semver';
|
|
15
|
+
import 'unplugin';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
import '@stryke/types/array';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.js';
|
|
2
|
+
import '@storm-software/tsup/types';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/types/package-json';
|
|
12
|
+
import 'jiti';
|
|
13
|
+
import 'oxc-parser';
|
|
14
|
+
import 'semver';
|
|
15
|
+
import 'unplugin';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
import '@stryke/types/array';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from'./plugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.cjs';
|
|
2
|
+
import '@storm-software/tsup/types';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/types/package-json';
|
|
12
|
+
import 'jiti';
|
|
13
|
+
import 'oxc-parser';
|
|
14
|
+
import 'semver';
|
|
15
|
+
import 'unplugin';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
import '@stryke/types/array';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.js';
|
|
2
|
+
import '@storm-software/tsup/types';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/types/package-json';
|
|
12
|
+
import 'jiti';
|
|
13
|
+
import 'oxc-parser';
|
|
14
|
+
import 'semver';
|
|
15
|
+
import 'unplugin';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
import '@stryke/types/array';
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-tsup",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.10",
|
|
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.
|
|
131
|
-
"@stryke/path": "^0.
|
|
130
|
+
"@storm-software/tsup": "^0.2.17",
|
|
131
|
+
"@stryke/path": "^0.18.5",
|
|
132
132
|
"@stryke/type-checks": "^0.3.10",
|
|
133
133
|
"@stryke/types": "^0.10.0",
|
|
134
134
|
"defu": "^6.1.4",
|
|
135
|
-
"powerlines": "^0.
|
|
135
|
+
"powerlines": "^0.16.0"
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
|
-
"@powerlines/nx": "^0.
|
|
139
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
140
|
-
"@types/node": "^22.
|
|
138
|
+
"@powerlines/nx": "^0.10.1",
|
|
139
|
+
"@powerlines/plugin-plugin": "^0.11.9",
|
|
140
|
+
"@types/node": "^22.19.0"
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
|
-
"gitHead": "
|
|
143
|
+
"gitHead": "097e9f257b733719a3aead815ef79686f4c46f25"
|
|
144
144
|
}
|