File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,15 @@ jobs:
135135
136136 echo "Ignore list: $IGNORE_PACKAGES"
137137
138- # Find all package.json files and update versions
139- find . -name "package.json" -not -path "./node_modules/*" -not -path "./.git/*" | while read package_file; do
138+ # Find all package.json files and update versions, excluding all node_modules directories
139+ find . -name "package.json" \
140+ -not -path "*/node_modules/*" \
141+ -not -path "./.git/*" \
142+ -not -path "./.changeset/*" \
143+ -not -path "./.github/*" \
144+ -not -path "./.husky/*" \
145+ -not -path "./.turbo/*" | while read package_file; do
146+
140147 if [ "$package_file" != "./package.json" ]; then
141148 # Extract package name from package.json
142149 PACKAGE_NAME=$(node -e "
@@ -170,6 +177,7 @@ jobs:
170177 fi
171178 done
172179
180+
173181 - name : Commit version
174182 run : |
175183 git add .
You can’t perform that action at this time.
0 commit comments