chore(zod-validator): run prettier to fix CI (#1221)

* chore(zod-validator): run prettier to fix CI

* ci: fix changed packages
pull/870/merge
Jonathan Haines 2025-06-13 17:18:23 +10:00 committed by GitHub
parent b73b7aed29
commit 44b1c24b95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 13 deletions

View File

@ -24,7 +24,7 @@ jobs:
"hono-middleware"
"@hono/bun-transpiler"
);
changed=$(yarn workspaces list --json --since | jq -nc --arg exclude "$exclude" '[inputs.name | select(inside($exclude) | not) | sub("@hono/"; "")]')
changed=$(yarn workspaces list --json --since | jq -nc '[inputs.name | select(any(.; inside($ARGS.positional[])) | not) | sub("@hono/"; "")]' --args "${exclude[@]}")
echo "packages=${changed}" >> $GITHUB_OUTPUT
build:
@ -61,11 +61,12 @@ jobs:
with:
node-version: 20.x
- run: yarn workspaces focus hono-middleware @hono/${{ matrix.package }}
- run: yarn workspaces foreach --topological --recursive --from @hono/${{ matrix.package }} run build
- run: yarn test --coverage --project @hono/${{ matrix.package }}
id: test
if: ${{ matrix.package != 'qwik-city' }}
if: ${{ matrix.package != 'qwik-city' && matrix.package != 'react-compat' }}
- uses: codecov/codecov-action@v5
if: ${{ matrix.package != 'qwik-city' }}
if: ${{ matrix.package != 'qwik-city' && matrix.package != 'react-compat' }}
with:
fail_ci_if_error: true
directory: ./coverage

View File

@ -472,7 +472,7 @@ Be careful when combining `OpenAPIHono` instances with plain `Hono` instances. `
If you're migrating from plain `Hono` to `OpenAPIHono`, we recommend porting your top-level app, then working your way down the router tree.
When using the `.route()` method to mount a child OpenAPIHono app that uses path parameters, you should use the Hono *:param* syntax in the parent route path, rather than the OpenAPI *{param}* syntax:
When using the `.route()` method to mount a child OpenAPIHono app that uses path parameters, you should use the Hono _:param_ syntax in the parent route path, rather than the OpenAPI _{param}_ syntax:
```
const bookActionsApp = new OpenAPIHono()

View File

@ -2,18 +2,12 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc/packages/zod-openapi",
"types": [
"vitest/globals"
]
"types": ["vitest/globals"]
},
"include": [
"**/*.test.ts",
"**/*.test-d.ts",
"vitest.config.ts"
],
"include": ["**/*.test.ts", "**/*.test-d.ts", "vitest.config.ts"],
"references": [
{
"path": "./tsconfig.build.json"
}
]
}
}