@powerlines/plugin-tsup 0.12.56 → 0.12.57
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/README.md +10 -10
- package/dist/helpers/index.cjs +1 -1
- package/dist/helpers/index.d.cts +4 -25
- package/dist/helpers/index.d.mts +4 -0
- package/dist/helpers/index.mjs +1 -0
- package/dist/helpers/unplugin.cjs +1 -7
- package/dist/helpers/unplugin.d.cts +3 -28
- package/dist/helpers/unplugin.d.mts +3 -0
- package/dist/helpers/unplugin.mjs +1 -0
- package/dist/helpers-CRPRhztf.mjs +1 -0
- package/dist/index-9iG2qHLe.d.mts +1 -0
- package/dist/index-D4ELpJXS.d.cts +1 -0
- package/dist/index-D6CnpA_r.d.cts +1 -0
- package/dist/index-DL0uimUT.d.mts +1 -0
- package/dist/index.cjs +1 -7
- package/dist/index.d.cts +9 -28
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/plugin-BjiGfRHE.mjs +1 -0
- package/dist/plugin-CD-0vofp.d.mts +1656 -0
- package/dist/plugin-CD-0vofp.d.mts.map +1 -0
- package/dist/plugin-TcZ_5Q61.d.cts +1655 -0
- package/dist/plugin-TcZ_5Q61.d.cts.map +1 -0
- package/dist/plugin-pBKbb5K9.cjs +0 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +3 -23
- package/dist/types/index.d.mts +3 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/plugin.cjs +1 -1
- package/dist/types/plugin.d.cts +2 -23
- package/dist/types/plugin.d.mts +2 -0
- package/dist/types/plugin.mjs +1 -0
- package/dist/types-n6NgD0QK.mjs +1 -0
- package/dist/types-o3zWarRp.cjs +0 -0
- package/dist/unplugin-BCi_pCcu.mjs +7 -0
- package/dist/unplugin-BCi_pCcu.mjs.map +1 -0
- package/dist/unplugin-Bv3_8au7.d.mts +8 -0
- package/dist/unplugin-Bv3_8au7.d.mts.map +1 -0
- package/dist/unplugin-CB8KRCAV.d.cts +8 -0
- package/dist/unplugin-CB8KRCAV.d.cts.map +1 -0
- package/dist/unplugin-DboWsLXq.cjs +44 -0
- package/package.json +50 -32
- package/dist/chunk-FBBMZ4NC.cjs +0 -7
- package/dist/chunk-UCUR73HG.js +0 -7
- package/dist/helpers/index.d.ts +0 -25
- package/dist/helpers/index.js +0 -1
- package/dist/helpers/unplugin.d.ts +0 -28
- package/dist/helpers/unplugin.js +0 -7
- package/dist/index-CEuF2HiW.d.cts +0 -1566
- package/dist/index-CEuF2HiW.d.ts +0 -1566
- package/dist/index.d.ts +0 -33
- package/dist/index.js +0 -7
- package/dist/types/index.d.ts +0 -23
- package/dist/types/index.js +0 -1
- package/dist/types/plugin.d.ts +0 -23
- /package/dist/{types/plugin.js → helpers-LF26RHol.cjs} +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from './index-CEuF2HiW.js';
|
|
2
|
-
export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig, f as __ΩTsupPluginContext, _ as __ΩTsupPluginOptions, e as __ΩTsupPluginResolvedConfig, d as __ΩTsupPluginUserConfig } from './index-CEuF2HiW.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/http/fetch';
|
|
14
|
-
import '@stryke/types/package-json';
|
|
15
|
-
import 'jiti';
|
|
16
|
-
import 'magic-string';
|
|
17
|
-
import 'oxc-parser';
|
|
18
|
-
import 'semver';
|
|
19
|
-
import 'ts-morph';
|
|
20
|
-
import 'undici';
|
|
21
|
-
import 'unplugin';
|
|
22
|
-
import '@stryke/fs/resolve';
|
|
23
|
-
import '@stryke/types/tsconfig';
|
|
24
|
-
import 'typescript';
|
|
25
|
-
import '@stryke/types/array';
|
|
26
|
-
import 'esbuild';
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* A Powerlines plugin to use Tsup to build the project.
|
|
30
|
-
*/
|
|
31
|
-
declare const plugin: <TContext extends TsupPluginContext = TsupPluginContext>(options?: TsupPluginOptions) => Plugin<TContext>;
|
|
32
|
-
|
|
33
|
-
export { TsupPluginContext, TsupPluginOptions, plugin as default, plugin };
|
package/dist/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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((r={})=>({name:"tsup",config(){return this.log(LogLevelLabel.TRACE,"Providing default configuration for the Powerlines `tsup` build plugin."),{output:{format:["cjs","esm"]},build:{...r,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),i.alias={...this.builtins.reduce((s,e)=>{const n=this.fs.ids[e];return n&&(s[e]=n),s},{}),...i.alias};},"esbuildOptions"),silent:false,verbose:true},extractTsupConfig(this),{esbuildPlugins:[createTsupPlugin(this)]})))}}),"plugin");var k=c;export{k as default,c as plugin};
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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-CEuF2HiW.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/http/fetch';
|
|
12
|
-
import '@stryke/types/package-json';
|
|
13
|
-
import 'jiti';
|
|
14
|
-
import 'magic-string';
|
|
15
|
-
import 'oxc-parser';
|
|
16
|
-
import 'semver';
|
|
17
|
-
import 'ts-morph';
|
|
18
|
-
import 'undici';
|
|
19
|
-
import 'unplugin';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/tsconfig';
|
|
22
|
-
import 'typescript';
|
|
23
|
-
import '@stryke/types/array';
|
package/dist/types/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from'./plugin';
|
package/dist/types/plugin.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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-CEuF2HiW.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/http/fetch';
|
|
12
|
-
import '@stryke/types/package-json';
|
|
13
|
-
import 'jiti';
|
|
14
|
-
import 'magic-string';
|
|
15
|
-
import 'oxc-parser';
|
|
16
|
-
import 'semver';
|
|
17
|
-
import 'ts-morph';
|
|
18
|
-
import 'undici';
|
|
19
|
-
import 'unplugin';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/tsconfig';
|
|
22
|
-
import 'typescript';
|
|
23
|
-
import '@stryke/types/array';
|
|
File without changes
|