Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit 1faea80

Browse files
phuctm97claude
andcommitted
Add check command and update dependencies
Added a new Claude command for running code quality checks (format, typecheck, lint) in a single workflow. Also updated dependencies across the workspace including zod (3.25.72 → 3.25.73), hono (4.8.3 → 4.8.4), and added @types/ejs for create-modelfetch. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e4a656a commit 1faea80

File tree

14 files changed

+73
-50
lines changed

14 files changed

+73
-50
lines changed

.claude/commands/check.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
description: Format, type check, and lint all code
3+
allowed-tools: Bash(pnpm -w format), Bash(pnpm exec nx run-many -t typecheck), Bash(pnpm exec nx run-many -t lint), Bash(pnpm exec nx run-many -t lint --args=--fix), Bash(pnpm exec nx run-many -t typecheck lint), Bash(pnpm exec nx typecheck:*), Bash(pnpm exec nx lint:*)
4+
---
5+
6+
Run code quality checks including formatting, type checking, linting, and auto-fixing.
7+
8+
Execute the following steps in order:
9+
10+
1. **Format code**: Run `pnpm -w format` to format all files
11+
2. **Type check**: Run `pnpm exec nx run-many -t typecheck` to check TypeScript types
12+
3. **Lint and auto-fix issues**: Run `pnpm exec nx run-many -t lint --args=--fix` to lint and auto-fix issues
13+
14+
If any of the formatting, type checking, or linting steps fail, attempt to fix the issues. After fixing the issues or making any changes manually, repeat the entire process from step 1 to ensure all checks still pass and no new issues were introduced.

apps/example-bun-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"@modelcontextprotocol/sdk": "^1.13.3",
99
"@modelfetch/bun": "workspace:^",
10-
"zod": "^3.25.72"
10+
"zod": "^3.25.73"
1111
},
1212
"devDependencies": {
1313
"modelfetch": "workspace:^"

apps/example-bun-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"@modelcontextprotocol/sdk": "^1.13.3",
99
"@modelfetch/bun": "workspace:^",
10-
"zod": "^3.25.72"
10+
"zod": "^3.25.73"
1111
},
1212
"devDependencies": {
1313
"@types/bun": "^1.2.18",

apps/example-deno-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"@modelcontextprotocol/sdk": "^1.13.3",
99
"@modelfetch/deno": "workspace:^",
10-
"zod": "^3.25.72"
10+
"zod": "^3.25.73"
1111
},
1212
"devDependencies": {
1313
"modelfetch": "workspace:^"

apps/example-deno-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"@modelcontextprotocol/sdk": "^1.13.3",
99
"@modelfetch/deno": "workspace:^",
10-
"zod": "^3.25.72"
10+
"zod": "^3.25.73"
1111
},
1212
"devDependencies": {
1313
"@types/deno": "^2.3.0",

apps/example-node-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"@modelcontextprotocol/sdk": "^1.13.3",
99
"@modelfetch/node": "workspace:^",
10-
"zod": "^3.25.72"
10+
"zod": "^3.25.73"
1111
},
1212
"devDependencies": {
1313
"modelfetch": "workspace:^"

apps/example-node-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"@modelcontextprotocol/sdk": "^1.13.3",
99
"@modelfetch/node": "workspace:^",
10-
"zod": "^3.25.72"
10+
"zod": "^3.25.73"
1111
},
1212
"devDependencies": {
1313
"create-eslint-config": "workspace:^",

apps/modelfetch-website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"next-themes": "^0.4.6",
1414
"react": "^19.1.0",
1515
"react-dom": "^19.1.0",
16-
"zod": "^3.25.72"
16+
"zod": "^3.25.73"
1717
},
1818
"devDependencies": {
1919
"@next/eslint-plugin-next": "^15.3.5",

libs/create-modelfetch/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"validate-npm-package-name": "^6.0.0"
3131
},
3232
"devDependencies": {
33+
"@types/ejs": "^3.1.5",
3334
"@types/validate-npm-package-name": "^4.0.2",
3435
"create-eslint-config": "workspace:^"
3536
}

libs/modelfetch-cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"dependencies": {
2323
"@modelfetch/core": "workspace:^",
24-
"hono": "^4.8.3"
24+
"hono": "^4.8.4"
2525
},
2626
"devDependencies": {
2727
"create-eslint-config": "workspace:^"

0 commit comments

Comments
 (0)