From 8e1f0da192f95613692620690f56fb801472cbff Mon Sep 17 00:00:00 2001 From: Andre van Zuydam Date: Mon, 26 Oct 2026 11:12:20 +0200 Subject: [PATCH] =?UTF-8?q?docs(skill):=20finish=20the=20tina4-js=20skill?= =?UTF-8?q?=20Vite=E2=86=92esbuild=20migration=20(canonical)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #35 (tina4-js#159) renamed most Vite mentions to esbuild but missed two in the SHARED tina4-js skill, and it edited the tina4-js repo's copy rather than the canonical master here in tina4-python. The served skills bundle sources the tina4-js skill from tina4-python/.claude, so users who refresh their skills were still being taught Vite: - `npm run build # Vite build → ES/CJS modules` → esbuild (the library build is `node scripts/build.mjs`, esbuild alone, no Vite/Rollup) - "Creates a working TypeScript/Vite project" → esbuild (`tina4 init js` and `tina4js create` scaffold an esbuild project since tina4-js 1.7.5 / CLI 3.8.105) Fixed across all three canonical trees (.claude/.agents/.cursor). No Vite mention remains in the skill. Signed-off-by: Andre van Zuydam Co-Authored-By: Claude Opus 4.8 --- .agents/skills/tina4-js/SKILL.md | 4 ++-- .claude/skills/tina4-js/SKILL.md | 4 ++-- .cursor/skills/tina4-js/SKILL.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.agents/skills/tina4-js/SKILL.md b/.agents/skills/tina4-js/SKILL.md index 075e5e65..d9266046 100644 --- a/.agents/skills/tina4-js/SKILL.md +++ b/.agents/skills/tina4-js/SKILL.md @@ -27,7 +27,7 @@ tina4-css (`dist/tina4js.min.js`) so all Tina4 backend frameworks get it automat **Building the IIFE bundle:** ```bash -npm run build # Vite build → ES/CJS modules in dist/ +npm run build # esbuild build → ES/CJS modules in dist/ npm run build:types # TypeScript declarations # IIFE for script-tag usage: npx esbuild src/index.ts --bundle --minify --format=iife --global-name=Tina4 --outfile=dist/tina4js.min.js --target=es2021 @@ -105,7 +105,7 @@ cd my-app tina4 serve ``` -Creates a working TypeScript/Vite project, installs its packages, and starts +Creates a working TypeScript/esbuild project, installs its packages, and starts it through the unified Tina4 client. Do not make `npx tina4js create`, `npm install`, or `npm run dev` the default onboarding path. The package CLI remains a fallback when the unified client is unavailable. diff --git a/.claude/skills/tina4-js/SKILL.md b/.claude/skills/tina4-js/SKILL.md index c9a408a1..516e69c1 100644 --- a/.claude/skills/tina4-js/SKILL.md +++ b/.claude/skills/tina4-js/SKILL.md @@ -27,7 +27,7 @@ tina4-css (`dist/tina4js.min.js`) so all Tina4 backend frameworks get it automat **Building the IIFE bundle:** ```bash -npm run build # Vite build → ES/CJS modules in dist/ +npm run build # esbuild build → ES/CJS modules in dist/ npm run build:types # TypeScript declarations # IIFE for script-tag usage: npx esbuild src/index.ts --bundle --minify --format=iife --global-name=Tina4 --outfile=dist/tina4js.min.js --target=es2021 @@ -170,7 +170,7 @@ cd my-app tina4 serve ``` -Creates a working TypeScript/Vite project, installs its packages, and starts +Creates a working TypeScript/esbuild project, installs its packages, and starts it through the unified Tina4 client. Do not make `npx tina4js create`, `npm install`, or `npm run dev` the default onboarding path. The package CLI remains a fallback when the unified client is unavailable. diff --git a/.cursor/skills/tina4-js/SKILL.md b/.cursor/skills/tina4-js/SKILL.md index 075e5e65..d9266046 100644 --- a/.cursor/skills/tina4-js/SKILL.md +++ b/.cursor/skills/tina4-js/SKILL.md @@ -27,7 +27,7 @@ tina4-css (`dist/tina4js.min.js`) so all Tina4 backend frameworks get it automat **Building the IIFE bundle:** ```bash -npm run build # Vite build → ES/CJS modules in dist/ +npm run build # esbuild build → ES/CJS modules in dist/ npm run build:types # TypeScript declarations # IIFE for script-tag usage: npx esbuild src/index.ts --bundle --minify --format=iife --global-name=Tina4 --outfile=dist/tina4js.min.js --target=es2021 @@ -105,7 +105,7 @@ cd my-app tina4 serve ``` -Creates a working TypeScript/Vite project, installs its packages, and starts +Creates a working TypeScript/esbuild project, installs its packages, and starts it through the unified Tina4 client. Do not make `npx tina4js create`, `npm install`, or `npm run dev` the default onboarding path. The package CLI remains a fallback when the unified client is unavailable.