From 98068b10180b0c60f44455007deb6676defe4ea7 Mon Sep 17 00:00:00 2001 From: Ewan Croft Date: Sat, 7 Mar 2026 14:05:37 +0000 Subject: [PATCH] chore: fix build and publish blockers for 0.2.0 release Add missing root tsconfig.json (skipLibCheck suppresses upstream @atproto type errors in vendored .d.ts files). Export ListItem interface from UnorderedListBlock to resolve svelte-package private name leak. Bump @ewanc26/atproto and @ewanc26/svelte-standard-site to 0.2.0. --- packages/atproto/package.json | 11 ++++++++--- packages/svelte-standard-site/package.json | 2 +- .../document/blocks/UnorderedListBlock.svelte | 2 +- tsconfig.json | 9 +++++++++ 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 tsconfig.json diff --git a/packages/atproto/package.json b/packages/atproto/package.json index 5e19730..15e55fb 100644 --- a/packages/atproto/package.json +++ b/packages/atproto/package.json @@ -1,6 +1,6 @@ { "name": "@ewanc26/atproto", - "version": "0.1.0", + "version": "0.2.0", "description": "AT Protocol service layer extracted from ewancroft.uk", "type": "module", "exports": { @@ -12,8 +12,13 @@ }, "main": "./dist/index.js", "types": "./dist/index.d.ts", - "publishConfig": { "access": "public" }, - "files": ["dist", "src"], + "publishConfig": { + "access": "public" + }, + "files": [ + "dist", + "src" + ], "scripts": { "build": "tsc --project tsconfig.json", "dev": "tsc --project tsconfig.json --watch", diff --git a/packages/svelte-standard-site/package.json b/packages/svelte-standard-site/package.json index e8b5709..804161a 100644 --- a/packages/svelte-standard-site/package.json +++ b/packages/svelte-standard-site/package.json @@ -1,6 +1,6 @@ { "name": "@ewanc26/svelte-standard-site", - "version": "0.1.0", + "version": "0.2.0", "description": "SvelteKit library for reading and writing AT Protocol longform content via site.standard.* records — with a complete design system, federated comments, publishing tools, and content verification.", "license": "AGPL-3.0-only", "author": { diff --git a/packages/svelte-standard-site/src/lib/components/document/blocks/UnorderedListBlock.svelte b/packages/svelte-standard-site/src/lib/components/document/blocks/UnorderedListBlock.svelte index ad3ae53..fe44e01 100644 --- a/packages/svelte-standard-site/src/lib/components/document/blocks/UnorderedListBlock.svelte +++ b/packages/svelte-standard-site/src/lib/components/document/blocks/UnorderedListBlock.svelte @@ -2,7 +2,7 @@ import RichText from '../RichText.svelte'; import UnorderedListBlock from './UnorderedListBlock.svelte'; - interface ListItem { + export interface ListItem { content?: { plaintext: string; facets?: any[]; diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..cf1605a --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "strict": true, + "skipLibCheck": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true + } +} -- 2.51.2