chore(zod-validator): run prettier to fix CI (#1221)
* chore(zod-validator): run prettier to fix CI * ci: fix changed packagespull/870/merge
parent
b73b7aed29
commit
44b1c24b95
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue