fix: use cross-platform Node script for postinstall symlinks (#577)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-02-19 13:21:58 -06:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 10eb92e5ea
commit ca55e0ac5b
3 changed files with 44 additions and 3 deletions
+2 -3
View File
@@ -16,7 +16,7 @@
},
"scripts": {
"prepare": "simple-git-hooks",
"postinstall": "pnpm link:opencode && pnpm link:agents",
"postinstall": "node scripts/link-aliases.mjs",
"build:packages": "turbo run build --filter='./packages/*'",
"build:site": "turbo run build --filter=site",
"build": "turbo run build",
@@ -28,8 +28,7 @@
"lint": "biome check .",
"lint:fix": "biome check . --write",
"lint:fix:file": "biome check --write",
"link:opencode": "[ -e .opencode ] || ln -s .claude .opencode",
"link:agents": "[ -e AGENTS.md ] || ln -s CLAUDE.md AGENTS.md; [ -e agents ] || ln -s .claude agents",
"link:aliases": "node scripts/link-aliases.mjs",
"size": "node .github/scripts/bundle-size.js | node .github/scripts/bundle-size-report.js",
"test": "turbo run test",
"typecheck": "tsc --build"