百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

sketch-document

> 数据库
开源

Sketch 文档 JSON 方案和 TypeScript 类型的单一仓库

198 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Sketch 文档 JSON 方案和 TypeScript 类型的单一仓库

.sketch document

Sketch stores documents in .sketch format, a zipped archive of JSON formatted data and binary data such as images.

Sketch file format schemas and APIs.

This project contains the file format specification and APIs to work with Sketch documents and document elements in TypeScript.

  • @sketch-hq/sketch-file-format: JSON Schema describing the .sketch document format.
  • @sketch-hq/sketch-file-format-ts: TypeScript types to strongly type objects representing Sketch documents, or fragments of Sketch documents in TypeScript projects.
  • @sketch-hq/sketch-file: TypeScript APIs to read and write .sketch files.

Development

Pre-release

ℹ️ This section is work in progress until we release our first pre-release. Pre-releases will be used as a staging area to publish changes to the specification required by an as-yet unreleased version of the Sketch Mac app.

  1. Create a new branch to track the pre-release, e.g. v5
  2. Read the changesets pre-release docs
  3. Enter pre-release mode on the branch yarn changeset pre enter {tag}
  4. Commit the changes and push the branch. This branch will act as a stand-in for main for all work related to the pre-release
  5. PR into the new branch with feature branches, calling yarn changeset as per normal to signal intents to publish. Since this is a pre-release it's likely that we'll be marshalling a major version bump
  6. Publishing pre-releases is not automated, so when you're ready to publish the pre-release call yarn changeset version and then yarn release

Release

  1. Following changes, run yarn changeset on the feature branch to document changes.
  2. If changes have been made to the @sketch-hq/sketch-file-format make sure to include @sketch-hq/sketch-file-format-ts in the changeset.
  3. On merge, changesets will produce a release pull-request named Version Packages with all changes since the last release.
  4. Merge the release pull-request maintained by the changesets GitHub Action to publish new releases to NPM.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptfile-formatsketch

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库