From 981f68dab92be44a2a7a72a7259919d276a86310 Mon Sep 17 00:00:00 2001 From: David East Date: Mon, 27 Apr 2026 15:03:36 -0400 Subject: [PATCH 1/2] chore: bump root package version to 0.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 98136ae..e6d3e57 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "stitch-root", "private": true, "type": "module", - "version": "0.1.0", + "version": "0.1.1", "workspaces": [ "packages/*" ], From 59511135653dc489c9efde82210bcf48e4ed4824 Mon Sep 17 00:00:00 2001 From: David East Date: Mon, 27 Apr 2026 15:03:53 -0400 Subject: [PATCH 2/2] chore: exclude test files from npm package and update readiness size limit --- packages/sdk/package.json | 4 +++- scripts/publish-readiness.ts | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 95a8889..dd77a37 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@google/stitch-sdk", - "version": "0.1.0", + "version": "0.1.1", "type": "module", "private": false, "description": "Generate UI screens from text prompts and extract their HTML and screenshots programmatically.", @@ -39,6 +39,8 @@ "files": [ "dist", "!dist/tsconfig.tsbuildinfo", + "!dist/test", + "!dist/**/*.tsbuildinfo", "!dist/package.json", "README.md" ], diff --git a/scripts/publish-readiness.ts b/scripts/publish-readiness.ts index c18487f..46a28fd 100644 --- a/scripts/publish-readiness.ts +++ b/scripts/publish-readiness.ts @@ -152,8 +152,8 @@ console.log("\nšŸ“ Pack Size"); const totalSize = packData[0].unpackedSize; const totalKB = Math.round(totalSize / 1024); -check(`pack size is reasonable (${totalKB} KB, limit: 250 KB)`, () => { - assert(totalSize < 250 * 1024, `Pack is ${totalKB} KB — too large for a library`); +check(`pack size is reasonable (${totalKB} KB, limit: 300 KB)`, () => { + assert(totalSize < 300 * 1024, `Pack is ${totalKB} KB — too large for a library`); }); const fileCount = packFiles.length;