@batijs/core 0.0.140 → 0.0.141

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
@@ -54,6 +54,8 @@ declare function addDependency<T extends PackageJsonDeps, U extends PackageJsonD
54
54
  }): T;
55
55
  declare function setScripts<T extends PackageJsonScripts>(packageJson: T, scripts: PackageJsonScriptOptions): T;
56
56
 
57
+ declare function appendToEnv(envContent: string | undefined | null, key: string, value: unknown, comment?: string): string;
58
+
57
59
  declare function withIcon(icon: string, iconColor?: Color, indentLevel?: number): (str: string) => string;
58
60
 
59
- export { type ContentGetter, type PackageJsonDeps, type PackageJsonScriptOption, type PackageJsonScriptOptions, type PackageJsonScripts, type Transformer, type TransformerProps, type VikeMeta, addDependency, loadAsJson, loadAsMagicast, loadRelativeFileAsMagicast, setScripts, transformAndFormat, withIcon };
61
+ export { type ContentGetter, type PackageJsonDeps, type PackageJsonScriptOption, type PackageJsonScriptOptions, type PackageJsonScripts, type Transformer, type TransformerProps, type VikeMeta, addDependency, appendToEnv, loadAsJson, loadAsMagicast, loadRelativeFileAsMagicast, setScripts, transformAndFormat, withIcon };