Use only latest schema version for Typescript types
christianklotz opened this issue · 0 comments
Currently, TypeScript types are generated for all major versions of the file format specification.
sketch-document/packages/file-format-ts/package.json
Lines 22 to 24 in 13d3d32
This creates more complexity and problems than it solves. Some NPM proxies don't seem to support it, see #154. Additionally, with the monorepo, the release workflow is more integrated. with @sketch-hq/sketch-file-format
being resolved internally. Defining older versions is much harder.
Removing multiple versions does not prevent people from supporting multiple versions of the schema. It's just something that would have to be done using the npm:…@x.y.z
dependency alias in consuming projects.