Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

Chore: Fix build:docs&build:registry script loop & add engines field for consistency (#806)

Yeom-JinHo7080149fe941
diff --git a/package.json b/package.json
index 671e7416..c3056904 100644
--- a/package.json
+++ b/package.json
@@ -14,8 +14,8 @@
"typecheck": "turbo run typecheck",
"format:fix": "prettier --write \"**/*.{ts,tsx,mdx}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,mdx}\"",
- "build:docs": "pnpm build:docs",
- "build:registry": "pnpm build:registry",
+ "build:docs": "turbo run build:docs --filter=@magicui/www",
+ "build:registry": "turbo run build:registry --filter=@magicui/www",
"dev:all": "turbo run dev --parallel",
"build:all": "turbo run build",
"lint:all": "turbo run lint",
@@ -26,5 +26,9 @@
"devDependencies": {
"prettier": "^3.6.2",
"turbo": "^2.5.6"
+ },
+ "engines": {
+ "node": ">=22.14.0",
+ "pnpm": ">=9"
}
}