chore(pkg): add package.json (name/version/peerDeps/exports/sideEffects)

Libs shipped as bare source with no manifest — consumable only via per-app
vite/tsconfig alias surgery, no version contract, no tree-shaking signal.
Add a minimal package.json matching the @crema/content-ui template: entry +
exports map, declared peerDependencies, sideEffects:false. Mechanical, no
code change. Frontend audit 2026-06-20, rank 2.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
jules
2026-06-20 20:37:34 +10:00
parent 73fd8ccf52
commit 94ba0cb5eb

21
package.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "@crema/records-ui",
"version": "0.0.1",
"private": true,
"description": "Records components for the Crema design system.",
"type": "module",
"main": "./src/index.tsx",
"types": "./src/index.tsx",
"exports": {
".": "./src/index.tsx"
},
"files": [
"src"
],
"sideEffects": false,
"peerDependencies": {
"lucide-react": "^1.8.0",
"react": "^19.2.4",
"react-dom": "^19.2.4"
}
}