Skip to content

Commit

Permalink
main 🧊 rework cli init
Browse files Browse the repository at this point in the history
  • Loading branch information
debabin committed Feb 22, 2025
1 parent b79f155 commit 42d0771
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ pnpm lint-staged
if git diff --quiet HEAD -- packages/core; then
echo "No changes in packages/core. Skipping build."
else
echo "Running tests for packages/core..."
pnpm run unit-test

echo "Changes detected in packages/core. Running build:js..."
pnpm run core:build:js

git add packages/core/src/bundle
echo "Built files added to git."

echo "Running tests for packages/core..."
pnpm run unit-test

echo "Running build:registry..."
pnpm run cli:build:registry

Expand Down

0 comments on commit 42d0771

Please sign in to comment.