@tokens-studio/graph-engine-migration
v0.14.1
Published
A package to upgrade old graph engine files to the new format
Readme
Graph Engine migration
This project exposes controls for updating old graphs to the latest version that the graph-engine supports.
Use as follows
import type { SerializedGraph } from '@tokens-studio/graph-engine';
import { updateGraph } from '@tokens-studio/graph-engine-migration';
const myGraph: SerializedGraph = {
/**... */
};
const updatedGraph = await updateGraph(myGraph);