Skip to content

Commit 4cf7fab

Browse files
committed
Missed yarn->pnpm replacements
1 parent ed5e294 commit 4cf7fab

24 files changed

+86
-112
lines changed

.claude/agents/pr-testing-agent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ bundle exec rake rbs:validate # Type signatures valid
7676

7777
**Automated (CI covers):**
7878

79-
- ✅ Jest unit tests (`yarn run test`)
80-
- ✅ TypeScript compilation (`yarn run type-check`)
81-
- ✅ ESLint (`yarn run lint`)
82-
- ✅ Prettier formatting (`yarn start format.listDifferent`)
79+
- ✅ Jest unit tests (`pnpm run test`)
80+
- ✅ TypeScript compilation (`pnpm run type-check`)
81+
- ✅ ESLint (`pnpm run lint`)
82+
- ✅ Prettier formatting (`pnpm start format.listDifferent`)
8383

8484
**Manual verification required:**
8585

.claude/agents/pr-testing-guide.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,8 @@ gh pr create # Include testing summary from agent
426426

427427
- [ ] RuboCop passes (`bundle exec rubocop`)
428428
- [ ] RSpec unit tests pass (`rake run_rspec:gem`)
429-
- [ ] Jest tests pass (`yarn run test`)
430-
- [ ] TypeScript compiles (`yarn run type-check`)
429+
- [ ] Jest tests pass (`pnpm run test`)
430+
- [ ] TypeScript compiles (`pnpm run type-check`)
431431
- [ ] RBS validation passes (`rake rbs:validate`)
432432
- [ ] Prettier formatting applied (`rake autofix`)
433433

@@ -444,19 +444,19 @@ gh pr create # Include testing summary from agent
444444

445445
#### If JS/TS files changed:
446446

447-
- [ ] Run tests locally: `yarn run test`
448-
- [ ] Build succeeds: `yarn run build`
447+
- [ ] Run tests locally: `pnpm run test`
448+
- [ ] Build succeeds: `pnpm run build`
449449
- [ ] Test in browser: `cd spec/dummy && bin/dev`
450450
- [ ] Check browser console for errors
451451
- [ ] If SSR code changed: Verify SSR output in page source
452452

453453
#### If build configs changed:
454454

455-
- [ ] **MANDATORY**: Clean install test: `rm -rf node_modules && yarn install --frozen-lockfile`
456-
- [ ] **MANDATORY**: Build test: `yarn run build && ls -la packages/react-on-rails/lib/`
457-
- [ ] **MANDATORY**: Prepack test: `yarn nps build.prepack`
458-
- [ ] **MANDATORY**: yalc publish test: `yarn run yalc:publish`
459-
- [ ] Workspace linking: `yarn workspaces info`
455+
- [ ] **MANDATORY**: Clean install test: `rm -rf node_modules && pnpm install --frozen-lockfile`
456+
- [ ] **MANDATORY**: Build test: `pnpm run build && ls -la packages/react-on-rails/lib/`
457+
- [ ] **MANDATORY**: Prepack test: `pnpm nps build.prepack`
458+
- [ ] **MANDATORY**: yalc publish test: `pnpm run yalc:publish`
459+
- [ ] Workspace linking: `pnpm workspaces info`
460460
- [ ] Full test suite: `bundle exec rake`
461461

462462
#### If webpack configs changed:
@@ -479,7 +479,7 @@ gh pr create # Include testing summary from agent
479479

480480
#### If user-facing behavior changed (React components, SSR, view helpers):
481481

482-
- [ ] Run Playwright E2E tests: `cd spec/dummy && yarn test:e2e`
482+
- [ ] Run Playwright E2E tests: `cd spec/dummy && pnpm test:e2e`
483483
- [ ] Verify components render in browser
484484
- [ ] Check server-side rendering in view source
485485
- [ ] No JavaScript console errors

.claude/docs/analysis/CI_FAILURES_2024-11-21.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ When changing directory structure:
479479
480480
1. Update ALL path references in configuration files
481481
2. Search codebase: `grep -r "old/path"`
482-
3. Test scripts: `yarn run prepack`, `yarn run yalc.publish`
482+
3. Test scripts: `yarn run prepack`, `yarn run yalc:publish`
483483
4. Run full test suite before committing
484484

485485
---

.claude/docs/analysis/CLAUDE_MD_UPDATES.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Add this new section to CLAUDE.md (both root and .conductor/london-v1):
6767
2. **Test yalc publish (CRITICAL):**
6868

6969
```bash
70-
yarn run yalc.publish
70+
yarn run yalc:publish
7171
# Should publish successfully
7272
```
7373

@@ -103,7 +103,7 @@ In Sep 2024, we moved `node_package/` → `packages/react-on-rails/`. The path i
103103
package-scripts.yml was updated to `packages/react-on-rails/lib/ReactOnRails.full.js`.
104104
Later, the structure was partially reverted to `lib/` at root, but package-scripts.yml
105105
wasn't updated. This broke yalc publish silently for 7 weeks. Manual testing of
106-
`yarn run yalc.publish` would have caught this immediately.
106+
`yarn run yalc:publish` would have caught this immediately.
107107

108108
````
109109
@@ -157,7 +157,7 @@ Some failures don't show up in standard CI:
157157

158158
**Always manually test critical workflows:**
159159

160-
- If you changed package structure → test `yarn run yalc.publish`
160+
- If you changed package structure → test `yarn run yalc:publish`
161161
- If you changed build configs → test `yarn build && ls -la lib/`
162162
- If you changed generators → test `rake run_rspec:example_basic`
163163

@@ -199,7 +199,7 @@ Add this new section to CLAUDE.md (both versions):
199199
```bash
200200
# If it's a build artifact path in package-scripts.yml:
201201
yarn run prepack
202-
yarn run yalc.publish
202+
yarn run yalc:publish
203203

204204
# If it's a webpack output path:
205205
yarn build && ls -la <output-path>
@@ -238,7 +238,7 @@ find . -name "package.json" -type f
238238

239239
# 3. Test package scripts
240240
yarn run prepack
241-
yarn run yalc.publish
241+
yarn run yalc:publish
242242

243243
# 4. Test clean install
244244
rm -rf node_modules && yarn install
@@ -259,7 +259,7 @@ rake
259259
**How to prevent:**
260260

261261
1. After changing directory structure, search for ALL references to old paths
262-
2. Always run `yarn run yalc.publish` manually to verify it works
262+
2. Always run `yarn run yalc:publish` manually to verify it works
263263
3. Check that paths in package-scripts.yml match actual file locations
264264
4. Use `ls -la <path>` to verify paths exist before committing
265265

@@ -288,7 +288,7 @@ Update the existing "Merge Conflict Resolution Workflow" section with this addit
288288
7. **TEST CRITICAL SCRIPTS if build configs changed:**
289289
```bash
290290
yarn run prepack # Test prepack script
291-
yarn run yalc.publish # Test yalc publish if package structure changed
291+
yarn run yalc:publish # Test yalc publish if package structure changed
292292
rake run_rspec:gem # Run relevant test suites
293293
````
294294

.claude/docs/analysis/INDEX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Outside the analysis directory:
161161
**Critical Risk**: Path validation for yalc publish
162162

163163
- Past incident: 7-week silent failure (Sept 2024)
164-
- Prevention: Always test `yarn run yalc.publish` manually
164+
- Prevention: Always test `yarn run yalc:publish` manually
165165

166166
**Packages in Migration**:
167167

.claude/docs/analysis/MIGRATION_QUICK_REFERENCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ react_on_rails_pro/packages/ → packages/react-on-rails-pro/lib/
114114
```
115115
Path Migration Testing
116116
- [ ] Verify all paths in package-scripts.yml
117-
- [ ] Test yarn run yalc.publish manually
117+
- [ ] Test yarn run yalc:publish manually
118118
- [ ] Check package.json main/exports/files fields
119119
- [ ] Search for hardcoded node_package/ references
120120
@@ -158,7 +158,7 @@ Documentation Testing
158158
```bash
159159
yarn run prepack # Test prepack script
160160
ls -la lib/ReactOnRails.full.js # Verify path exists
161-
yarn run yalc.publish # Manual test
161+
yarn run yalc:publish # Manual test
162162
```
163163

164164
### Issue: Workspace packages not building

.claude/docs/analysis/MONOREPO_MIGRATION_ANALYSIS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ GitHub Actions
491491
- [ ] Update all `package-scripts.yml` paths
492492
- [ ] Update all CI workflow paths
493493
- [ ] Search codebase for hardcoded `node_package/` references
494-
- [ ] Run `yarn run yalc.publish` manually (critical!)
494+
- [ ] Run `yarn run yalc:publish` manually (critical!)
495495

496496
3. **Documentation Alignment**
497497
- [ ] Update CONTRIBUTING.md section on npm development

.claude/docs/analysis/claude-md-improvements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Based on the CI breakage analysis, here are specific additions to prevent simila
4747
yarn run prepack
4848

4949
# Test yalc publish (critical for local development)
50-
yarn run yalc.publish
50+
yarn run yalc:publish
5151

5252
# Verify build artifacts exist at expected paths
5353
ls -la lib/ReactOnRails.full.js
@@ -110,7 +110,7 @@ Based on the CI breakage analysis, here are specific additions to prevent simila
110110
6. **Continue rebase/merge**: `git rebase --continue` or `git commit`
111111
7. **TEST CRITICAL SCRIPTS**: If package-scripts.yml or build configs changed:
112112
- Run `yarn run prepack` to verify build scripts work
113-
- Run `yarn run yalc.publish` if package structure changed
113+
- Run `yarn run yalc:publish` if package structure changed
114114
- Run relevant test suites
115115

116116
**❌ NEVER manually format during conflict resolution** - this causes formatting wars.

.claude/docs/analysis/github-issue-1765-update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The monorepo merger has been successfully completed with full git history preser
7373
#### Validation Requirements
7474

7575
- [ ] `yarn run prepack` succeeds
76-
- [ ] `yarn run yalc.publish` works for each package
76+
- [ ] `yarn run yalc:publish` works for each package
7777
- [ ] `yarn build` outputs to correct directories
7878
- [ ] `rake node_package` generates correct structure
7979
- [ ] Full test suite passes: `rake`
@@ -215,7 +215,7 @@ The monorepo merger has been successfully completed with full git history preser
215215
2. **Test current YALC publishing** (10 min)
216216

217217
```bash
218-
yarn run yalc.publish
218+
yarn run yalc:publish
219219
# Verify success and check published location
220220
```
221221

.claude/docs/managing-file-paths.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
```bash
1616
# If it's a build artifact path in package-scripts.yml:
1717
yarn run prepack
18-
yarn run yalc.publish
18+
yarn run yalc:publish
1919

2020
# If it's a webpack output path:
2121
yarn build && ls -la <output-path>
@@ -54,7 +54,7 @@ find . -name "package.json" -type f
5454

5555
# 3. Test package scripts
5656
yarn run prepack
57-
yarn run yalc.publish
57+
yarn run yalc:publish
5858

5959
# 4. Test clean install
6060
rm -rf node_modules && yarn install
@@ -75,6 +75,6 @@ rake
7575
**How to prevent:**
7676

7777
1. After changing directory structure, search for ALL references to old paths
78-
2. Always run `yarn run yalc.publish` manually to verify it works
78+
2. Always run `pnpm run yalc:publish` manually to verify it works
7979
3. Check that paths in package-scripts.yml match actual file locations
8080
4. Use `ls -la <path>` to verify paths exist before committing

0 commit comments

Comments
 (0)