From 9b89297d58b07ee951564f275d80d5b48d84446d Mon Sep 17 00:00:00 2001 From: Christian Klotz Date: Fri, 7 May 2021 14:22:14 +0300 Subject: [PATCH 1/3] Remove fonts from meta.json schema Attribute is longer in use --- packages/file-format/schema/meta.schema.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/file-format/schema/meta.schema.yaml b/packages/file-format/schema/meta.schema.yaml index 506c9da..554689e 100644 --- a/packages/file-format/schema/meta.schema.yaml +++ b/packages/file-format/schema/meta.schema.yaml @@ -43,9 +43,6 @@ properties: - 134 - 135 - 136 - fonts: - type: array - items: { type: string } compatibilityVersion: { const: 99 } coeditCompatibilityVersion: { type: number } app: { $ref: ./enums/bundle-id.schema.yaml } From fd65032282e67d6ce8564bd3aa5f157a5a0a0666 Mon Sep 17 00:00:00 2001 From: Christian Klotz Date: Fri, 7 May 2021 14:26:36 +0300 Subject: [PATCH 2/3] Add changeset --- .changeset/fluffy-geese-lie.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/fluffy-geese-lie.md diff --git a/.changeset/fluffy-geese-lie.md b/.changeset/fluffy-geese-lie.md new file mode 100644 index 0000000..adef29a --- /dev/null +++ b/.changeset/fluffy-geese-lie.md @@ -0,0 +1,6 @@ +--- +'@sketch-hq/sketch-file-format': patch +'@sketch-hq/sketch-file-format-ts': patch +--- + +Removed fonts property from meta.json From 2d2471afcbf3d52d98c53566515ca084cfe54113 Mon Sep 17 00:00:00 2001 From: Christian Klotz Date: Fri, 7 May 2021 14:59:40 +0300 Subject: [PATCH 3/3] Remove fonts from input document --- packages/file/src/__tests__/file.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/file/src/__tests__/file.test.ts b/packages/file/src/__tests__/file.test.ts index df882ba..62ae11c 100644 --- a/packages/file/src/__tests__/file.test.ts +++ b/packages/file/src/__tests__/file.test.ts @@ -95,7 +95,6 @@ describe('toFile', () => { autosaved: 0, build: 0, compatibilityVersion: 99, - fonts: [''], variant: 'TESTING', created: { commit: '6896e2bfdb0a2a03f745e4054a8c5fc58565f9f1',