repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: cleanup default arguments handling
[poolifier.git]
/
examples
/
typescript
/
build.sh
diff --git
a/examples/typescript/build.sh
b/examples/typescript/build.sh
index 8a8a436048354fcf80cc3d85ffb5d4aa70284f0a..dd6d075eb17c4c3f9138340490f07288436193f1 100755
(executable)
--- a/
examples/typescript/build.sh
+++ b/
examples/typescript/build.sh
@@
-2,13
+2,14
@@
set -e
set -e
-examples=$(find . -
name "package.json" -maxdepth 3
-exec dirname {} \;)
+examples=$(find . -
maxdepth 3 -name "package.json"
-exec dirname {} \;)
for example in $examples
do
for example in $examples
do
- echo -e "Building $example"
cd $example
cd $example
+ echo -e "Installing dependencies in $example"
pnpm install --ignore-scripts --frozen-lockfile
pnpm install --ignore-scripts --frozen-lockfile
+ echo -e "Building $(basename $example)"
pnpm build
cd -
done
pnpm build
cd -
done