Skip to content

Commit a8d178a

Browse files
azuclaude
andauthored
chore: migrate to pnpm catalog for external dependencies (#1991)
## Summary Migrates all external dependencies across the monorepo to use pnpm catalog. This centralizes version management in a single location, making it easier to keep dependencies in sync across packages and examples. ## Changes - Define external dependency versions in the pnpm catalog (root workspace config) - Replace version specifiers with `catalog:` references in all `package.json` files across `packages/` and `examples/` ## Breaking Changes None. This is an internal tooling change; published package manifests are unaffected at runtime. ## Test Plan - [ ] `pnpm install` resolves cleanly - [ ] `pnpm -r run build` succeeds - [ ] `pnpm -r run test` passes - [ ] CI is green --------- Co-authored-by: Claude <[email protected]>
1 parent 34148ec commit a8d178a

41 files changed

Lines changed: 2670 additions & 2754 deletions

File tree

Some content is hidden

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

examples/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
},
2121
"devDependencies": {
2222
"textlint": "workspace:*",
23-
"textlint-rule-no-todo": "^2.0.1"
23+
"textlint-rule-no-todo": "catalog:"
2424
}
2525
}

examples/config-file/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
},
2121
"devDependencies": {
2222
"textlint": "workspace:*",
23-
"textlint-rule-no-todo": "^2.0.1"
23+
"textlint-rule-no-todo": "catalog:"
2424
}
2525
}

examples/config-in-package-json/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"devDependencies": {
2222
"textlint": "workspace:*",
23-
"textlint-rule-no-todo": "^2.0.1"
23+
"textlint-rule-no-todo": "catalog:"
2424
},
2525
"textlint": {
2626
"rules": {

examples/filter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"devDependencies": {
2222
"textlint": "workspace:*",
23-
"textlint-filter-rule-comments": "^1.2.2",
24-
"textlint-rule-no-todo": "^2.0.1"
23+
"textlint-filter-rule-comments": "catalog:",
24+
"textlint-rule-no-todo": "catalog:"
2525
}
2626
}

examples/fix-dry-run/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
},
2222
"devDependencies": {
2323
"textlint": "workspace:*",
24-
"textlint-rule-prh": "^5.2.0"
24+
"textlint-rule-prh": "catalog:"
2525
}
2626
}

examples/fix/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
},
2222
"devDependencies": {
2323
"textlint": "workspace:*",
24-
"textlint-rule-prh": "^5.2.0"
24+
"textlint-rule-prh": "catalog:"
2525
}
2626
}

examples/html-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"devDependencies": {
2020
"textlint": "workspace:*",
21-
"textlint-plugin-html": "^0.2.0",
22-
"textlint-rule-sentence-length": "^2.1.2"
21+
"textlint-plugin-html": "catalog:",
22+
"textlint-rule-sentence-length": "catalog:"
2323
}
2424
}

examples/perf/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"perf": "node perf.js"
1616
},
1717
"devDependencies": {
18-
"shelljs": "^0.8.5",
18+
"shelljs": "catalog:",
1919
"textlint": "workspace:*",
20-
"textlint-rule-max-ten": "^2.0.3",
21-
"textlint-rule-no-mix-dearu-desumasu": "^3.0.3",
22-
"textlint-rule-no-start-duplicated-conjunction": "^2.0.2",
23-
"textlint-rule-preset-jtf-style": "^3.0.2",
24-
"textlint-rule-prh": "^5.2.0",
25-
"textlint-rule-spellcheck-tech-word": "^5.0.0"
20+
"textlint-rule-max-ten": "catalog:",
21+
"textlint-rule-no-mix-dearu-desumasu": "catalog:",
22+
"textlint-rule-no-start-duplicated-conjunction": "catalog:",
23+
"textlint-rule-preset-jtf-style": "catalog:",
24+
"textlint-rule-prh": "catalog:",
25+
"textlint-rule-spellcheck-tech-word": "catalog:"
2626
}
2727
}

examples/plugin-extensions-option/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"textlint": "textlint -f pretty-error test.custom-ext"
1818
},
1919
"devDependencies": {
20-
"expected-exit-status": "^1.0.2",
20+
"expected-exit-status": "catalog:",
2121
"textlint": "workspace:*",
22-
"textlint-rule-no-todo": "^2.0.1"
22+
"textlint-rule-no-todo": "catalog:"
2323
}
2424
}

examples/preset/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
},
2121
"devDependencies": {
2222
"textlint": "workspace:*",
23-
"textlint-rule-preset-jtf-style": "^2.3.12"
23+
"textlint-rule-preset-jtf-style": "catalog:"
2424
}
2525
}

0 commit comments

Comments
 (0)