From e094cce9f1282f8c06fb7c2d4eff4b98c9799c62 Mon Sep 17 00:00:00 2001 From: Shakker Nerd Date: Sat, 7 Dec 2024 06:28:16 +0000 Subject: [PATCH 1/2] chore: remove redundant dev:build command --- package.json | 1 - scripts/dev.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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..46ebdd8bba 100644 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -107,7 +107,7 @@ else fi # Run build command first -if ! pnpm dev:build; then +if ! pnpm build; then echo "Build failed. Exiting." exit 1 fi From 1656ce786d1b0a9be1efccd3f2f82af2db4077b1 Mon Sep 17 00:00:00 2001 From: Shakker Nerd Date: Sat, 7 Dec 2024 06:34:47 +0000 Subject: [PATCH 2/2] chore: add a delay to the help message --- scripts/dev.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/dev.sh b/scripts/dev.sh index 46ebdd8bba..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."