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
refactor: drop unused/replaceable deps (clone, mkdirp, shelljs) (#1994)
## Summary
Removes unused or easily replaceable dependencies (`clone`, `mkdirp`,
`shelljs`) across the monorepo. Replaces their usages with Node.js
built-ins (`structuredClone`, `fs.mkdirSync({ recursive: true })`,
`fs`/`child_process`) to slim down the dependency graph.
## Changes
- Drop `clone`, `mkdirp`, and `shelljs` from affected `package.json`
files and `pnpm-lock.yaml`
- Replace `clone()` with `structuredClone()` in tests
- Replace `mkdirp` with `fs.mkdirSync(path, { recursive: true })`
- Replace `shelljs` usages in scripts/tests with Node.js built-ins
- Remove the obsolete
`packages/@textlint/kernel/tools/migrate-core-to-kernel.js` script
- Adjust `pnpm-workspace.yaml` accordingly
## Breaking Changes
None. Only internal scripts, tests, and dev/runtime dependencies are
affected.
## Test Plan
- [ ] `pnpm install`
- [ ] `pnpm -r run build`
- [ ] `pnpm -r run test`
- [ ] CI passes
---------
Co-authored-by: Claude <[email protected]>
0 commit comments