Skip to main content

Assess, plan, evolve.

Reusable compiler-aware skills that help coding agents understand, plan, and safely evolve your codebase.

7 packages

Sort by
C
pnpm/catalog

# Migrate to [pnpm catalog](https://pnpm.io/catalogs) * Performs search across all packages in pnpm workspace. * If there are more than 2 packages with same dependency - it will move dependency to catalog. * If there are multiple versions of dependency - codemod will prompt to choose whether to move to catalog or not (in this case latest version will be picked). * Automatically updates version in `packageManager` field in `package.json` to 9.5.0 (if it is set and lower than 9.5.0). * Runs `pnpm install` after migration.

pnpm9.5+1
v1.0.7
Codemod
5,675
a year ago
Zzkochan avatar
pnpm-v10-to-v11

Migrate a pnpm v10 project to pnpm v11.

pnpm11+1
v1.0.1
zkochan
30,054
5 months ago
Kkingsword09 avatar
pnpm-catalogs-fix

Fix incorrect pnpm catalog configurations in package.json and pnpm-workspace.yaml files

pnpmcatalog+2
v0.1.9
kingsword09
115
11 months ago
Kkingsword09 avatar
pnpm-catalogs-to-bun

Migrate pnpm workspace catalogs to bun catalog format

pnpmbun+3
v0.1.1
kingsword09
37
11 months ago
Aalexbit-codemod avatar
patch-package-to-pnpm

Converts patch-package patches to pnpm format by removing node_modules/ prefixes from patch file content and updating package.json/pnpm-workspace.yaml configuration.

pnpmmigration
v0.1.1
alexbit-codemod
54
10 months ago
Kkingsword09 avatar
bun-catalogs-to-pnpm

Migrate bun catalog to pnpm workspace catalogs format

bunpnpm+3
v0.1.1
kingsword09
15
11 months ago
C
biome/migrate-rules

This codemod replaces configuration files for ESLint with corresponding biome.json for all the found rules. It also replaces Prettier configuration. ## Note: This codemod accepts manual user input, which is required to migrate away from eslint. In order to run it properly, run the following command: ```bash npx eslint --print-config <path-to-a-file-that-eslint-checks> | codemod eslint/biome/migrate-rules ``` It's important that you pass these rules to the codemod, because our codemods are limited in access for security purposes and have no access to most node features that could maliciously affect your system. This codemod requires internet connection. ## Example ### `package.json` ### Before ```json { "name": "package-name", "dependencies": { "prettier": "^3.1.0", "prettier-plugin-tailwindcss": "^0.5.4", "@tanstack/eslint-plugin-query": "^4.29.25", "@someorg/prettier-config": "^1.1.1" }, "devDependencies": { "eslint-plugin-airbnb": "^10.2.0", "eslint": "^10.2.0", "eslint-plugin-prettier": "^10.2.0", "eslint-config-prettier": "^10.2.0" }, "main": "./dist/index.cjs", "scripts": { "start": "pnpm run build:cjs && node ./dist/index.cjs", "lint:eslint": "eslint . --fix", "lint:prettier": "prettier --write ." }, "eslintIgnore": ["ignore-key"], "files": [ "prettier-test-no-replace", "README.md", ".codemodrc.json", "./dist/index.cjs" ], "lint-staged": { "*.js": "eslint --fix", "*.ts": "eslint --fix" }, "type": "module" } ``` ### After ```json { "name": "package-name", "dependencies": {}, "devDependencies": { "@biomejs/biome": "1.5.3" }, "main": "./dist/index.cjs", "scripts": { "start": "pnpm run build:cjs && node ./dist/index.cjs", "lint:eslint": "pnpm dlx @biomejs/biome lint . --apply", "lint:prettier": "pnpm dlx @biomejs/biome format --write .", "NOTE": "You can apply both linter, formatter and import ordering by using https://biomejs.dev/reference/cli/#biome-check", "NOTE2": "There is an ongoing work to release prettier-tailwind-plugin alternative: https://biomejs.dev/linter/rules/use-sorted-classes/, https://github.com/biomejs/biome/issues/1274" }, "files": [ "prettier-test-no-replace", "README.md", ".codemodrc.json", "./dist/index.cjs" ], "lint-staged": { "*.js": "pnpm dlx @biomejs/biome lint --apply", "*.ts": "pnpm dlx @biomejs/biome lint --apply" }, "type": "module" } ``` ### `.eslintrc.json` ### Before ```json { "rules": [...] } ``` ### After `Removed and replaced with corresponding rules in biome.json` ### `.prettierrc` ### Before ```json { "printWidth": 80 } ``` ### After `Removed and replaced with corresponding values in biome.json` ### `biome.json` ```json { "linter": { "ignore": [ "ignore-key", "dist", "build", "pnpm-lock.yaml", "node_modules" ], "rules": { "suspicious": { "noDoubleEquals": "warn", "noAssignInExpressions": "warn" }, "correctness": { "noUnusedVariables": "off" } } }, "formatter": { "ignore": [], "indentStyle": "tab" } } ```

migrationeslint
v1.0.2
Codemod
647
a year ago

Build your own codemod!

Describe the migration you need and Wish will create a codemod for you.

Ready to evolve your codebase?

Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.