Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Jan 18, 2024
1 parent 8f7b450 commit 769f6aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/terra/generate-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ MY_PATH=$(realpath $(dirname "$0"))
PROJECT_ROOT=$(realpath ${MY_PATH}/../..)

# treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.
# touch yarn.lock
touch yarn.lock
rm -rf node_modules
rm -rf .terra
# YARN_ENABLE_IMMUTABLE_INSTALLS=false
yarn install
# rm yarn.lock
yarn install --refresh-lockfile
rm yarn.lock

npm exec terra -- run \
--config ${PROJECT_ROOT}/scripts/terra/config/types_config.yaml \
Expand Down

0 comments on commit 769f6aa

Please sign in to comment.