v2.0.0
What's Changed
Both of these are breaking changes:
- Adopt viz-types FileCollection data structure by @curran in #9
- Rename format function from
serializeMarkdownFilestoformatMarkdownFilesby @curran in #11
Vibe coding prompt for automatic migration:
We need to upgrade to the latest dependencies, which have breaking changes: 1.) `llm-code-format` has renamed `serializeMarkdownFiles` to `formatMarkdownFil
es`. 2.) With both of those functions, they don't represent files as arrays anymore, but rather as objects: ```// FileCollection
// * A simple collection of files.
// * Keys are file names.
// * Values are file contents.
// * This is used for scenarios where we need to
// work with files in a simple way, without
// the complexity of a full VizFile structure.
export type FileCollection = Record<string, string>;
```. You can `import { FileCollection } from "@vizhub/viz-types";` to get the correct type. Please update all files as needed to accommodate these breaking
changes in `llm-code-format`.
Full Changelog: v1.0.2...v2.0.0