diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c8b835f..908be2c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/packages/zod-openapi/README.md b/packages/zod-openapi/README.md index 01c83b6f..7384f2b4 100644 --- a/packages/zod-openapi/README.md +++ b/packages/zod-openapi/README.md @@ -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() diff --git a/packages/zod-openapi/tsconfig.spec.json b/packages/zod-openapi/tsconfig.spec.json index a4a702cd..235cf824 100644 --- a/packages/zod-openapi/tsconfig.spec.json +++ b/packages/zod-openapi/tsconfig.spec.json @@ -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" } ] -} \ No newline at end of file +}