From c17d55b76aa32c702171dfa806e3553e8bcae3a2 Mon Sep 17 00:00:00 2001 From: Liam Potter Date: Sun, 19 Jul 2026 23:24:45 +0100 Subject: [PATCH 1/2] demo: rebuild the workspace lib before build and dev Stale eksml/dist builds have twice produced misleading local benchmark comparisons. The demo's build, dev, and start scripts now rebuild @eksml/xml first (~700ms) so local runs always reflect current source. --- demo/package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/demo/package.json b/demo/package.json index 359d2fe..7d75434 100644 --- a/demo/package.json +++ b/demo/package.json @@ -21,9 +21,10 @@ "./*": "./app/*" }, "scripts": { - "build": "vite build", - "dev": "vite", - "start": "vite", + "build": "pnpm run build:lib && vite build", + "build:lib": "pnpm --filter @eksml/xml build", + "dev": "pnpm run build:lib && vite", + "start": "pnpm run build:lib && vite", "lint:eslint": "eslint . --cache", "lint:eslint:fix": "eslint . --fix", "lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\" --prefixColors auto", From d3d05d18c6bb32c80698abbcec1e84856f13d262 Mon Sep 17 00:00:00 2001 From: Liam Potter Date: Sun, 19 Jul 2026 23:31:05 +0100 Subject: [PATCH 2/2] ci: drop redundant library build from deploy The demo's build script now builds the library itself. --- .github/workflows/deploy.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4825bc2..bd2e80a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,10 +34,8 @@ jobs: - run: pnpm install --frozen-lockfile - - name: Build library - run: pnpm build - - name: Build demo + # Builds the library first via the demo's build:lib script run: pnpm build:demo - uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0