From 7db6f37e2e04dd3dd36b39471b3b984633b3ddac Mon Sep 17 00:00:00 2001 From: cha0s Date: Thu, 11 Aug 2022 06:38:44 -0500 Subject: [PATCH] fix: unlink-all --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 886dda5..16d3996 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "refresh": "rm -rf yarn.lock node_modules dist && yarn link-all", "repl": "npx flecks repl --rlwrap", "start": "DEBUG=@avocado*,@flecks*,@persea*,persea*,-*:silly npm run dev", - "unlink-all": "yarn unlink $(for i in $(ls node_modules/@flecks); do echo -n \"@flecks/$i \"; done) && yarn install --force", + "unlink-all": "for i in avocado humus persea; do yarn unlink $(for j in $(ls node_modules/@$i/); do echo \" @$i/$j\"; done); done && yarn install --force", "up": "yarn add $(for i in $(ls node_modules/@flecks); do echo -n \"@flecks/$i \"; done) $(for i in $(ls node_modules/@avocado); do echo -n \"@avocado/$i \"; done) $(for i in $(ls node_modules/@humus); do echo -n \"@humus/$i \"; done)" }, "dependencies": {