@batijs/core 0.0.632 → 0.0.633
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/_stub_jiti_jiti-Deplr03o.js +1 -0
- package/dist/index.d.ts +6 -8
- package/dist/index.js +337 -357
- package/dist/{src-DReqcdyN.js → src-CCTIzyfS.js} +1 -1
- package/package.json +16 -11
- package/LICENSE.md +0 -9
- package/dist/jiti-cZIJlVAP.js +0 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./index.js";var t;e((()=>{t=()=>{throw Error(`@batijs/core does not load eslint config files`)}}))();export{t as createJiti};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { BatiSet, CategoryLabels, Flags } from "@batijs/features";
|
|
2
|
-
import * as _$attributes_parser0 from "attributes-parser";
|
|
3
|
-
import * as _$yaml from "yaml";
|
|
4
|
-
import { Document as YAMLDocument, DocumentOptions, ParseOptions, SchemaOptions, YAMLMap, YAMLSeq } from "yaml";
|
|
5
2
|
import { ProxifiedModule, builders, generateCode, loadFile, parseModule } from "magicast";
|
|
3
|
+
import { Document as YAMLDocument, DocumentOptions, ParseOptions, SchemaOptions, YAMLMap, YAMLSeq } from "yaml";
|
|
6
4
|
import { addVitePlugin, deepMergeObject } from "magicast/helpers";
|
|
7
5
|
import { Color } from "colorette";
|
|
8
6
|
import { randomBytes } from "node:crypto";
|
|
@@ -129,7 +127,7 @@ declare function formatCode(code: string, options: {
|
|
|
129
127
|
filepath: string;
|
|
130
128
|
}): Promise<string>;
|
|
131
129
|
//#endregion
|
|
132
|
-
//#region ../../node_modules/.
|
|
130
|
+
//#region ../../node_modules/.bun/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts
|
|
133
131
|
// ## Interfaces
|
|
134
132
|
/**
|
|
135
133
|
* Info associated with nodes by the ecosystem.
|
|
@@ -225,7 +223,7 @@ interface Parent$1 extends Node$1 {
|
|
|
225
223
|
children: Node$1[];
|
|
226
224
|
}
|
|
227
225
|
//#endregion
|
|
228
|
-
//#region ../../node_modules/.
|
|
226
|
+
//#region ../../node_modules/.bun/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts
|
|
229
227
|
// ## Enumeration
|
|
230
228
|
/**
|
|
231
229
|
* How phrasing content is aligned
|
|
@@ -1200,7 +1198,7 @@ declare function commentMarker(value: Nodes): {
|
|
|
1200
1198
|
name: string;
|
|
1201
1199
|
suffix: string;
|
|
1202
1200
|
attributes: string;
|
|
1203
|
-
parameters:
|
|
1201
|
+
parameters: import("attributes-parser").Attributes;
|
|
1204
1202
|
node: Html;
|
|
1205
1203
|
} | undefined;
|
|
1206
1204
|
//#endregion
|
|
@@ -1322,7 +1320,7 @@ declare function loadYaml({
|
|
|
1322
1320
|
target
|
|
1323
1321
|
}: TransformerProps, options?: ParseOptions & DocumentOptions & SchemaOptions & {
|
|
1324
1322
|
fallbackEmpty?: boolean;
|
|
1325
|
-
}): Promise<YAMLDocument.Parsed<
|
|
1323
|
+
}): Promise<YAMLDocument.Parsed<import("yaml").Alias.Parsed, true> | YAMLDocument.Parsed<import("yaml").Scalar.Parsed, true> | YAMLDocument.Parsed<import("yaml").YAMLMap.Parsed<import("yaml").ParsedNode, import("yaml").ParsedNode | null>, true> | YAMLDocument.Parsed<import("yaml").YAMLSeq.Parsed<import("yaml").ParsedNode>, true>>;
|
|
1326
1324
|
//#endregion
|
|
1327
1325
|
//#region src/parse/yaml.d.ts
|
|
1328
1326
|
/**
|
|
@@ -1367,4 +1365,4 @@ declare namespace index_d_exports {
|
|
|
1367
1365
|
export { BaseOptions, ContentGetter, CopyOptions, DockerPackageManager, DockerfileBuilder, EnvRecord, EnvRegistry, EnvRegistryFactory, EnvScope, EnvSink, EnvVarDef, FileContext, FromOptions, MarkdownV2, PackageJson, PackageManagerInfo, StringTransformer, Transformer, TransformerProps, VikeMeta, YAMLDocument, YAMLMap, YAMLSeq, addVitePlugin, builders, committedValue, deepMergeObject, dockerPackageManager, dockerfile, formatCode, generateCode, getArgs, getVersion, isServerVar, loadAsJson, loadAsMagicast, loadFile, loadMarkdown, loadPackageJson, loadRelativeFileAsMagicast, loadYaml, packageManager, parseMarkdown, parseModule, randomBytes, secretDevValue, setComposeEnvironment, transformAndFormat, which, withIcon };
|
|
1368
1366
|
}
|
|
1369
1367
|
//#endregion
|
|
1370
|
-
export { BaseOptions, ContentGetter, CopyOptions, DockerPackageManager, DockerfileBuilder, EnvRecord, EnvRegistry, EnvRegistryFactory, EnvScope, EnvSink, EnvVarDef, type FileContext, FromOptions, MarkdownV2, PackageJson, PackageManagerInfo, StringTransformer, Transformer, TransformerProps, VikeMeta, type YAMLDocument, YAMLMap, YAMLSeq, addVitePlugin, builders, committedValue, deepMergeObject, dockerPackageManager, dockerfile, formatCode, generateCode, getArgs, getVersion, isServerVar, loadAsJson, loadAsMagicast, loadFile, loadMarkdown, loadPackageJson, loadRelativeFileAsMagicast, loadYaml, packageManager, parseMarkdown, parseModule, randomBytes, secretDevValue, setComposeEnvironment, transformAndFormat, which, withIcon };
|
|
1368
|
+
export { BaseOptions, type ContentGetter, CopyOptions, DockerPackageManager, DockerfileBuilder, EnvRecord, EnvRegistry, EnvRegistryFactory, EnvScope, EnvSink, EnvVarDef, type FileContext, FromOptions, MarkdownV2, type PackageJson, PackageManagerInfo, type StringTransformer, type Transformer, type TransformerProps, type VikeMeta, type YAMLDocument, YAMLMap, YAMLSeq, addVitePlugin, builders, committedValue, deepMergeObject, dockerPackageManager, dockerfile, formatCode, generateCode, getArgs, getVersion, isServerVar, loadAsJson, loadAsMagicast, loadFile, loadMarkdown, loadPackageJson, loadRelativeFileAsMagicast, loadYaml, packageManager, parseMarkdown, parseModule, randomBytes, secretDevValue, setComposeEnvironment, transformAndFormat, which, withIcon };
|