* Add roof surface placement support for items Items (e.g. solar panels) can now be placed on sloped roof surfaces. The placement system computes euler rotation from the roof surface normal so items sit flush on the slope instead of going inside. - Add roofStrategy to placement-strategies with enter/move/click/leave - Wire roof:enter/move/click/leave events in the placement coordinator - Add calculateRoofRotation in placement-math using surface normals - Support full 3D cursor rotation for sloped surfaces - Items on roofs are parented to the level with world-space rotation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fixed conflict * fix(editor): anchor floorplan cursor to snapped point * fix(nodes): preview floorplan edits through live overrides * feat(editor): add context-aware floorplan modes * fix(nodes): render crisp wall selection hatching * fix(editor): cap floorplan handles at extreme zoom * fix(editor): keep zone labels upright after rotation * refactor(editor): make referenced annotations registry-driven * refactor(nodes): colocate contextual dimension builders * fix(editor): use mode-driven angle snapping * fix(nodes): use mode-driven move snapping * chore(editor): update react scan tooling * refactor(floorplan): streamline construction documentation * refactor(floorplan): remove wall assembly roadmap * fix(floorplan): migrate retired scene data --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
61 lines
2.2 KiB
JSON
61 lines
2.2 KiB
JSON
{
|
|
"name": "editor",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"dev": "set -a && . ./.env 2>/dev/null; set +a; turbo run dev --env-mode=loose",
|
|
"lint": "biome lint",
|
|
"lint:fix": "biome lint --write",
|
|
"format": "biome format --write",
|
|
"format:check": "biome format",
|
|
"check": "biome check",
|
|
"check:fix": "biome check --write",
|
|
"check-types": "turbo run check-types",
|
|
"kill": "lsof -ti:3002 | xargs kill -9 2>/dev/null || echo 'No processes found on port 3002'",
|
|
"clean:cache": "rm -rf apps/*/.next apps/*/.swc apps/*/.turbo packages/*/.turbo tooling/*/.turbo .turbo node_modules/.cache",
|
|
"restart": "bun kill && bun clean:cache && bun dev",
|
|
"release": "gh workflow run release.yml -f package=all -f bump=patch",
|
|
"release:viewer": "gh workflow run release.yml -f package=viewer -f bump=patch",
|
|
"release:core": "gh workflow run release.yml -f package=core -f bump=patch",
|
|
"release:editor": "gh workflow run release.yml -f package=editor -f bump=patch",
|
|
"release:nodes": "gh workflow run release.yml -f package=nodes -f bump=patch",
|
|
"release:mcp": "gh workflow run release.yml -f package=mcp -f bump=patch",
|
|
"release:minor": "gh workflow run release.yml -f package=all -f bump=minor",
|
|
"release:major": "gh workflow run release.yml -f package=all -f bump=major"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.16",
|
|
"@typescript/native-preview": "7.0.0-dev.20260624.1",
|
|
"dotenv-cli": "^11.0.0",
|
|
"turbo": "^2.9.17",
|
|
"typescript": "6.0.3",
|
|
"ultracite": "^7.8.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"packageManager": "bun@1.3.0",
|
|
"overrides": {
|
|
"@types/react": "19.2.17",
|
|
"@types/react-dom": "19.2.3",
|
|
"@types/three": "0.184.1",
|
|
"react-grab": "0.1.50",
|
|
"three": "0.185.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@tailwindcss/oxide-darwin-arm64": "4.3.0",
|
|
"@tailwindcss/oxide-darwin-x64": "4.3.0",
|
|
"@tailwindcss/oxide-linux-arm64-gnu": "4.3.0",
|
|
"@tailwindcss/oxide-linux-x64-gnu": "4.3.0",
|
|
"lightningcss-darwin-arm64": "1.32.0",
|
|
"lightningcss-darwin-x64": "1.32.0",
|
|
"lightningcss-linux-arm64-gnu": "1.32.0",
|
|
"lightningcss-linux-x64-gnu": "1.32.0"
|
|
},
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*",
|
|
"tooling/*"
|
|
]
|
|
}
|