Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

RFC: Future Enhancements for create-client

未关闭
#381 2 条评论 0 个 reaction 已指派 3 人 在 GitHub 查看

@soyuka 已经在做这个了。

开始于 2024年3月29日。

评估

这个 Issue 还没有评估数据。

描述

This thread is for brainstorming and prioritizing future enhancements for create-client.
We're looking to the community to help refine this roadmap, suggesting new ideas, recommending removals, or reshuffling priorities.
Below is an initial list of proposed changes, open for discussion and adjustment.

Project
  • Document UX/UI: Create detailed UX and UI design documentation.
  • Switch to PNPM: Transition from yarn to pnpm (comparison, benchmarks).
Templates
  • Standardize UX/UI: Ensure a consistent user experience and interface across all apps.
  • Integrate Tanstack Query Across Templates: Implement Tanstack Query as the primary data fetching and state management solution in all applicable templates.
  • Configurable Mercure Integration #179: Provide an option to disable Mercure integration within templates, offering flexibility for projects not requiring real-time capabilities.
Generators
  • #335: Migrate code generators to TypeScript, removing Babel from the build process.
  • Standardize Generated Contexts Across Application Generators: Ensure consistency in the contexts produced by different application generators.
  • Support Authentication #172: Enable generators to incorporate authentication mechanisms, allowing the creation of secure applications by integrating common authentication workflows.
React
Next.js
  • Enable SSR Resource Generation: Support generating resources in Server-Side Rendering (SSR) mode by utilizing getServerSideProps in place of getStaticProps.
Testing
  • Adopt Vitest: Replace Jest with Vitest for faster testing (details).
  • **Local Testing **: Improve local testing by facilitating API mocking in both SPA and SSR modes, ensuring ISR builds are also comprehensively supported.
  • Leverage API Documentation for Dynamic Test Assertions: Utilize API documentation as a source of truth for test assertions, enhancing test resilience against changes in API resources or properties.
CLI
  • Support for Multiple Resources: Introduce the ability to specify multiple resources as CLI options, enabling variadic arguments.
  • Dedicated Flag for Custom Templates: Introduce a new flag, separate from the existing "generator" flag used for named generators like Next, Nuxt, Vue, etc., to explicitly define custom generator template path, ensuring clear separation and easier code handling.

Feedback and contributions on these ideas are highly encouraged.

主要语言
TypeScript
星标
376
派生
132
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

api-platform/create-client 的其他 Issue

查看 api-platform/create-client 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。