diff --git a/scripts/update-cdktf.sh b/scripts/update-cdktf.sh index 2e0e9d608..5278071b6 100755 --- a/scripts/update-cdktf.sh +++ b/scripts/update-cdktf.sh @@ -17,9 +17,9 @@ echo "Updating examples" for example in $(find "$PROJECT_ROOT/examples" -mindepth 1 -maxdepth 1 -type d); do echo "Updating example $example" cd "$example" - yarn - yarn add -D cdktf-cli@$CDKTF_VERSION - yarn add cdktf@$CDKTF_VERSION + npm install + npm install -D cdktf-cli@$CDKTF_VERSION + npm install cdktf@$CDKTF_VERSION done echo "Updating README" diff --git a/scripts/update-node.sh b/scripts/update-node.sh index 8ce90b39f..0d461e128 100755 --- a/scripts/update-node.sh +++ b/scripts/update-node.sh @@ -19,8 +19,8 @@ for example in $(find "$PROJECT_ROOT/examples" -mindepth 1 -maxdepth 1 -type d); echo "Updating example $example" cd "$example" npm pkg set engines.node=">= $NODE_VERSION" - yarn - yarn add -D @types/node@^$NODE_VERSION_SHORT + npm install + npm install -D @types/node@^$NODE_VERSION_SHORT done echo "Updating README"