@batijs/core 0.0.260 → 0.0.262

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.d.ts CHANGED
@@ -3,8 +3,8 @@ import * as yaml from 'yaml';
3
3
  import { ParseOptions, DocumentOptions, SchemaOptions, Document } from 'yaml';
4
4
  export { Document as YAMLDocument } from 'yaml';
5
5
  import { ProxifiedModule } from 'magicast';
6
- export { generateCode, loadFile, parseModule } from 'magicast';
7
- export { addVitePlugin } from 'magicast/helpers';
6
+ export { builders, generateCode, loadFile, parseModule } from 'magicast';
7
+ export { addVitePlugin, deepMergeObject } from 'magicast/helpers';
8
8
  export { default as which } from 'which';
9
9
  import { Color } from 'colorette';
10
10
  export { randomBytes } from 'node:crypto';
@@ -73,7 +73,7 @@ declare function loadAsMagicast<Exports extends object>({ readfile, source, targ
73
73
  declare function loadRelativeFileAsMagicast<Exports extends object>(relativePath: string, meta: Pick<ImportMeta, "url">): Promise<ProxifiedModule<Exports>>;
74
74
  declare function loadYaml({ readfile, source, target }: TransformerProps, options?: ParseOptions & DocumentOptions & SchemaOptions): Promise<Document.Parsed<yaml.Alias.Parsed, true> | Document.Parsed<yaml.Scalar.Parsed, true> | Document.Parsed<yaml.YAMLMap.Parsed<yaml.ParsedNode, yaml.ParsedNode | null>, true> | Document.Parsed<yaml.YAMLSeq.Parsed<yaml.ParsedNode>, true>>;
75
75
 
76
- declare const keys: readonly ["dev", "build", "preview", "lint", "format", "deploy"];
76
+ declare const keys: readonly ["dev", "build", "preview", "lint", "format", "deploy", "test"];
77
77
  type Scripts = (typeof keys)[number];
78
78
  type ValidScripts = Scripts | `${Scripts}:${string}`;
79
79
  interface PackageJsonDeps {