You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,24 +51,34 @@ Based on the above, rate as:
51
51
Alpine.js is a monorepo with packages in `/packages/`:
52
52
- Each package has its own package.json
53
53
- Build outputs go to `dist/` with `.cjs.js`, `.esm.js`, and `.min.js` versions
54
-
-Tests use Jest framework
54
+
-Browser tests use Cypress, unit tests use Vitest
55
55
- CI runs on GitHub Actions
56
56
57
57
## Common Commands
58
58
59
59
```bash
60
+
# Build
61
+
npm run build # Build all packages
62
+
63
+
# Browser tests (Cypress)
64
+
npm test# Run all tests
65
+
npx cypress run --spec ./tests/cypress/integration/[filename].spec.js # Run single spec
66
+
67
+
# Unit tests (Vitest)
68
+
npx vitest run tests/vitest/[filename].spec.js # Run single spec
69
+
60
70
# Review PRs
61
-
gh pr list # List open PRs
71
+
gh pr list # List open PRs
62
72
gh pr view [number] # View PR details
63
73
gh pr diff [number] # View code changes
64
74
gh pr checks [number] # Check CI status
65
-
gh api repos/alpinejs/alpine/pulls/[number]/comments # View comments
66
-
67
-
# Testing
68
-
npm test# Run all tests
69
-
npm run build # Build all packages
70
75
```
71
76
77
+
## Manual Testing
78
+
79
+
1. Edit `./index.html` at project root
80
+
2. Open in browser at `http://alpine.test/` (assumes local dev server mapped to directory name)
81
+
72
82
## Summary
73
83
74
84
After assessing the pull request on the above qualities, provide a summary explaining the problem this PR addresses and the fix, and why it's a good or bad fix. Do it in plain language as if you are personally advising me on what the PR is and weather or not I should merge it. And if not, what might need to be addressed first. If things need to be addressed, offer to address them yourself.
0 commit comments