- 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>
53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
{
|
|
"name": "@nychthemeron/library",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/src/index.d.ts"
|
|
},
|
|
"./components": {
|
|
"import": "./src/components/index.ts",
|
|
"types": "./src/index.d.ts"
|
|
},
|
|
"./style": {
|
|
"import": "./src/assets/css/tailwind.css",
|
|
"types": "./src/index.d.ts"
|
|
},
|
|
"./theme": {
|
|
"import": "./src/assets/css/tailwind.css",
|
|
"types": "./src/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src/assets",
|
|
"src/components"
|
|
],
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test:unit": "vitest run",
|
|
"test:unit:watch": "vitest"
|
|
},
|
|
"peerDependencies": {
|
|
"vue": "^3.5.0",
|
|
"reka-ui": "^2.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitest/coverage-v8": "^2.0.0",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"vite-plugin-dts": "^5.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@lucide/vue": "^1.24.0",
|
|
"@tailwindcss/vite": "^4.3.2",
|
|
"@vueuse/core": "^14.3.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"shadcn-vue": "^2.7.4",
|
|
"tailwind-merge": "^3.6.0",
|
|
"tailwindcss": "^4.3.2",
|
|
"tw-animate-css": "^1.4.0"
|
|
}
|
|
}
|