- Split into yarn workspaces: packages/pet-pet (npm package: ESM, UMD, IIFE, d.ts, optional pet-pet/react hook + component) and apps/demo. - Demo "Installation" page: install tabs, vanilla/React/script usage, live reaction chips, options, methods, events. - Release workflow on v* tags: npm publish with provenance and a GitHub Release with the tarball. Pages deploy now type-checks and lints. - Head bump is now a real head merged into the body path; face and ears follow it instead of sitting under a bump. - Ragdoll forces go through torque-consistent impulses and the grab is a point constraint, so holding it no longer spins it up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
622 B
JSON
26 lines
622 B
JSON
{
|
|
"name": "pet-pet-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"apps/*"
|
|
],
|
|
"scripts": {
|
|
"dev": "yarn workspace pet-pet-demo dev",
|
|
"build": "yarn build:lib && yarn build:demo",
|
|
"build:lib": "yarn workspace pet-pet build",
|
|
"build:demo": "yarn workspace pet-pet-demo build",
|
|
"type-check": "tsc -b packages/pet-pet apps/demo",
|
|
"lint": "oxlint",
|
|
"test": "yarn workspace pet-pet test"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.19.2",
|
|
"oxlint": "^1.89.0",
|
|
"typescript": "~7.0.2",
|
|
"vite": "^8.3.5",
|
|
"vitest": "^5.1.0"
|
|
}
|
|
}
|