feat: Change generated CRUD service file naming from model-service.ts to model.crud.ts pattern#604
Conversation
… to model.crud.ts pattern
🦋 Changeset detectedLatest commit: d9aef66 The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThe changes update the naming convention for generated CRUD service files in the project builder server package. Generated files now use the Changes
Sequence Diagram(s)sequenceDiagram
participant ModelBuilder
participant ServiceFileGenerator
ModelBuilder->>ServiceFileGenerator: buildServiceForModel(model)
Note right of ModelBuilder: model.name converted to kebab-case
ServiceFileGenerator-->>ModelBuilder: Generates file: <model-name>.crud.ts
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (4)`.changeset/*.md`: If you are adding a new feature or changing an existing feature, add a new Changeset in the `.changeset/` directory
📄 Source: CodeRabbit Inference Engine (CLAUDE.md) List of files the instruction was applied to:
`**/*.{ts,tsx}`: TypeScript with strict type checking Node 16 module resolution ...
📄 Source: CodeRabbit Inference Engine (CLAUDE.md) List of files the instruction was applied to:
`**/*`: Use kebab-case for file names
📄 Source: CodeRabbit Inference Engine (CLAUDE.md) List of files the instruction was applied to:
`{packages,plugins}/**/*.{ts,tsx}`: Use TypeScript with strict type checking ena...
📄 Source: CodeRabbit Inference Engine (.cursor/rules/code-style.mdc) List of files the instruction was applied to:
🧠 Learnings (3)📓 Common learnings.changeset/crud-service-naming.md (6)packages/project-builder-server/src/compiler/backend/services.ts (13)⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (3)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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)
Other keywords and placeholders
Documentation and Community
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Summary by CodeRabbit
.crud.tssuffix for improved clarity and separation from manually written files. This affects only file names and does not impact functionality.