Skip to content

refactor(openapi-client, client): move openapi serializer to its own package#186

Merged
dinwwwh merged 5 commits intomainfrom
refactor/openapi-client/move-openapi-client-to-its-own-package
Mar 1, 2025
Merged

refactor(openapi-client, client): move openapi serializer to its own package#186
dinwwwh merged 5 commits intomainfrom
refactor/openapi-client/move-openapi-client-to-its-own-package

Conversation

@dinwwwh
Copy link
Copy Markdown
Member

@dinwwwh dinwwwh commented Mar 1, 2025

Summary by CodeRabbit

  • New Features

    • Launched a new OpenAPI Client package with enhanced documentation and configuration support.
    • Introduced a unified adapter approach that consolidates functionality under a single, streamlined interface.
  • Refactor

    • Reorganized module exports and updated import paths across client, server, and Vue modules to ensure consistency.
  • Documentation

    • Added comprehensive package guides and updated configuration files for smoother integration.
    • Enhanced accessibility in README files by adding alt attributes to image tags.
  • Chores

    • Updated dependency management and ignore settings for improved maintainability.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
orpc ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2025 8:25am

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 1, 2025

Walkthrough

This pull request reorganizes the module exports and import paths across several packages. The previous export entries for openapi and rpc have been removed in favor of a new standard entry. Import paths in client adapters and tests have been adjusted accordingly. Additionally, a new package, @orpc/openapi-client, has been introduced with its own documentation, configuration, and adapter exports. Other updates include dependency additions, TypeScript configuration changes, and minor adjustments in server and Vue client files to align with the new module structure.

Changes

File(s) Change Summary
packages/client/package.json Removed openapi and rpc export entries; added new standard export in both exports and publishConfig.
packages/client/src/adapters/fetch/rpc-link.ts Updated import for RPCSerializer from ../../rpc to ../standard.
packages/client/src/adapters/standard/{index.ts, rpc-serializer.test.ts, rpc-serializer.ts} Added re-exports in index.ts and updated import paths in both test and implementation files.
packages/client/src/{openapi/index.ts, rpc/index.ts} Removed exports and deleted re-exporting files consolidating module access.
packages/openapi-client/{.gitignore,README.md,package.json,tsconfig.json} and packages/openapi-client/src/adapters/standard/{index.ts, openapi-serializer.test.ts, openapi-serializer.ts} Introduced a new package @orpc/openapi-client with metadata, documentation, adapter exports, updated import paths, and TypeScript configuration.
packages/openapi/{package.json,tsconfig.json} and packages/openapi/src/{adapters/standard/openapi-codec.ts, openapi-generator.ts} Added dependency on @orpc/openapi-client, updated import sources for OpenAPI codec/generator, and added a project reference.
packages/server/src/adapters/standard/rpc-codec.ts and packages/vue-colada/src/key.ts Updated imports to reference @orpc/client/standard instead of legacy paths.

Possibly related PRs

  • unnoq/orpc#179: Restructures module exports and updates import paths similar to these changes, reflecting a reorganization of dependencies within the codebase.

Poem

I'm a rabbit with a happy code hop,
Bouncing through files, making modules non-stop.
Goodbye to old rpc and openapi ways,
In standard I now put my trusting gaze.
With each line of change, my ears perk high—
A thump of joy as the clean-up flies by!


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 1, 2025

Open in Stackblitz

More templates

@orpc/client

npm i https://pkg.pr.new/@orpc/client@186

@orpc/contract

npm i https://pkg.pr.new/@orpc/contract@186

@orpc/openapi

npm i https://pkg.pr.new/@orpc/openapi@186

@orpc/openapi-client

npm i https://pkg.pr.new/@orpc/openapi-client@186

@orpc/react-query

npm i https://pkg.pr.new/@orpc/react-query@186

@orpc/shared

npm i https://pkg.pr.new/@orpc/shared@186

@orpc/server

npm i https://pkg.pr.new/@orpc/server@186

@orpc/standard-server

npm i https://pkg.pr.new/@orpc/standard-server@186

@orpc/standard-server-fetch

npm i https://pkg.pr.new/@orpc/standard-server-fetch@186

@orpc/standard-server-node

npm i https://pkg.pr.new/@orpc/standard-server-node@186

@orpc/vue-colada

npm i https://pkg.pr.new/@orpc/vue-colada@186

@orpc/vue-query

npm i https://pkg.pr.new/@orpc/vue-query@186

@orpc/zod

npm i https://pkg.pr.new/@orpc/zod@186

commit: ba17910

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (6)
packages/client/package.json (1)

23-27: Consolidated Export under the standard Adapter in PublishConfig
The publish configuration now replaces the removed openapi and rpc export entries with a consolidated ./standard entry. This promotes a clearer export structure. Ensure that consumers of the package update their import paths accordingly.

packages/openapi-client/README.md (5)

1-3: Use Standard <img> Tag for Logo

The current code uses an <image> element, which is not a standard HTML tag. Using <img> with an appropriate alt attribute is recommended for better HTML compliance and accessibility.

-<image align="center" src="https://orpc.unnoq.com/logo.webp" width=280 />
+<img align="center" src="https://orpc.unnoq.com/logo.webp" width="280" alt="oRPC logo" />

5-5: Empty <h1> Tag

There is an empty <h1></h1> tag on line 5. If it is not serving a purpose, please remove it; otherwise, populate it with a meaningful title to improve semantic structure.


28-46: Review Highlights Section for Consistency and Spelling

The “Highlights” list is comprehensive and informative. However, please double-check the term “Pinia Colada” (line 32) to ensure it is the intended name rather than a potential misspelling. Additionally, consider varying sentence structures in the bullet points where similar phrasing is used for enhanced readability.

🧰 Tools
🪛 LanguageTool

[misspelling] ~35-~35: Possible spelling mistakes found.
Context: ...: Supports Tanstack Query (React, Vue), Pinia Colada, and more. - Server Actions ⚡️: Ful...

(EN_MULTITOKEN_SPELLING_TWO)


47-51: Documentation Link Section

The “Documentation” section clearly provides a link to the full documentation. For an even better user experience, consider adding a brief summary of what users can expect to find there.


51-61: Enhance Package Descriptions for Consistency

In the “Packages” section, several bullet points (particularly for @orpc/react-query and @orpc/vue-query) are simply links without descriptive text. To maintain consistency and improve clarity, consider adding a brief description for these items. Additionally, rephrase some bullet points to vary the opening words and avoid repetitive sentence structures as flagged by static analysis.

For example, you might revise:

- - [@orpc/react-query](https://tanstack.com/query/latest/docs/framework/react/overview).
+ - [@orpc/react-query](https://tanstack.com/query/latest/docs/framework/react/overview): Integrates React Query for efficient data fetching.
🧰 Tools
🪛 LanguageTool

[style] ~55-~55: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... your API or implement API contract. - [@orpc/client](https://www.npmjs.com/package/@...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~56-~56: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... API on the client with type-safety. - [@orpc/react-query](https://www.npmjs.com/pack...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~57-~57: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...test/docs/framework/react/overview). - [@orpc/vue-query](https://www.npmjs.com/packag...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~58-~58: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...latest/docs/framework/vue/overview). - [@orpc/vue-colada](https://www.npmjs.com/packa...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[misspelling] ~58-~58: Possible spelling mistakes found.
Context: ...ge/@orpc/vue-colada): Integration with Pinia Colada. - [@or...

(EN_MULTITOKEN_SPELLING_TWO)


[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ada](https://pinia-colada.esm.dev/). - [@orpc/openapi](https://www.npmjs.com/package/...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...I specs and handle OpenAPI requests. - [@orpc/zod](https://www.npmjs.com/package/@orp...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 84e58e0 and 444c788.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (20)
  • packages/client/package.json (2 hunks)
  • packages/client/src/adapters/fetch/rpc-link.ts (1 hunks)
  • packages/client/src/adapters/standard/index.ts (1 hunks)
  • packages/client/src/adapters/standard/rpc-serializer.test.ts (1 hunks)
  • packages/client/src/adapters/standard/rpc-serializer.ts (1 hunks)
  • packages/client/src/openapi/index.ts (0 hunks)
  • packages/client/src/rpc/index.ts (0 hunks)
  • packages/openapi-client/.gitignore (1 hunks)
  • packages/openapi-client/README.md (1 hunks)
  • packages/openapi-client/package.json (1 hunks)
  • packages/openapi-client/src/adapters/standard/index.ts (1 hunks)
  • packages/openapi-client/src/adapters/standard/openapi-serializer.test.ts (1 hunks)
  • packages/openapi-client/src/adapters/standard/openapi-serializer.ts (1 hunks)
  • packages/openapi-client/tsconfig.json (1 hunks)
  • packages/openapi/package.json (1 hunks)
  • packages/openapi/src/adapters/standard/openapi-codec.ts (1 hunks)
  • packages/openapi/src/openapi-generator.ts (1 hunks)
  • packages/openapi/tsconfig.json (1 hunks)
  • packages/server/src/adapters/standard/rpc-codec.ts (1 hunks)
  • packages/vue-colada/src/key.ts (1 hunks)
💤 Files with no reviewable changes (2)
  • packages/client/src/rpc/index.ts
  • packages/client/src/openapi/index.ts
✅ Files skipped from review due to trivial changes (14)
  • packages/client/src/adapters/standard/index.ts
  • packages/vue-colada/src/key.ts
  • packages/openapi-client/.gitignore
  • packages/openapi-client/src/adapters/standard/index.ts
  • packages/client/src/adapters/standard/rpc-serializer.ts
  • packages/openapi/src/openapi-generator.ts
  • packages/openapi-client/tsconfig.json
  • packages/client/src/adapters/fetch/rpc-link.ts
  • packages/server/src/adapters/standard/rpc-codec.ts
  • packages/openapi/src/adapters/standard/openapi-codec.ts
  • packages/openapi-client/src/adapters/standard/openapi-serializer.test.ts
  • packages/openapi-client/src/adapters/standard/openapi-serializer.ts
  • packages/openapi-client/package.json
  • packages/client/src/adapters/standard/rpc-serializer.test.ts
🧰 Additional context used
🪛 LanguageTool
packages/openapi-client/README.md

[misspelling] ~35-~35: Possible spelling mistakes found.
Context: ...: Supports Tanstack Query (React, Vue), Pinia Colada, and more. - Server Actions ⚡️: Ful...

(EN_MULTITOKEN_SPELLING_TWO)


[style] ~55-~55: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... your API or implement API contract. - [@orpc/client](https://www.npmjs.com/package/@...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~56-~56: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... API on the client with type-safety. - [@orpc/react-query](https://www.npmjs.com/pack...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~57-~57: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...test/docs/framework/react/overview). - [@orpc/vue-query](https://www.npmjs.com/packag...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~58-~58: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...latest/docs/framework/vue/overview). - [@orpc/vue-colada](https://www.npmjs.com/packa...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[misspelling] ~58-~58: Possible spelling mistakes found.
Context: ...ge/@orpc/vue-colada): Integration with Pinia Colada. - [@or...

(EN_MULTITOKEN_SPELLING_TWO)


[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ada](https://pinia-colada.esm.dev/). - [@orpc/openapi](https://www.npmjs.com/package/...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...I specs and handle OpenAPI requests. - [@orpc/zod](https://www.npmjs.com/package/@orp...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🔇 Additional comments (7)
packages/openapi/package.json (1)

67-69: New Dependency Addition: @orpc/openapi-client
The dependency "@orpc/openapi-client": "workspace:*" has been added to the dependencies. This aligns with the restructuring and integration of the new OpenAPI client package. Verify that the workspace version correctly resolves in your development environment and that any peer dependencies are updated accordingly.

packages/openapi/tsconfig.json (1)

4-6: Added Project Reference for OpenAPI-Client
A new reference entry for the openapi-client package has been added in the "references" array. This change will help TypeScript correctly type-check and build across the projects in the workspace. Please double-check that this addition does not introduce any circular dependency issues.

packages/client/package.json (1)

36-38: Updated Entry Point for the standard Adapter
The new export entry "./standard": "./src/adapters/standard/index.ts" in the "exports" section correctly points to the updated adapter implementation. Confirm that all functionalities previously provided under the old entries are fully covered by the new standard export.

packages/openapi-client/README.md (4)

7-20: Badge Section Looks Good

The centered badge section is well structured, and the links provide clear information about the project (code coverage, downloads, license, and community). No changes needed here.


22-26: Clear Introductory Section

The header “Typesafe APIs Made Simple 🪄” and the accompanying statement effectively communicate the package’s benefits. This section is concise and engaging.


62-65: Concise Description for @orpc/openapi-client

This section succinctly describes the package’s core functionality (i.e., providing a core serializer for OpenAPI requests and responses). The description is clear and appropriate.


66-69: License Information

The license section is standard and clearly provides the necessary details, including a link to the full MIT License text.

@dinwwwh dinwwwh changed the title refactor(openapi-client, client): more openapi serializer to its own package refactor(openapi-client, client): move openapi serializer to its own package Mar 1, 2025
@dinwwwh dinwwwh merged commit b0f324e into main Mar 1, 2025
7 of 8 checks passed
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (9)
packages/contract/README.md (1)

2-2: Accessibility Improvement Added
The addition of the alt="oRPC logo" attribute on the image enhances accessibility by providing descriptive alternative text.

Suggestion: Consider using the standard <img> element instead of <image> unless a custom component is intended.

packages/shared/README.md (1)

2-2: Accessibility Improvement Added
Adding alt="oRPC logo" to the image tag improves accessibility for users relying on assistive technologies.

Suggestion: Evaluate if using the HTML-standard <img> tag would be more appropriate for broader compatibility.

packages/client/README.md (1)

2-2: Enhanced Image Accessibility
The updated image tag now includes an alt attribute, which is a great step towards improving accessibility.

Suggestion: If this <image> element isn’t a custom component, consider replacing it with <img> to adhere to common HTML practices.

packages/zod/README.md (1)

2-2: Accessibility Improvement in Documentation
Providing an alt="oRPC logo" attribute ensures the image has a proper text alternative, aiding screen readers.

Suggestion: Verify if the <image> tag is intentional. If standard HTML is desired, switching to <img> may be beneficial.

packages/server/README.md (1)

2-2: Image Tag Accessibility Enhanced
The inclusion of alt="oRPC logo" improves the semantic quality and accessibility of the documentation.

Suggestion: Consider using <img> instead of <image> if there is no custom handling behind the tag.

packages/openapi/README.md (1)

2-2: Accessibility Improvement & HTML Tag Review:
The addition of the alt="oRPC logo" attribute is a great improvement for accessibility by ensuring a proper text alternative is available for the logo. However, note that <image> is not a standard HTML element (typically, <img> is used). Please verify whether <image> is intentional for this project or if it should be replaced with <img> to ensure broader compatibility.

packages/openapi-client/README.md (3)

5-5: Suggestion: Empty <h1> Element.
The <h1></h1> appears empty. Consider either removing it or providing a meaningful title that reflects the package’s identity.


24-24: Phrasing Improvement: Clarify Opening Statement.
The sentence beginning with "oRPC is a powerful combination of RPC and OpenAPI," could be rephrased for improved clarity and grammatical flow (e.g., "oRPC combines RPC and OpenAPI to enable end-to-end type safety...").


55-58: Style Improvement: Vary Sentence Beginnings in Package Descriptions.
The bullet points for [@orpc/react-query], [@orpc/vue-query], and [@orpc/vue-colada] all start with "Integration with." Consider varying the phrasing (for example, "Seamlessly integrates with" or "Offers compatibility with") to enhance readability.

🧰 Tools
🪛 LanguageTool

[style] ~55-~55: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... your API or implement API contract. - [@orpc/client](https://www.npmjs.com/package/@...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~56-~56: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... API on the client with type-safety. - [@orpc/react-query](https://www.npmjs.com/pack...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~57-~57: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...test/docs/framework/react/overview). - [@orpc/vue-query](https://www.npmjs.com/packag...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~58-~58: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...latest/docs/framework/vue/overview). - [@orpc/vue-colada](https://www.npmjs.com/packa...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[misspelling] ~58-~58: Possible spelling mistakes found.
Context: ...ge/@orpc/vue-colada): Integration with Pinia Colada. - [@or...

(EN_MULTITOKEN_SPELLING_TWO)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 444c788 and ba17910.

📒 Files selected for processing (14)
  • README.md (1 hunks)
  • packages/client/README.md (1 hunks)
  • packages/contract/README.md (1 hunks)
  • packages/openapi-client/README.md (1 hunks)
  • packages/openapi/README.md (1 hunks)
  • packages/react-query/README.md (1 hunks)
  • packages/server/README.md (1 hunks)
  • packages/shared/README.md (1 hunks)
  • packages/standard-server-fetch/README.md (1 hunks)
  • packages/standard-server-node/README.md (1 hunks)
  • packages/standard-server/README.md (1 hunks)
  • packages/vue-colada/README.md (1 hunks)
  • packages/vue-query/README.md (1 hunks)
  • packages/zod/README.md (1 hunks)
✅ Files skipped from review due to trivial changes (7)
  • packages/standard-server/README.md
  • packages/vue-colada/README.md
  • README.md
  • packages/vue-query/README.md
  • packages/standard-server-node/README.md
  • packages/react-query/README.md
  • packages/standard-server-fetch/README.md
🧰 Additional context used
🪛 LanguageTool
packages/openapi-client/README.md

[misspelling] ~35-~35: Possible spelling mistakes found.
Context: ...: Supports Tanstack Query (React, Vue), Pinia Colada, and more. - Server Actions ⚡️: Ful...

(EN_MULTITOKEN_SPELLING_TWO)


[style] ~55-~55: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... your API or implement API contract. - [@orpc/client](https://www.npmjs.com/package/@...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~56-~56: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... API on the client with type-safety. - [@orpc/react-query](https://www.npmjs.com/pack...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~57-~57: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...test/docs/framework/react/overview). - [@orpc/vue-query](https://www.npmjs.com/packag...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~58-~58: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...latest/docs/framework/vue/overview). - [@orpc/vue-colada](https://www.npmjs.com/packa...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[misspelling] ~58-~58: Possible spelling mistakes found.
Context: ...ge/@orpc/vue-colada): Integration with Pinia Colada. - [@or...

(EN_MULTITOKEN_SPELLING_TWO)


[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ada](https://pinia-colada.esm.dev/). - [@orpc/openapi](https://www.npmjs.com/package/...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...I specs and handle OpenAPI requests. - [@orpc/zod](https://www.npmjs.com/package/@orp...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🔇 Additional comments (2)
packages/openapi-client/README.md (2)

35-35: Verify Library Name: "Pinia Colada".
A static analysis hint flagged a potential spelling issue. Please confirm that "Pinia Colada" is the intended library name and not a typographical error.

🧰 Tools
🪛 LanguageTool

[misspelling] ~35-~35: Possible spelling mistakes found.
Context: ...: Supports Tanstack Query (React, Vue), Pinia Colada, and more. - Server Actions ⚡️: Ful...

(EN_MULTITOKEN_SPELLING_TWO)


5-69: General Observation: Overall Readability and Consistency.
The README provides a comprehensive overview of features and related packages with clear badges and links. Ensure that all links (such as the documentation and license) remain updated as the ecosystem evolves, and review the formatting in a live preview to verify that all HTML elements render as expected.

🧰 Tools
🪛 LanguageTool

[misspelling] ~35-~35: Possible spelling mistakes found.
Context: ...: Supports Tanstack Query (React, Vue), Pinia Colada, and more. - Server Actions ⚡️: Ful...

(EN_MULTITOKEN_SPELLING_TWO)


[style] ~55-~55: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... your API or implement API contract. - [@orpc/client](https://www.npmjs.com/package/@...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~56-~56: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... API on the client with type-safety. - [@orpc/react-query](https://www.npmjs.com/pack...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~57-~57: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...test/docs/framework/react/overview). - [@orpc/vue-query](https://www.npmjs.com/packag...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~58-~58: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...latest/docs/framework/vue/overview). - [@orpc/vue-colada](https://www.npmjs.com/packa...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[misspelling] ~58-~58: Possible spelling mistakes found.
Context: ...ge/@orpc/vue-colada): Integration with Pinia Colada. - [@or...

(EN_MULTITOKEN_SPELLING_TWO)


[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ada](https://pinia-colada.esm.dev/). - [@orpc/openapi](https://www.npmjs.com/package/...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...I specs and handle OpenAPI requests. - [@orpc/zod](https://www.npmjs.com/package/@orp...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

Comment on lines +1 to +3
<div align="center">
<image align="center" src="https://orpc.unnoq.com/logo.webp" width=280 alt="oRPC logo" />
</div>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Critical: Incorrect HTML tag for image element.
The tag <image> is non-standard; HTML requires <img> for displaying images. Please update this to ensure correct rendering in browsers and GitHub Markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant