diff --git a/package.json b/package.json index 732d8ad6cf..7e9b1a9194 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "start:client": "pnpm --dir client start --isRoot", "start:debug": "cross-env NODE_ENV=development VERBOSE=true DEBUG=eliza:* pnpm --filter \"@ai16z/agent\" start --isRoot", "dev": "bash ./scripts/dev.sh", - "dev:build": "turbo run build --filter=!eliza-docs", "lint": "bash ./scripts/lint.sh", "prettier-check": "npx prettier --check .", "prettier": "npx prettier --write .", diff --git a/scripts/dev.sh b/scripts/dev.sh index 0722c53820..0c6cb50451 100644 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -38,7 +38,7 @@ cat << "EOF" * * * 4. Update the 'agent/package.json' file: * * * -* Add your plugin to the "dependencies" section like so: * +* Add your plugin to the "dependencies" section like so: * * * * "@ai16z/your-plugin-name": "workspace:*" * * * @@ -61,6 +61,12 @@ cat << "EOF" EOF +# 2 seconds delay +for i in {1..5}; do + echo -n "." + sleep 0.4 +done + # Check if the packages directory exists if [ ! -d "$PACKAGES_DIR" ]; then echo "Error: Directory $PACKAGES_DIR does not exist." @@ -107,7 +113,7 @@ else fi # Run build command first -if ! pnpm dev:build; then +if ! pnpm build; then echo "Build failed. Exiting." exit 1 fi