-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
ABCrimson edited this page Mar 7, 2026
·
2 revisions
- Node.js >= 25.8.0 (ES2026 support)
- pnpm >= 11.0.0 (recommended) or npm/yarn
pnpm add @crimson_dev/command @crimson_dev/command-reactpnpm add @crimson_dev/commandpnpm add @crimson_dev/command-search-wasmpnpm add -D @crimson_dev/command-codemod
npx command-codemod import-rewrite "src/**/*.tsx"
npx command-codemod data-attrs "src/**/*.tsx"
npx command-codemod forward-ref "src/**/*.tsx"
npx command-codemod should-filter "src/**/*.tsx"| Package | Peer Dependency |
|---|---|
@crimson_dev/command-react |
react >= 19.0.0, react-dom >= 19.0.0
|
@crimson_dev/command-search-wasm |
None (standalone WASM) |
Ensure your tsconfig.json targets ES2026:
{
"compilerOptions": {
"target": "ES2026",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2026", "DOM", "DOM.Iterable"]
}
}| Package | Gzipped |
|---|---|
@crimson_dev/command |
≤ 3 KB |
@crimson_dev/command-react |
≤ 5 KB |
@crimson_dev/command-search-wasm (JS wrapper) |
≤ 2 KB |