From 9bb3027403e7aaee281f14900b237217d0dac561 Mon Sep 17 00:00:00 2001 From: "ecoscript[bot]" <143032650+ecoscript[bot]@users.noreply.github.com> Date: Thu, 18 Dec 2025 07:52:36 +0000 Subject: [PATCH] =?UTF-8?q?chore(format):=20=F0=9F=A4=96=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 10 +++++----- test/nestLists.test.ts | 2 +- tsconfig.dist.json | 2 +- tsconfig.json | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 96d230c..20b0c1e 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,12 @@ "version": "5.0.0", "description": "Toolkit of handy utility functions for dealing with Portable Text", "keywords": [ - "sanity", "cms", + "content", "headless", + "portable-text-toolkit", "realtime", - "content", - "portable-text-toolkit" + "sanity" ], "homepage": "https://github.com/portabletext/toolkit#readme", "bugs": { @@ -18,15 +18,15 @@ "type": "git", "url": "git+ssh://git@github.com/portabletext/toolkit.git" }, - "license": "MIT", "author": "Sanity.io ", + "license": "MIT", "sideEffects": false, "type": "module", + "main": "./dist/index.js", "exports": { ".": "./src/index.ts", "./package.json": "./package.json" }, - "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ diff --git a/test/nestLists.test.ts b/test/nestLists.test.ts index fd27adf..20ce09c 100644 --- a/test/nestLists.test.ts +++ b/test/nestLists.test.ts @@ -118,7 +118,7 @@ function createBlocks( spans: string[], options: {level?: number; type?: string; startIndex?: number} = {}, ): PortableTextListItemBlock[] { - const { level = 1, type = 'bullet', startIndex = 0} = options + const {level = 1, type = 'bullet', startIndex = 0} = options return spans.map((span, i) => ({ _type: 'block', _key: `${String.fromCharCode(65 + startIndex + i)}${i}`, diff --git a/tsconfig.dist.json b/tsconfig.dist.json index 6a2df37..38fc32d 100644 --- a/tsconfig.dist.json +++ b/tsconfig.dist.json @@ -1,4 +1,4 @@ { "extends": ["./tsconfig.json", "@sanity/tsconfig/isolated-declarations"], - "include": ["./src"], + "include": ["./src"] } diff --git a/tsconfig.json b/tsconfig.json index a92d556..1f12950 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,6 @@ "rootDir": ".", "outDir": "./dist", - "noUncheckedIndexedAccess": true, - }, + "noUncheckedIndexedAccess": true + } }