Skip to content

Commit 2adace8

Browse files
committed
chore(deps): migrate project workflows to pnpm
1 parent 6fa3237 commit 2adace8

60 files changed

Lines changed: 9801 additions & 16346 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/skills/benchmark-fetcher/SKILL.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ This is an evidence-review workflow with a deterministic importer. The Node scri
3737
```bash
3838
node .agents/skills/benchmark-fetcher/scripts/fetch-benchmarks.mjs evidence.json
3939
node .agents/skills/benchmark-fetcher/scripts/fetch-benchmarks.mjs evidence.json --apply
40-
npm run changelog:generate
41-
npm run test:validate
42-
npm run data-health:check
40+
pnpm test:validate
41+
pnpm data-health:check
4342
```
4443

45-
Run `npm run check` and `npm run test:ci` before release handoff.
44+
Run `pnpm check` and `pnpm test:ci` before release handoff.

.agents/skills/i18n/SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ When translating:
5555
## Validate
5656

5757
```bash
58-
npm run validate:i18n
59-
npm run validate:i18n-usage
60-
npm run validate:i18n-duplicates
61-
npm run test:validate
58+
pnpm validate:i18n
59+
pnpm validate:i18n-usage
60+
pnpm validate:i18n-duplicates
61+
pnpm test:validate
6262
```
6363

64-
For release-ready work, also run `npm run check` and `npm run test:ci`.
64+
For release-ready work, also run `pnpm check` and `pnpm test:ci`.

.agents/skills/manifest-automation/SKILL.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ The merge helper is advisory. Always inspect its proposed result before applying
4949
At minimum run:
5050

5151
```bash
52-
npm run changelog:generate
53-
npm run generate
54-
npm run test:validate
55-
npm run validate:i18n
56-
npm run data-health:check
52+
pnpm generate
53+
pnpm test:validate
54+
pnpm validate:i18n
55+
pnpm data-health:check
5756
```
5857

59-
Run `npm run check` and `npm run test:ci` before handing off a release-ready change.
58+
Run `pnpm check` and `pnpm test:ci` before handing off a release-ready change.

.agents/skills/manifest-automation/scripts/automate.mjs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,10 @@ console.log('📝 Required Validation')
166166
console.log('━'.repeat(60))
167167
console.log('')
168168
console.log('After editing and reviewing the manifest:')
169-
console.log('1. npm run changelog:generate')
170-
console.log('2. npm run generate')
171-
console.log('3. npm run test:validate')
172-
console.log('4. npm run validate:i18n')
173-
console.log('5. npm run data-health:check')
169+
console.log('1. pnpm generate')
170+
console.log('2. pnpm test:validate')
171+
console.log('3. pnpm validate:i18n')
172+
console.log('4. pnpm data-health:check')
174173
console.log('')
175174
console.log('━'.repeat(60))
176175
console.log('')

.agents/skills/manifest-automation/scripts/lib/field-tracker.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ export class FieldTracker {
174174
output +=
175175
'2. Resolve required fields from authoritative sources; do not guess or add JSON comments\n'
176176
output += '3. Update provenance and verification metadata\n'
177-
output += '4. Run validation: npm run test:validate\n'
177+
output += '4. Run validation: pnpm test:validate\n'
178178
} else {
179179
output += '2. Update verified field if data confirmed accurate\n'
180-
output += '3. Run validation: npm run test:validate\n'
180+
output += '3. Run validation: pnpm test:validate\n'
181181
}
182182

183183
return output

.agents/skills/manifest-automation/scripts/lib/merge-strategies.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ export function generateChangeReport(changes, mode, manifestPath) {
311311
output += `1. Review merged manifest: ${manifestPath}\n`
312312
if (summary.needsReview > 0) {
313313
output += '2. Resolve fields marked "Needs Review"\n'
314-
output += '3. Run validation: npm run test:validate\n'
314+
output += '3. Run validation: pnpm test:validate\n'
315315
} else {
316-
output += '2. Run validation: npm run test:validate\n'
316+
output += '2. Run validation: pnpm test:validate\n'
317317
}
318318

319319
return output

.claude/skills/benchmark-fetcher/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ The skill uses a 3-tier fallback strategy to map website model names to manifest
172172

173173
3. **Validate**
174174
```bash
175-
npm run test:validate
175+
pnpm test:validate
176176
```
177177

178178
4. **Commit Changes**

.claude/skills/benchmark-fetcher/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Average time per benchmark: 7.5s
294294
1. Review updated manifests in manifests/models/
295295
2. Add unmapped models to references/model-name-mappings.json
296296
3. Retry failed benchmarks if needed
297-
4. Run validation: npm run test:validate
297+
4. Run validation: pnpm test:validate
298298
5. Commit changes when satisfied
299299
```
300300

@@ -338,7 +338,7 @@ await mcp__chrome-devtools__take_screenshot({
338338

339339
1. **Run during off-peak hours** to avoid rate limiting
340340
2. **Review unmapped models** and update mappings before next run
341-
3. **Validate manifests** after updates: `npm run test:validate`
341+
3. **Validate manifests** after updates: `pnpm test:validate`
342342
4. **Check for website changes** if extraction fails repeatedly
343343
5. **Keep mappings updated** as new models appear on leaderboards
344344

@@ -380,7 +380,7 @@ Always validate manifests after updates:
380380

381381
```bash
382382
# Run schema validation
383-
npm run test:validate
383+
pnpm test:validate
384384

385385
# Check JSON formatting
386386
node -c manifests/models/*.json
@@ -391,5 +391,5 @@ node -c manifests/models/*.json
391391
1. **Review updates**: Check manifest changes make sense
392392
2. **Update mappings**: Add newly discovered models to `model-name-mappings.json`
393393
3. **Retry failures**: Re-run with `--benchmarks` for failed benchmarks
394-
4. **Validate**: Run `npm run test:validate` to ensure schema compliance
394+
4. **Validate**: Run `pnpm test:validate` to ensure schema compliance
395395
5. **Commit changes**: Commit updated manifests to repository

.claude/skills/benchmark-fetcher/scripts/lib/report-generator.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ function printNextSteps(isDryRun, unmappedModels, benchmarkResults) {
234234
}
235235

236236
if (!isDryRun) {
237-
steps.push('Run validation: npm run test:validate')
237+
steps.push('Run validation: pnpm test:validate')
238238
steps.push('Commit changes when satisfied')
239239
}
240240

.claude/skills/manifest-automation/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ node .claude/skills/manifest-automation/scripts/automate.mjs update extension co
8888
- Write manifest JSON to appropriate path
8989
- For IDE/CLI/Extension: check vendor manifest exists, create if missing
9090
- Update `data/github-stars.json`
91-
- Run `npm run generate` to regenerate TypeScript data files
91+
- Run `pnpm generate` to regenerate TypeScript data files
9292
- Run schema validation
9393
- Report success/failures to user
9494

@@ -342,7 +342,7 @@ Status: DRAFT (3 fields incomplete)
342342
2. Manually fill TODO-marked fields if information available
343343
3. Add i18n translations (zh-Hans, de, ko)
344344
4. Update verified field once data confirmed accurate
345-
5. Run validation: npm run test:validate
345+
5. Run validation: pnpm test:validate
346346
347347
Note: Vendor manifest, github-stars.json, and TypeScript files already updated.
348348
```
@@ -433,7 +433,7 @@ After running this skill, expect:
433433
1. **Manifest file**: `manifests/<type>s/<name>.json`
434434
2. **With TODO comments**: For failed field extractions
435435
3. **Valid against schema**: `manifests/$schemas/<type>.schema.json`
436-
4. **Ready for validation**: Run `npm run test:validate`
436+
4. **Ready for validation**: Run `pnpm test:validate`
437437

438438
## GitHub Stars Update
439439

@@ -520,7 +520,7 @@ updateGithubStarsEntry(manifestType, manifestName, { isNew: operationMode === 'c
520520
3. **Add translations**: Populate `i18n` object with localized content (zh-Hans, de, ko)
521521
4. **Set verified**: Change `verified` to `true` if data is confirmed accurate
522522
5. **Add related products**: Manually curate `relatedProducts` array
523-
6. **Run validation**: Ensure schema compliance with `npm run test:validate`
523+
6. **Run validation**: Ensure schema compliance with `pnpm test:validate`
524524
7. **Commit changes**: Add manifest to git repository
525525

526526
Note: Vendor manifest and github-stars.json are automatically handled during creation.

0 commit comments

Comments
 (0)