feat: добавить entry-point для React-модуля

- добавлена генерация index.ts рядом с React-компонентом

- добавлен тест генерации directory import

- обновлена документация ожидаемого output
This commit is contained in:
2026-05-20 14:02:28 +03:00
parent dab7685cf2
commit 3a60b5c6ae
5 changed files with 69 additions and 3 deletions

View File

@@ -29,6 +29,7 @@
"build": "tsup && npm run build:preview",
"build:preview": "cd preview && npx vite build",
"dev": "tsup --watch",
"test": "tsup && node --test test/*.test.mjs",
"typecheck": "tsc --noEmit",
"sprite": "node dist/cli.js",
"prepublishOnly": "npm run build"