Skip to content

Commit d28d3e2

Browse files
committed
chore: add workspace list command to package.json
1 parent 2d7b345 commit d28d3e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"private": true,
44
"scripts": {
55
"lib": "pnpm --filter=trpc-svelte-query-adapter",
6-
"app": "pnpm --filter=app"
6+
"app": "pnpm --filter=app",
7+
"list-pkgs": "pnpm m ls --json --depth=-1 | node -e \"const path = require('path'); console.log(JSON.parse(require('fs').readFileSync('/dev/stdin', 'utf-8')).map((m) => path.relative(__dirname, m.path)).filter(Boolean))\""
78
}
89
}

0 commit comments

Comments
 (0)