@powerlines/plugin-unbuild 0.5.54 → 0.5.56
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/{index-DZKa_16m.d.cts → index-CswcA74A.d.cts} +76 -6
- package/dist/{index-DZKa_16m.d.ts → index-CswcA74A.d.ts} +76 -6
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/types/index.d.cts +4 -1
- package/dist/types/index.d.ts +4 -1
- package/dist/types/plugin.d.cts +4 -1
- package/dist/types/plugin.d.ts +4 -1
- package/package.json +10 -10
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { UnbuildOptions } from '@storm-software/unbuild/types';
|
|
2
2
|
import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
3
|
+
import { FetchRequestOptions } from '@stryke/http/fetch';
|
|
3
4
|
import { MaybePromise, NonUndefined, FunctionLike } from '@stryke/types/base';
|
|
4
5
|
import { PackageJson } from '@stryke/types/package-json';
|
|
5
6
|
import { Jiti } from 'jiti';
|
|
6
7
|
import { SourceMap } from 'magic-string';
|
|
8
|
+
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
7
9
|
import { Range } from 'semver';
|
|
8
10
|
import { Project } from 'ts-morph';
|
|
11
|
+
import { RequestInfo, Response } from 'undici';
|
|
9
12
|
import { UnpluginMessage, ExternalIdResult, UnpluginContext, UnpluginBuildContext, TransformResult as TransformResult$1, HookFilter, UnpluginOptions } from 'unplugin';
|
|
10
13
|
import { Format } from '@storm-software/build-tools/types';
|
|
11
14
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
@@ -619,6 +622,22 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
619
622
|
*/
|
|
620
623
|
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
621
624
|
type ProjectType = "application" | "library";
|
|
625
|
+
interface DeployConfig {
|
|
626
|
+
/**
|
|
627
|
+
* The deployment variant being used by the Powerlines engine.
|
|
628
|
+
*
|
|
629
|
+
* @example
|
|
630
|
+
* ```ts
|
|
631
|
+
* export default defineConfig({
|
|
632
|
+
* deploy: {
|
|
633
|
+
* variant: "cloudflare"
|
|
634
|
+
* }
|
|
635
|
+
* });
|
|
636
|
+
*
|
|
637
|
+
* ```
|
|
638
|
+
*/
|
|
639
|
+
variant?: string;
|
|
640
|
+
}
|
|
622
641
|
interface OutputConfig {
|
|
623
642
|
/**
|
|
624
643
|
* The path to output the final compiled files to
|
|
@@ -741,7 +760,7 @@ interface BaseConfig {
|
|
|
741
760
|
* @remarks
|
|
742
761
|
* If set to `false`, the deployment will be disabled.
|
|
743
762
|
*/
|
|
744
|
-
deploy?:
|
|
763
|
+
deploy?: DeployConfig | false;
|
|
745
764
|
/**
|
|
746
765
|
* The path to the tsconfig file to be used by the compiler
|
|
747
766
|
*
|
|
@@ -868,7 +887,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
868
887
|
*/
|
|
869
888
|
framework?: string;
|
|
870
889
|
}
|
|
871
|
-
|
|
890
|
+
interface UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> extends Omit<CommonUserConfig, "build"> {
|
|
872
891
|
/**
|
|
873
892
|
* Configuration provided to build processes
|
|
874
893
|
*
|
|
@@ -888,7 +907,7 @@ type UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedCo
|
|
|
888
907
|
*/
|
|
889
908
|
override?: Partial<TBuildResolvedConfig>;
|
|
890
909
|
};
|
|
891
|
-
}
|
|
910
|
+
}
|
|
892
911
|
type UnbuildUserConfig = UserConfig<UnbuildBuildConfig, UnbuildResolvedBuildConfig, "unbuild">;
|
|
893
912
|
type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
|
|
894
913
|
/**
|
|
@@ -928,7 +947,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
928
947
|
/**
|
|
929
948
|
* The resolved options for the Powerlines project configuration.
|
|
930
949
|
*/
|
|
931
|
-
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework">> & {
|
|
950
|
+
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
932
951
|
/**
|
|
933
952
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
934
953
|
*/
|
|
@@ -1016,6 +1035,18 @@ interface InitContextOptions {
|
|
|
1016
1035
|
*/
|
|
1017
1036
|
isHighPriority: boolean;
|
|
1018
1037
|
}
|
|
1038
|
+
interface FetchOptions extends FetchRequestOptions {
|
|
1039
|
+
/**
|
|
1040
|
+
* An indicator specifying that the request should bypass any caching
|
|
1041
|
+
*/
|
|
1042
|
+
skipCache?: boolean;
|
|
1043
|
+
}
|
|
1044
|
+
interface ParseOptions extends ParserOptions {
|
|
1045
|
+
/**
|
|
1046
|
+
* When true this allows return statements to be outside functions to e.g. support parsing CommonJS code.
|
|
1047
|
+
*/
|
|
1048
|
+
allowReturnOutsideFunction?: boolean;
|
|
1049
|
+
}
|
|
1019
1050
|
/**
|
|
1020
1051
|
* The unresolved Powerlines context.
|
|
1021
1052
|
*
|
|
@@ -1032,6 +1063,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1032
1063
|
*/
|
|
1033
1064
|
config: Omit<TResolvedConfig["userConfig"], "build" | "output"> & Required<Pick<TResolvedConfig["userConfig"], "build" | "output">> & {
|
|
1034
1065
|
projectRoot: NonUndefined<TResolvedConfig["userConfig"]["root"]>;
|
|
1066
|
+
sourceRoot: NonUndefined<TResolvedConfig["userConfig"]["sourceRoot"]>;
|
|
1035
1067
|
output: TResolvedConfig["output"];
|
|
1036
1068
|
};
|
|
1037
1069
|
/**
|
|
@@ -1151,6 +1183,44 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1151
1183
|
* This instance is created lazily on first access.
|
|
1152
1184
|
*/
|
|
1153
1185
|
program: Project;
|
|
1186
|
+
/**
|
|
1187
|
+
* A function to perform HTTP fetch requests
|
|
1188
|
+
*
|
|
1189
|
+
* @remarks
|
|
1190
|
+
* This function uses a caching layer to avoid duplicate requests during the Powerlines process.
|
|
1191
|
+
*
|
|
1192
|
+
* @example
|
|
1193
|
+
* ```ts
|
|
1194
|
+
* const response = await context.fetch("https://api.example.com/data");
|
|
1195
|
+
* const data = await response.json();
|
|
1196
|
+
* ```
|
|
1197
|
+
*
|
|
1198
|
+
* @see https://github.com/nodejs/undici
|
|
1199
|
+
*
|
|
1200
|
+
* @param input - The URL to fetch.
|
|
1201
|
+
* @param options - The fetch request options.
|
|
1202
|
+
* @returns A promise that resolves to a response returned by the fetch.
|
|
1203
|
+
*/
|
|
1204
|
+
fetch: (input: RequestInfo, options?: FetchOptions) => Promise<Response>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
1207
|
+
*
|
|
1208
|
+
* @remarks
|
|
1209
|
+
* This function can be used to parse TypeScript code into an AST for further analysis or transformation.
|
|
1210
|
+
*
|
|
1211
|
+
* @example
|
|
1212
|
+
* ```ts
|
|
1213
|
+
* const ast = context.parse("const x: number = 42;");
|
|
1214
|
+
* ```
|
|
1215
|
+
*
|
|
1216
|
+
* @see https://rollupjs.org/plugin-development/#this-parse
|
|
1217
|
+
* @see https://github.com/oxc/oxc
|
|
1218
|
+
*
|
|
1219
|
+
* @param code - The source code to parse.
|
|
1220
|
+
* @param options - The options to pass to the parser.
|
|
1221
|
+
* @returns An (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
1222
|
+
*/
|
|
1223
|
+
parse: (code: string, options?: ParseOptions) => Promise<ParseResult>;
|
|
1154
1224
|
/**
|
|
1155
1225
|
* A helper function to resolve modules using the Jiti resolver
|
|
1156
1226
|
*
|
|
@@ -1167,7 +1237,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1167
1237
|
* @param options - Additional resolution options.
|
|
1168
1238
|
* @returns A promise that resolves to the resolved module path.
|
|
1169
1239
|
*/
|
|
1170
|
-
|
|
1240
|
+
resolve: (id: string, importer?: string, options?: ResolveOptions) => Promise<ExternalIdResult | undefined>;
|
|
1171
1241
|
/**
|
|
1172
1242
|
* A helper function to load modules using the Jiti resolver
|
|
1173
1243
|
*
|
|
@@ -1250,7 +1320,7 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1250
1320
|
*/
|
|
1251
1321
|
logger: LogFn;
|
|
1252
1322
|
}
|
|
1253
|
-
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> =
|
|
1323
|
+
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnpluginBuildContext & PluginContext<TResolvedConfig>;
|
|
1254
1324
|
|
|
1255
1325
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
|
|
1256
1326
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { UnbuildOptions } from '@storm-software/unbuild/types';
|
|
2
2
|
import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
3
|
+
import { FetchRequestOptions } from '@stryke/http/fetch';
|
|
3
4
|
import { MaybePromise, NonUndefined, FunctionLike } from '@stryke/types/base';
|
|
4
5
|
import { PackageJson } from '@stryke/types/package-json';
|
|
5
6
|
import { Jiti } from 'jiti';
|
|
6
7
|
import { SourceMap } from 'magic-string';
|
|
8
|
+
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
7
9
|
import { Range } from 'semver';
|
|
8
10
|
import { Project } from 'ts-morph';
|
|
11
|
+
import { RequestInfo, Response } from 'undici';
|
|
9
12
|
import { UnpluginMessage, ExternalIdResult, UnpluginContext, UnpluginBuildContext, TransformResult as TransformResult$1, HookFilter, UnpluginOptions } from 'unplugin';
|
|
10
13
|
import { Format } from '@storm-software/build-tools/types';
|
|
11
14
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
@@ -619,6 +622,22 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
619
622
|
*/
|
|
620
623
|
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
621
624
|
type ProjectType = "application" | "library";
|
|
625
|
+
interface DeployConfig {
|
|
626
|
+
/**
|
|
627
|
+
* The deployment variant being used by the Powerlines engine.
|
|
628
|
+
*
|
|
629
|
+
* @example
|
|
630
|
+
* ```ts
|
|
631
|
+
* export default defineConfig({
|
|
632
|
+
* deploy: {
|
|
633
|
+
* variant: "cloudflare"
|
|
634
|
+
* }
|
|
635
|
+
* });
|
|
636
|
+
*
|
|
637
|
+
* ```
|
|
638
|
+
*/
|
|
639
|
+
variant?: string;
|
|
640
|
+
}
|
|
622
641
|
interface OutputConfig {
|
|
623
642
|
/**
|
|
624
643
|
* The path to output the final compiled files to
|
|
@@ -741,7 +760,7 @@ interface BaseConfig {
|
|
|
741
760
|
* @remarks
|
|
742
761
|
* If set to `false`, the deployment will be disabled.
|
|
743
762
|
*/
|
|
744
|
-
deploy?:
|
|
763
|
+
deploy?: DeployConfig | false;
|
|
745
764
|
/**
|
|
746
765
|
* The path to the tsconfig file to be used by the compiler
|
|
747
766
|
*
|
|
@@ -868,7 +887,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
868
887
|
*/
|
|
869
888
|
framework?: string;
|
|
870
889
|
}
|
|
871
|
-
|
|
890
|
+
interface UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> extends Omit<CommonUserConfig, "build"> {
|
|
872
891
|
/**
|
|
873
892
|
* Configuration provided to build processes
|
|
874
893
|
*
|
|
@@ -888,7 +907,7 @@ type UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedCo
|
|
|
888
907
|
*/
|
|
889
908
|
override?: Partial<TBuildResolvedConfig>;
|
|
890
909
|
};
|
|
891
|
-
}
|
|
910
|
+
}
|
|
892
911
|
type UnbuildUserConfig = UserConfig<UnbuildBuildConfig, UnbuildResolvedBuildConfig, "unbuild">;
|
|
893
912
|
type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
|
|
894
913
|
/**
|
|
@@ -928,7 +947,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
928
947
|
/**
|
|
929
948
|
* The resolved options for the Powerlines project configuration.
|
|
930
949
|
*/
|
|
931
|
-
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework">> & {
|
|
950
|
+
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
932
951
|
/**
|
|
933
952
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
934
953
|
*/
|
|
@@ -1016,6 +1035,18 @@ interface InitContextOptions {
|
|
|
1016
1035
|
*/
|
|
1017
1036
|
isHighPriority: boolean;
|
|
1018
1037
|
}
|
|
1038
|
+
interface FetchOptions extends FetchRequestOptions {
|
|
1039
|
+
/**
|
|
1040
|
+
* An indicator specifying that the request should bypass any caching
|
|
1041
|
+
*/
|
|
1042
|
+
skipCache?: boolean;
|
|
1043
|
+
}
|
|
1044
|
+
interface ParseOptions extends ParserOptions {
|
|
1045
|
+
/**
|
|
1046
|
+
* When true this allows return statements to be outside functions to e.g. support parsing CommonJS code.
|
|
1047
|
+
*/
|
|
1048
|
+
allowReturnOutsideFunction?: boolean;
|
|
1049
|
+
}
|
|
1019
1050
|
/**
|
|
1020
1051
|
* The unresolved Powerlines context.
|
|
1021
1052
|
*
|
|
@@ -1032,6 +1063,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1032
1063
|
*/
|
|
1033
1064
|
config: Omit<TResolvedConfig["userConfig"], "build" | "output"> & Required<Pick<TResolvedConfig["userConfig"], "build" | "output">> & {
|
|
1034
1065
|
projectRoot: NonUndefined<TResolvedConfig["userConfig"]["root"]>;
|
|
1066
|
+
sourceRoot: NonUndefined<TResolvedConfig["userConfig"]["sourceRoot"]>;
|
|
1035
1067
|
output: TResolvedConfig["output"];
|
|
1036
1068
|
};
|
|
1037
1069
|
/**
|
|
@@ -1151,6 +1183,44 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1151
1183
|
* This instance is created lazily on first access.
|
|
1152
1184
|
*/
|
|
1153
1185
|
program: Project;
|
|
1186
|
+
/**
|
|
1187
|
+
* A function to perform HTTP fetch requests
|
|
1188
|
+
*
|
|
1189
|
+
* @remarks
|
|
1190
|
+
* This function uses a caching layer to avoid duplicate requests during the Powerlines process.
|
|
1191
|
+
*
|
|
1192
|
+
* @example
|
|
1193
|
+
* ```ts
|
|
1194
|
+
* const response = await context.fetch("https://api.example.com/data");
|
|
1195
|
+
* const data = await response.json();
|
|
1196
|
+
* ```
|
|
1197
|
+
*
|
|
1198
|
+
* @see https://github.com/nodejs/undici
|
|
1199
|
+
*
|
|
1200
|
+
* @param input - The URL to fetch.
|
|
1201
|
+
* @param options - The fetch request options.
|
|
1202
|
+
* @returns A promise that resolves to a response returned by the fetch.
|
|
1203
|
+
*/
|
|
1204
|
+
fetch: (input: RequestInfo, options?: FetchOptions) => Promise<Response>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
1207
|
+
*
|
|
1208
|
+
* @remarks
|
|
1209
|
+
* This function can be used to parse TypeScript code into an AST for further analysis or transformation.
|
|
1210
|
+
*
|
|
1211
|
+
* @example
|
|
1212
|
+
* ```ts
|
|
1213
|
+
* const ast = context.parse("const x: number = 42;");
|
|
1214
|
+
* ```
|
|
1215
|
+
*
|
|
1216
|
+
* @see https://rollupjs.org/plugin-development/#this-parse
|
|
1217
|
+
* @see https://github.com/oxc/oxc
|
|
1218
|
+
*
|
|
1219
|
+
* @param code - The source code to parse.
|
|
1220
|
+
* @param options - The options to pass to the parser.
|
|
1221
|
+
* @returns An (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
1222
|
+
*/
|
|
1223
|
+
parse: (code: string, options?: ParseOptions) => Promise<ParseResult>;
|
|
1154
1224
|
/**
|
|
1155
1225
|
* A helper function to resolve modules using the Jiti resolver
|
|
1156
1226
|
*
|
|
@@ -1167,7 +1237,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1167
1237
|
* @param options - Additional resolution options.
|
|
1168
1238
|
* @returns A promise that resolves to the resolved module path.
|
|
1169
1239
|
*/
|
|
1170
|
-
|
|
1240
|
+
resolve: (id: string, importer?: string, options?: ResolveOptions) => Promise<ExternalIdResult | undefined>;
|
|
1171
1241
|
/**
|
|
1172
1242
|
* A helper function to load modules using the Jiti resolver
|
|
1173
1243
|
*
|
|
@@ -1250,7 +1320,7 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1250
1320
|
*/
|
|
1251
1321
|
logger: LogFn;
|
|
1252
1322
|
}
|
|
1253
|
-
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> =
|
|
1323
|
+
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnpluginBuildContext & PluginContext<TResolvedConfig>;
|
|
1254
1324
|
|
|
1255
1325
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
|
|
1256
1326
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from './index-
|
|
1
|
+
import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-CswcA74A.cjs';
|
|
2
|
+
export { b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from './index-CswcA74A.cjs';
|
|
3
3
|
import '@storm-software/unbuild/types';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
|
+
import '@stryke/http/fetch';
|
|
5
6
|
import '@stryke/types/base';
|
|
6
7
|
import '@stryke/types/package-json';
|
|
7
8
|
import 'jiti';
|
|
8
9
|
import 'magic-string';
|
|
10
|
+
import 'oxc-parser';
|
|
9
11
|
import 'semver';
|
|
10
12
|
import 'ts-morph';
|
|
13
|
+
import 'undici';
|
|
11
14
|
import 'unplugin';
|
|
12
15
|
import '@storm-software/build-tools/types';
|
|
13
16
|
import '@storm-software/config-tools/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from './index-
|
|
1
|
+
import { U as UnbuildPluginContext, a as UnbuildPluginOptions, P as Plugin } from './index-CswcA74A.js';
|
|
2
|
+
export { b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from './index-CswcA74A.js';
|
|
3
3
|
import '@storm-software/unbuild/types';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
|
+
import '@stryke/http/fetch';
|
|
5
6
|
import '@stryke/types/base';
|
|
6
7
|
import '@stryke/types/package-json';
|
|
7
8
|
import 'jiti';
|
|
8
9
|
import 'magic-string';
|
|
10
|
+
import 'oxc-parser';
|
|
9
11
|
import 'semver';
|
|
10
12
|
import 'ts-morph';
|
|
13
|
+
import 'undici';
|
|
11
14
|
import 'unplugin';
|
|
12
15
|
import '@storm-software/build-tools/types';
|
|
13
16
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-
|
|
1
|
+
export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-CswcA74A.cjs';
|
|
2
2
|
import '@storm-software/unbuild/types';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
|
+
import '@stryke/http/fetch';
|
|
4
5
|
import '@stryke/types/base';
|
|
5
6
|
import '@stryke/types/package-json';
|
|
6
7
|
import 'jiti';
|
|
7
8
|
import 'magic-string';
|
|
9
|
+
import 'oxc-parser';
|
|
8
10
|
import 'semver';
|
|
9
11
|
import 'ts-morph';
|
|
12
|
+
import 'undici';
|
|
10
13
|
import 'unplugin';
|
|
11
14
|
import '@storm-software/build-tools/types';
|
|
12
15
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-
|
|
1
|
+
export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-CswcA74A.js';
|
|
2
2
|
import '@storm-software/unbuild/types';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
|
+
import '@stryke/http/fetch';
|
|
4
5
|
import '@stryke/types/base';
|
|
5
6
|
import '@stryke/types/package-json';
|
|
6
7
|
import 'jiti';
|
|
7
8
|
import 'magic-string';
|
|
9
|
+
import 'oxc-parser';
|
|
8
10
|
import 'semver';
|
|
9
11
|
import 'ts-morph';
|
|
12
|
+
import 'undici';
|
|
10
13
|
import 'unplugin';
|
|
11
14
|
import '@storm-software/build-tools/types';
|
|
12
15
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-
|
|
1
|
+
export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-CswcA74A.cjs';
|
|
2
2
|
import '@storm-software/unbuild/types';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
|
+
import '@stryke/http/fetch';
|
|
4
5
|
import '@stryke/types/base';
|
|
5
6
|
import '@stryke/types/package-json';
|
|
6
7
|
import 'jiti';
|
|
7
8
|
import 'magic-string';
|
|
9
|
+
import 'oxc-parser';
|
|
8
10
|
import 'semver';
|
|
9
11
|
import 'ts-morph';
|
|
12
|
+
import 'undici';
|
|
10
13
|
import 'unplugin';
|
|
11
14
|
import '@storm-software/build-tools/types';
|
|
12
15
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-
|
|
1
|
+
export { U as UnbuildPluginContext, a as UnbuildPluginOptions, b as UnbuildPluginResolvedConfig, d as __ΩUnbuildPluginContext, _ as __ΩUnbuildPluginOptions, c as __ΩUnbuildPluginResolvedConfig } from '../index-CswcA74A.js';
|
|
2
2
|
import '@storm-software/unbuild/types';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
|
+
import '@stryke/http/fetch';
|
|
4
5
|
import '@stryke/types/base';
|
|
5
6
|
import '@stryke/types/package-json';
|
|
6
7
|
import 'jiti';
|
|
7
8
|
import 'magic-string';
|
|
9
|
+
import 'oxc-parser';
|
|
8
10
|
import 'semver';
|
|
9
11
|
import 'ts-morph';
|
|
12
|
+
import 'undici';
|
|
10
13
|
import 'unplugin';
|
|
11
14
|
import '@storm-software/build-tools/types';
|
|
12
15
|
import '@storm-software/config-tools/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-unbuild",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.56",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to build projects using Unbuild.",
|
|
6
6
|
"repository": {
|
|
@@ -128,20 +128,20 @@
|
|
|
128
128
|
"keywords": ["unbuild", "powerlines", "storm-software", "powerlines-plugin"],
|
|
129
129
|
"dependencies": {
|
|
130
130
|
"@storm-software/unbuild": "^0.57.50",
|
|
131
|
-
"@stryke/fs": "^0.33.
|
|
132
|
-
"@stryke/path": "^0.21.
|
|
133
|
-
"@stryke/type-checks": "^0.3
|
|
134
|
-
"@stryke/types": "^0.10.
|
|
131
|
+
"@stryke/fs": "^0.33.8",
|
|
132
|
+
"@stryke/path": "^0.21.6",
|
|
133
|
+
"@stryke/type-checks": "^0.4.3",
|
|
134
|
+
"@stryke/types": "^0.10.12",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
136
|
"jiti": "^2.6.1",
|
|
137
|
-
"powerlines": "^0.
|
|
138
|
-
"unplugin": "
|
|
137
|
+
"powerlines": "^0.28.0",
|
|
138
|
+
"unplugin": "3.0.0-beta.3"
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|
|
141
|
-
"@powerlines/nx": "^0.10.
|
|
142
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
141
|
+
"@powerlines/nx": "^0.10.47",
|
|
142
|
+
"@powerlines/plugin-plugin": "^0.11.55",
|
|
143
143
|
"@types/node": "^24.10.1"
|
|
144
144
|
},
|
|
145
145
|
"publishConfig": { "access": "public" },
|
|
146
|
-
"gitHead": "
|
|
146
|
+
"gitHead": "3feaa815e117c46d827eee84c3521e54670abb9b"
|
|
147
147
|
}
|