Commit | Line | Data |
---|---|---|
1 | #!/usr/bin/env bash | |
2 | ||
3 | set -e | |
4 | ||
5 | examples=$(find . -maxdepth 3 -name "package.json" -exec dirname {} \;) | |
6 | ||
7 | for example in $examples | |
8 | do | |
9 | cd $example | |
10 | echo -e "Installing dependencies in $example" | |
11 | pnpm install --ignore-scripts --frozen-lockfile | |
12 | echo -e "Building $(basename $example)" | |
13 | pnpm build | |
14 | cd - | |
15 | done |