@powerlines/plugin-automd 0.1.46 → 0.1.47
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-nKehSVvf.d.cts → index-BKpBb0qd.d.cts} +75 -5
- package/dist/{index-fI31NKTu.d.ts → index-CWh1RuNb.d.ts} +75 -5
- 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
|
@@ -7,11 +7,14 @@ import { TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configura
|
|
|
7
7
|
import { AssetGlob } from '@stryke/types/file';
|
|
8
8
|
import { PreviewOptions, ResolvedPreviewOptions } from 'vite';
|
|
9
9
|
import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
10
|
+
import { FetchRequestOptions } from '@stryke/http/fetch';
|
|
10
11
|
import { PackageJson } from '@stryke/types/package-json';
|
|
11
12
|
import { Jiti } from 'jiti';
|
|
12
13
|
import { SourceMap } from 'magic-string';
|
|
14
|
+
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
13
15
|
import { Range } from 'semver';
|
|
14
16
|
import { Project } from 'ts-morph';
|
|
17
|
+
import { RequestInfo, Response } from 'undici';
|
|
15
18
|
import { UnpluginMessage, ExternalIdResult, UnpluginContext, UnpluginBuildContext, TransformResult as TransformResult$1, HookFilter, UnpluginOptions } from 'unplugin';
|
|
16
19
|
import { ResolveOptions as ResolveOptions$1 } from '@stryke/fs/resolve';
|
|
17
20
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
@@ -618,6 +621,22 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
618
621
|
*/
|
|
619
622
|
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
620
623
|
type ProjectType = "application" | "library";
|
|
624
|
+
interface DeployConfig {
|
|
625
|
+
/**
|
|
626
|
+
* The deployment variant being used by the Powerlines engine.
|
|
627
|
+
*
|
|
628
|
+
* @example
|
|
629
|
+
* ```ts
|
|
630
|
+
* export default defineConfig({
|
|
631
|
+
* deploy: {
|
|
632
|
+
* variant: "cloudflare"
|
|
633
|
+
* }
|
|
634
|
+
* });
|
|
635
|
+
*
|
|
636
|
+
* ```
|
|
637
|
+
*/
|
|
638
|
+
variant?: string;
|
|
639
|
+
}
|
|
621
640
|
interface OutputConfig {
|
|
622
641
|
/**
|
|
623
642
|
* The path to output the final compiled files to
|
|
@@ -740,7 +759,7 @@ interface BaseConfig {
|
|
|
740
759
|
* @remarks
|
|
741
760
|
* If set to `false`, the deployment will be disabled.
|
|
742
761
|
*/
|
|
743
|
-
deploy?:
|
|
762
|
+
deploy?: DeployConfig | false;
|
|
744
763
|
/**
|
|
745
764
|
* The path to the tsconfig file to be used by the compiler
|
|
746
765
|
*
|
|
@@ -867,7 +886,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
867
886
|
*/
|
|
868
887
|
framework?: string;
|
|
869
888
|
}
|
|
870
|
-
|
|
889
|
+
interface UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> extends Omit<CommonUserConfig, "build"> {
|
|
871
890
|
/**
|
|
872
891
|
* Configuration provided to build processes
|
|
873
892
|
*
|
|
@@ -887,7 +906,7 @@ type UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedCo
|
|
|
887
906
|
*/
|
|
888
907
|
override?: Partial<TBuildResolvedConfig>;
|
|
889
908
|
};
|
|
890
|
-
}
|
|
909
|
+
}
|
|
891
910
|
type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
|
|
892
911
|
/**
|
|
893
912
|
* The configuration provided while executing Powerlines commands.
|
|
@@ -926,7 +945,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
926
945
|
/**
|
|
927
946
|
* The resolved options for the Powerlines project configuration.
|
|
928
947
|
*/
|
|
929
|
-
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">> & {
|
|
948
|
+
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">> & {
|
|
930
949
|
/**
|
|
931
950
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
932
951
|
*/
|
|
@@ -1013,6 +1032,18 @@ interface InitContextOptions {
|
|
|
1013
1032
|
*/
|
|
1014
1033
|
isHighPriority: boolean;
|
|
1015
1034
|
}
|
|
1035
|
+
interface FetchOptions extends FetchRequestOptions {
|
|
1036
|
+
/**
|
|
1037
|
+
* An indicator specifying that the request should bypass any caching
|
|
1038
|
+
*/
|
|
1039
|
+
skipCache?: boolean;
|
|
1040
|
+
}
|
|
1041
|
+
interface ParseOptions extends ParserOptions {
|
|
1042
|
+
/**
|
|
1043
|
+
* When true this allows return statements to be outside functions to e.g. support parsing CommonJS code.
|
|
1044
|
+
*/
|
|
1045
|
+
allowReturnOutsideFunction?: boolean;
|
|
1046
|
+
}
|
|
1016
1047
|
/**
|
|
1017
1048
|
* The unresolved Powerlines context.
|
|
1018
1049
|
*
|
|
@@ -1029,6 +1060,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1029
1060
|
*/
|
|
1030
1061
|
config: Omit<TResolvedConfig["userConfig"], "build" | "output"> & Required<Pick<TResolvedConfig["userConfig"], "build" | "output">> & {
|
|
1031
1062
|
projectRoot: NonUndefined<TResolvedConfig["userConfig"]["root"]>;
|
|
1063
|
+
sourceRoot: NonUndefined<TResolvedConfig["userConfig"]["sourceRoot"]>;
|
|
1032
1064
|
output: TResolvedConfig["output"];
|
|
1033
1065
|
};
|
|
1034
1066
|
/**
|
|
@@ -1148,6 +1180,44 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1148
1180
|
* This instance is created lazily on first access.
|
|
1149
1181
|
*/
|
|
1150
1182
|
program: Project;
|
|
1183
|
+
/**
|
|
1184
|
+
* A function to perform HTTP fetch requests
|
|
1185
|
+
*
|
|
1186
|
+
* @remarks
|
|
1187
|
+
* This function uses a caching layer to avoid duplicate requests during the Powerlines process.
|
|
1188
|
+
*
|
|
1189
|
+
* @example
|
|
1190
|
+
* ```ts
|
|
1191
|
+
* const response = await context.fetch("https://api.example.com/data");
|
|
1192
|
+
* const data = await response.json();
|
|
1193
|
+
* ```
|
|
1194
|
+
*
|
|
1195
|
+
* @see https://github.com/nodejs/undici
|
|
1196
|
+
*
|
|
1197
|
+
* @param input - The URL to fetch.
|
|
1198
|
+
* @param options - The fetch request options.
|
|
1199
|
+
* @returns A promise that resolves to a response returned by the fetch.
|
|
1200
|
+
*/
|
|
1201
|
+
fetch: (input: RequestInfo, options?: FetchOptions) => Promise<Response>;
|
|
1202
|
+
/**
|
|
1203
|
+
* Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
1204
|
+
*
|
|
1205
|
+
* @remarks
|
|
1206
|
+
* This function can be used to parse TypeScript code into an AST for further analysis or transformation.
|
|
1207
|
+
*
|
|
1208
|
+
* @example
|
|
1209
|
+
* ```ts
|
|
1210
|
+
* const ast = context.parse("const x: number = 42;");
|
|
1211
|
+
* ```
|
|
1212
|
+
*
|
|
1213
|
+
* @see https://rollupjs.org/plugin-development/#this-parse
|
|
1214
|
+
* @see https://github.com/oxc/oxc
|
|
1215
|
+
*
|
|
1216
|
+
* @param code - The source code to parse.
|
|
1217
|
+
* @param options - The options to pass to the parser.
|
|
1218
|
+
* @returns An (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
1219
|
+
*/
|
|
1220
|
+
parse: (code: string, options?: ParseOptions) => Promise<ParseResult>;
|
|
1151
1221
|
/**
|
|
1152
1222
|
* A helper function to resolve modules using the Jiti resolver
|
|
1153
1223
|
*
|
|
@@ -1247,7 +1317,7 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1247
1317
|
*/
|
|
1248
1318
|
logger: LogFn;
|
|
1249
1319
|
}
|
|
1250
|
-
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> =
|
|
1320
|
+
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnpluginBuildContext & PluginContext<TResolvedConfig>;
|
|
1251
1321
|
|
|
1252
1322
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
|
|
1253
1323
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
@@ -7,11 +7,14 @@ import { TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configura
|
|
|
7
7
|
import { AssetGlob } from '@stryke/types/file';
|
|
8
8
|
import { PreviewOptions, ResolvedPreviewOptions } from 'vite';
|
|
9
9
|
import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
10
|
+
import { FetchRequestOptions } from '@stryke/http/fetch';
|
|
10
11
|
import { PackageJson } from '@stryke/types/package-json';
|
|
11
12
|
import { Jiti } from 'jiti';
|
|
12
13
|
import { SourceMap } from 'magic-string';
|
|
14
|
+
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
13
15
|
import { Range } from 'semver';
|
|
14
16
|
import { Project } from 'ts-morph';
|
|
17
|
+
import { RequestInfo, Response } from 'undici';
|
|
15
18
|
import { UnpluginMessage, ExternalIdResult, UnpluginContext, UnpluginBuildContext, TransformResult as TransformResult$1, HookFilter, UnpluginOptions } from 'unplugin';
|
|
16
19
|
import { ResolveOptions as ResolveOptions$1 } from '@stryke/fs/resolve';
|
|
17
20
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
@@ -618,6 +621,22 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
618
621
|
*/
|
|
619
622
|
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
620
623
|
type ProjectType = "application" | "library";
|
|
624
|
+
interface DeployConfig {
|
|
625
|
+
/**
|
|
626
|
+
* The deployment variant being used by the Powerlines engine.
|
|
627
|
+
*
|
|
628
|
+
* @example
|
|
629
|
+
* ```ts
|
|
630
|
+
* export default defineConfig({
|
|
631
|
+
* deploy: {
|
|
632
|
+
* variant: "cloudflare"
|
|
633
|
+
* }
|
|
634
|
+
* });
|
|
635
|
+
*
|
|
636
|
+
* ```
|
|
637
|
+
*/
|
|
638
|
+
variant?: string;
|
|
639
|
+
}
|
|
621
640
|
interface OutputConfig {
|
|
622
641
|
/**
|
|
623
642
|
* The path to output the final compiled files to
|
|
@@ -740,7 +759,7 @@ interface BaseConfig {
|
|
|
740
759
|
* @remarks
|
|
741
760
|
* If set to `false`, the deployment will be disabled.
|
|
742
761
|
*/
|
|
743
|
-
deploy?:
|
|
762
|
+
deploy?: DeployConfig | false;
|
|
744
763
|
/**
|
|
745
764
|
* The path to the tsconfig file to be used by the compiler
|
|
746
765
|
*
|
|
@@ -867,7 +886,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
867
886
|
*/
|
|
868
887
|
framework?: string;
|
|
869
888
|
}
|
|
870
|
-
|
|
889
|
+
interface UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> extends Omit<CommonUserConfig, "build"> {
|
|
871
890
|
/**
|
|
872
891
|
* Configuration provided to build processes
|
|
873
892
|
*
|
|
@@ -887,7 +906,7 @@ type UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedCo
|
|
|
887
906
|
*/
|
|
888
907
|
override?: Partial<TBuildResolvedConfig>;
|
|
889
908
|
};
|
|
890
|
-
}
|
|
909
|
+
}
|
|
891
910
|
type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
|
|
892
911
|
/**
|
|
893
912
|
* The configuration provided while executing Powerlines commands.
|
|
@@ -926,7 +945,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
926
945
|
/**
|
|
927
946
|
* The resolved options for the Powerlines project configuration.
|
|
928
947
|
*/
|
|
929
|
-
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">> & {
|
|
948
|
+
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">> & {
|
|
930
949
|
/**
|
|
931
950
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
932
951
|
*/
|
|
@@ -1013,6 +1032,18 @@ interface InitContextOptions {
|
|
|
1013
1032
|
*/
|
|
1014
1033
|
isHighPriority: boolean;
|
|
1015
1034
|
}
|
|
1035
|
+
interface FetchOptions extends FetchRequestOptions {
|
|
1036
|
+
/**
|
|
1037
|
+
* An indicator specifying that the request should bypass any caching
|
|
1038
|
+
*/
|
|
1039
|
+
skipCache?: boolean;
|
|
1040
|
+
}
|
|
1041
|
+
interface ParseOptions extends ParserOptions {
|
|
1042
|
+
/**
|
|
1043
|
+
* When true this allows return statements to be outside functions to e.g. support parsing CommonJS code.
|
|
1044
|
+
*/
|
|
1045
|
+
allowReturnOutsideFunction?: boolean;
|
|
1046
|
+
}
|
|
1016
1047
|
/**
|
|
1017
1048
|
* The unresolved Powerlines context.
|
|
1018
1049
|
*
|
|
@@ -1029,6 +1060,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1029
1060
|
*/
|
|
1030
1061
|
config: Omit<TResolvedConfig["userConfig"], "build" | "output"> & Required<Pick<TResolvedConfig["userConfig"], "build" | "output">> & {
|
|
1031
1062
|
projectRoot: NonUndefined<TResolvedConfig["userConfig"]["root"]>;
|
|
1063
|
+
sourceRoot: NonUndefined<TResolvedConfig["userConfig"]["sourceRoot"]>;
|
|
1032
1064
|
output: TResolvedConfig["output"];
|
|
1033
1065
|
};
|
|
1034
1066
|
/**
|
|
@@ -1148,6 +1180,44 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1148
1180
|
* This instance is created lazily on first access.
|
|
1149
1181
|
*/
|
|
1150
1182
|
program: Project;
|
|
1183
|
+
/**
|
|
1184
|
+
* A function to perform HTTP fetch requests
|
|
1185
|
+
*
|
|
1186
|
+
* @remarks
|
|
1187
|
+
* This function uses a caching layer to avoid duplicate requests during the Powerlines process.
|
|
1188
|
+
*
|
|
1189
|
+
* @example
|
|
1190
|
+
* ```ts
|
|
1191
|
+
* const response = await context.fetch("https://api.example.com/data");
|
|
1192
|
+
* const data = await response.json();
|
|
1193
|
+
* ```
|
|
1194
|
+
*
|
|
1195
|
+
* @see https://github.com/nodejs/undici
|
|
1196
|
+
*
|
|
1197
|
+
* @param input - The URL to fetch.
|
|
1198
|
+
* @param options - The fetch request options.
|
|
1199
|
+
* @returns A promise that resolves to a response returned by the fetch.
|
|
1200
|
+
*/
|
|
1201
|
+
fetch: (input: RequestInfo, options?: FetchOptions) => Promise<Response>;
|
|
1202
|
+
/**
|
|
1203
|
+
* Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
1204
|
+
*
|
|
1205
|
+
* @remarks
|
|
1206
|
+
* This function can be used to parse TypeScript code into an AST for further analysis or transformation.
|
|
1207
|
+
*
|
|
1208
|
+
* @example
|
|
1209
|
+
* ```ts
|
|
1210
|
+
* const ast = context.parse("const x: number = 42;");
|
|
1211
|
+
* ```
|
|
1212
|
+
*
|
|
1213
|
+
* @see https://rollupjs.org/plugin-development/#this-parse
|
|
1214
|
+
* @see https://github.com/oxc/oxc
|
|
1215
|
+
*
|
|
1216
|
+
* @param code - The source code to parse.
|
|
1217
|
+
* @param options - The options to pass to the parser.
|
|
1218
|
+
* @returns An (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
1219
|
+
*/
|
|
1220
|
+
parse: (code: string, options?: ParseOptions) => Promise<ParseResult>;
|
|
1151
1221
|
/**
|
|
1152
1222
|
* A helper function to resolve modules using the Jiti resolver
|
|
1153
1223
|
*
|
|
@@ -1247,7 +1317,7 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1247
1317
|
*/
|
|
1248
1318
|
logger: LogFn;
|
|
1249
1319
|
}
|
|
1250
|
-
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> =
|
|
1320
|
+
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnpluginBuildContext & PluginContext<TResolvedConfig>;
|
|
1251
1321
|
|
|
1252
1322
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
|
|
1253
1323
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AutoMDPluginContext, a as AutoMDPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from './index-
|
|
1
|
+
import { A as AutoMDPluginContext, a as AutoMDPluginOptions, P as Plugin } from './index-BKpBb0qd.cjs';
|
|
2
|
+
export { c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from './index-BKpBb0qd.cjs';
|
|
3
3
|
export { TOCOptions, __ΩTOCOptions } from './types/toc.cjs';
|
|
4
4
|
import 'automd';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
|
@@ -10,11 +10,14 @@ import '@stryke/types/configuration';
|
|
|
10
10
|
import '@stryke/types/file';
|
|
11
11
|
import 'vite';
|
|
12
12
|
import '@stryke/env/get-env-paths';
|
|
13
|
+
import '@stryke/http/fetch';
|
|
13
14
|
import '@stryke/types/package-json';
|
|
14
15
|
import 'jiti';
|
|
15
16
|
import 'magic-string';
|
|
17
|
+
import 'oxc-parser';
|
|
16
18
|
import 'semver';
|
|
17
19
|
import 'ts-morph';
|
|
20
|
+
import 'undici';
|
|
18
21
|
import 'unplugin';
|
|
19
22
|
import '@stryke/fs/resolve';
|
|
20
23
|
import '@stryke/types/tsconfig';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AutoMDPluginContext, a as AutoMDPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from './index-
|
|
1
|
+
import { A as AutoMDPluginContext, a as AutoMDPluginOptions, P as Plugin } from './index-CWh1RuNb.js';
|
|
2
|
+
export { c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from './index-CWh1RuNb.js';
|
|
3
3
|
export { TOCOptions, __ΩTOCOptions } from './types/toc.js';
|
|
4
4
|
import 'automd';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
|
@@ -10,11 +10,14 @@ import '@stryke/types/configuration';
|
|
|
10
10
|
import '@stryke/types/file';
|
|
11
11
|
import 'vite';
|
|
12
12
|
import '@stryke/env/get-env-paths';
|
|
13
|
+
import '@stryke/http/fetch';
|
|
13
14
|
import '@stryke/types/package-json';
|
|
14
15
|
import 'jiti';
|
|
15
16
|
import 'magic-string';
|
|
17
|
+
import 'oxc-parser';
|
|
16
18
|
import 'semver';
|
|
17
19
|
import 'ts-morph';
|
|
20
|
+
import 'undici';
|
|
18
21
|
import 'unplugin';
|
|
19
22
|
import '@stryke/fs/resolve';
|
|
20
23
|
import '@stryke/types/tsconfig';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AutoMDPluginContext, a as AutoMDPluginOptions, c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from '../index-
|
|
1
|
+
export { A as AutoMDPluginContext, a as AutoMDPluginOptions, c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from '../index-BKpBb0qd.cjs';
|
|
2
2
|
export { TOCOptions, __ΩTOCOptions } from './toc.cjs';
|
|
3
3
|
import 'automd';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
@@ -9,11 +9,14 @@ import '@stryke/types/configuration';
|
|
|
9
9
|
import '@stryke/types/file';
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@stryke/env/get-env-paths';
|
|
12
|
+
import '@stryke/http/fetch';
|
|
12
13
|
import '@stryke/types/package-json';
|
|
13
14
|
import 'jiti';
|
|
14
15
|
import 'magic-string';
|
|
16
|
+
import 'oxc-parser';
|
|
15
17
|
import 'semver';
|
|
16
18
|
import 'ts-morph';
|
|
19
|
+
import 'undici';
|
|
17
20
|
import 'unplugin';
|
|
18
21
|
import '@stryke/fs/resolve';
|
|
19
22
|
import '@stryke/types/tsconfig';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AutoMDPluginContext, a as AutoMDPluginOptions, c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from '../index-
|
|
1
|
+
export { A as AutoMDPluginContext, a as AutoMDPluginOptions, c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from '../index-CWh1RuNb.js';
|
|
2
2
|
export { TOCOptions, __ΩTOCOptions } from './toc.js';
|
|
3
3
|
import 'automd';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
@@ -9,11 +9,14 @@ import '@stryke/types/configuration';
|
|
|
9
9
|
import '@stryke/types/file';
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@stryke/env/get-env-paths';
|
|
12
|
+
import '@stryke/http/fetch';
|
|
12
13
|
import '@stryke/types/package-json';
|
|
13
14
|
import 'jiti';
|
|
14
15
|
import 'magic-string';
|
|
16
|
+
import 'oxc-parser';
|
|
15
17
|
import 'semver';
|
|
16
18
|
import 'ts-morph';
|
|
19
|
+
import 'undici';
|
|
17
20
|
import 'unplugin';
|
|
18
21
|
import '@stryke/fs/resolve';
|
|
19
22
|
import '@stryke/types/tsconfig';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'automd';
|
|
2
|
-
export { A as AutoMDPluginContext, a as AutoMDPluginOptions, c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from '../index-
|
|
2
|
+
export { A as AutoMDPluginContext, a as AutoMDPluginOptions, c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from '../index-BKpBb0qd.cjs';
|
|
3
3
|
import './toc.cjs';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -9,11 +9,14 @@ import '@stryke/types/configuration';
|
|
|
9
9
|
import '@stryke/types/file';
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@stryke/env/get-env-paths';
|
|
12
|
+
import '@stryke/http/fetch';
|
|
12
13
|
import '@stryke/types/package-json';
|
|
13
14
|
import 'jiti';
|
|
14
15
|
import 'magic-string';
|
|
16
|
+
import 'oxc-parser';
|
|
15
17
|
import 'semver';
|
|
16
18
|
import 'ts-morph';
|
|
19
|
+
import 'undici';
|
|
17
20
|
import 'unplugin';
|
|
18
21
|
import '@stryke/fs/resolve';
|
|
19
22
|
import '@stryke/types/tsconfig';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'automd';
|
|
2
|
-
export { A as AutoMDPluginContext, a as AutoMDPluginOptions, c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from '../index-
|
|
2
|
+
export { A as AutoMDPluginContext, a as AutoMDPluginOptions, c as AutoMDPluginResolvedConfig, b as AutoMDPluginUserConfig, f as __ΩAutoMDPluginContext, _ as __ΩAutoMDPluginOptions, e as __ΩAutoMDPluginResolvedConfig, d as __ΩAutoMDPluginUserConfig } from '../index-CWh1RuNb.js';
|
|
3
3
|
import './toc.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -9,11 +9,14 @@ import '@stryke/types/configuration';
|
|
|
9
9
|
import '@stryke/types/file';
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@stryke/env/get-env-paths';
|
|
12
|
+
import '@stryke/http/fetch';
|
|
12
13
|
import '@stryke/types/package-json';
|
|
13
14
|
import 'jiti';
|
|
14
15
|
import 'magic-string';
|
|
16
|
+
import 'oxc-parser';
|
|
15
17
|
import 'semver';
|
|
16
18
|
import 'ts-morph';
|
|
19
|
+
import 'undici';
|
|
17
20
|
import 'unplugin';
|
|
18
21
|
import '@stryke/fs/resolve';
|
|
19
22
|
import '@stryke/types/tsconfig';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-automd",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to maintain a project's markdown files using AutoMD generators.",
|
|
6
6
|
"repository": {
|
|
@@ -99,22 +99,22 @@
|
|
|
99
99
|
"files": ["dist/**/*"],
|
|
100
100
|
"keywords": ["automd", "powerlines", "storm-software", "powerlines-plugin"],
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@stryke/convert": "^0.6.
|
|
103
|
-
"@stryke/fs": "^0.33.
|
|
104
|
-
"@stryke/path": "^0.21.
|
|
105
|
-
"@stryke/type-checks": "^0.3
|
|
106
|
-
"@stryke/types": "^0.10.
|
|
102
|
+
"@stryke/convert": "^0.6.12",
|
|
103
|
+
"@stryke/fs": "^0.33.8",
|
|
104
|
+
"@stryke/path": "^0.21.6",
|
|
105
|
+
"@stryke/type-checks": "^0.4.3",
|
|
106
|
+
"@stryke/types": "^0.10.12",
|
|
107
107
|
"c12": "^3.3.2",
|
|
108
108
|
"defu": "^6.1.4",
|
|
109
109
|
"markdown-toc": "^1.2.0",
|
|
110
|
-
"powerlines": "^0.
|
|
110
|
+
"powerlines": "^0.28.0"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@powerlines/nx": "^0.10.
|
|
114
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
113
|
+
"@powerlines/nx": "^0.10.47",
|
|
114
|
+
"@powerlines/plugin-plugin": "^0.11.55",
|
|
115
115
|
"@types/node": "^24.10.1",
|
|
116
116
|
"automd": "^0.4.2"
|
|
117
117
|
},
|
|
118
118
|
"publishConfig": { "access": "public" },
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "3feaa815e117c46d827eee84c3521e54670abb9b"
|
|
120
120
|
}
|