RFC: Future Enhancements for create-client
@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
- React App Migration: Move from CRA to Vite with @vitejs/plugin-react.
Next.js
- Enable SSR Resource Generation: Support generating resources in Server-Side Rendering (SSR) mode by utilizing
getServerSidePropsin place ofgetStaticProps.
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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
api-platform/create-client 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
api-platform/create-client#396 ·
-
[potential Security Alert] New `test-nuxt-app` script added in `@api-platform/[email protected]`未关闭
难度 4/5 3-5 天 新手友好度 38/100
api-platform/create-client#397 ·
-
[potential Security Alert] New `test-next-app` script added in `@api-platform/[email protected]`未关闭
难度 3/5 1-2 天 新手友好度 45/100
api-platform/create-client#395 ·
-
[potential Security Alert] New `test-react-app` script added in `@api-platform/[email protected]`未关闭
难度 4/5 3-5 天 新手友好度 35/100
api-platform/create-client#394 ·
-
难度 4/5 3-5 天 新手友好度 25/100
api-platform/create-client#393 · 1 条评论 ·
查看 api-platform/create-client 的全部 Issue
相似的 Issue
-
nextjs-tracking
难度 2/5 1-3 小时 新手友好度 74/100
cloudflare/vinext#3887 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
apache/rocketmq-dashboard#6331 ·
维护者通常 5 天内回复
-
bug cache clinical-safety P1-critical
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
juspay/blend-design-system#1788 ·
维护者通常 1 天内回复
-
[Analytics] Add Focus Time-Block Efficiency Ratio Calculator in src/lib/focus/efficiency-ratio.ts未关闭analytics beginner friendly community contributions-welcome enhancement good first issue hacktoberfest help wanted up-for-grabs
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复