Skip to content

Comments

chore: Clean up package.json#282

Merged
ainsleyclark merged 3 commits intomainfrom
chore/package-json
Feb 21, 2026
Merged

chore: Clean up package.json#282
ainsleyclark merged 3 commits intomainfrom
chore/package-json

Conversation

@ainsleyclark
Copy link
Collaborator

Summary

This PR cleans up accumulated issues in package.json:

  • Replace rm -rf with rimraf for cross-platform compatibility
  • Fix ESLint ignore pattern typos
  • Remove unused Babel configuration
  • Drop unnecessary npx from precommit script

Changes

  • Replaced rm -rf with rimraf in 7 build/clean/mock scripts
  • Added rimraf v6.0.1 to devDependencies
  • Fixed ignore patterns: public/**/.jspublic/**/*.js, staic/**static/**
  • Removed vestigial Babel config block
  • Simplified precommit script by removing npx

Test plan

  • Run pnpm lint to confirm ESLint picks up corrected ignore patterns
  • Run pnpm run precommit to confirm lint-staged still triggers
  • Verify builds work: pnpm run build, pnpm run build:staging, pnpm run build:prod

🤖 Generated with Claude Code

- Replace `rm -rf` with `rimraf` for cross-platform compatibility in build scripts (6 build scripts + clean script)
- Add `rimraf` v6.0.1 to devDependencies
- Fix ESLint ignore pattern typos: `public/**/.js` → `public/**/*.js` and `staic/**` → `static/**`
- Remove unused Babel config block (@babel/preset-typescript and @babel/preset-env not in dependencies)
- Drop unnecessary `npx` from precommit script (lint-staged is already a dev dependency)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
ainsleyclark.com Ignored Ignored Preview Feb 21, 2026 0:12am
ainsleydev Ignored Ignored Preview Feb 21, 2026 0:12am

Request Review

ainsleyclark and others added 2 commits February 21, 2026 11:54
Add libvips-dev installation to test.yaml workflow before pnpm install
to resolve sharp native module compilation errors on Ubuntu CI runners.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@ainsleyclark ainsleyclark merged commit 424e67f into main Feb 21, 2026
11 checks passed
@ainsleyclark ainsleyclark deleted the chore/package-json branch February 21, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant