- Delete packages/library/src/engine/ and engine.spec.ts; LoadingIcon is now exported directly instead of routed through a generic theming engine. - Remove primevue from every package.json (root devDependencies, library peerDependencies, playground dependencies) and from vite.config.ts's externalized/global Rollup config; add reka-ui as the library's peer dep. - Delete the hand-written nychthemeron.css/theme.css, now fully superseded by the Tailwind entry CSS; both library exports (./style, ./theme) point at it. - Drop the PrimeVue plugin install from Storybook's preview.ts. - Add a `@source "../../";` directive to tailwind.css: Tailwind's automatic content detection is scoped to whichever Vite project runs it, so when the playground consumes this CSS file it never scanned the sibling packages/library/src tree for class usage -- every component rendered with zero utility classes applied until this was added (verified via the compiled Storybook CSS output going from ~2KB/no .bg-primary rule to ~40KB with the full utility set, and the pre-fix screenshot that surfaced it: buttons and other components with a real background color showing as bare, near-invisible text on white). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"name": "nychthemeron",
|
|
"version": "0.0.0",
|
|
"devDependencies": {
|
|
"@tsconfig/node24": "^24.0.4",
|
|
"@types/jsdom": "^28.0.3",
|
|
"@types/node": "^25.9.3",
|
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
"@vitest/coverage-v8": "^4.1.8",
|
|
"@vitest/eslint-plugin": "^1.6.20",
|
|
"@vue/eslint-config-typescript": "^14.8.0",
|
|
"@vue/test-utils": "^2.4.11",
|
|
"@vue/tsconfig": "^0.9.1",
|
|
"eslint": "^10.4.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-oxlint": "~1.69.0",
|
|
"eslint-plugin-vue": "~10.9.2",
|
|
"jiti": "^2.7.0",
|
|
"jsdom": "^29.1.1",
|
|
"npm-run-all2": "^9.0.1",
|
|
"oxlint": "~1.69.0",
|
|
"playwright": "^1.60.0",
|
|
"prettier": "3.8.4",
|
|
"typescript": "~6.0.3",
|
|
"vite": "^8.0.16",
|
|
"vite-plugin-vue-devtools": "^8.1.2",
|
|
"vitest": "^4.1.8",
|
|
"vue": "^3.5.38",
|
|
"vue-tsc": "^3.3.4"
|
|
},
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "cd packages/playground && bun run dev",
|
|
"build:dev": "cd packages/library && bun run build ",
|
|
"build": "cd packages/library && bun run build && cd ../playground && bun run build",
|
|
"preview": "cd packages/playground && bun run preview",
|
|
"test:unit": "cd packages/library && bun run test:unit",
|
|
"type-check": "vue-tsc --build",
|
|
"lint": "eslint packages/*/src --fix",
|
|
"format": "prettier --write --experimental-cli packages/*/src",
|
|
"test": "vitest --config packages/library/vitest.config.ts"
|
|
},
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*"
|
|
]
|
|
}
|