Repository navigation
chore: add GitHub Copilot instructions - #11781
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: naorpeled <[email protected]>
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
|
@copilot mention that we prefer functional tests instead of per-issues tests and only keep the target in the Typescript configuration section |
Co-authored-by: naorpeled <[email protected]>
Done in dd099e1. Simplified the TypeScript configuration section to only show the target and decorator settings, and added a note emphasizing preference for functional tests over per-issue tests. |
|
@copilot please refrain from writing "use only when a functional test is not appropriate", instead only focus on the "prefer functional tests" part |
Co-authored-by: naorpeled <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Naor Peled <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Naor Peled <[email protected]>
Setting up GitHub Copilot instructions for the TypeORM repository
.github/copilot-instructions.mdfileSummary
Successfully created comprehensive GitHub Copilot instructions for the TypeORM repository. The instructions file includes:
Coverage
The instructions are based on the repository's existing documentation (CONTRIBUTING.md, DEVELOPER.md), configuration files (package.json, tsconfig.json, eslint.config.mjs, .prettierrc.json), and observed code patterns.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
PR Type
Documentation
Description
Add comprehensive GitHub Copilot instructions for TypeORM repository
Document architecture, core components, and design patterns
Codify coding standards, TypeScript configuration, and naming conventions
Provide testing guidelines with multi-database test patterns
Include development workflow, build commands, and contribution guidelines
Diagram Walkthrough
File Walkthrough
copilot-instructions.md
Comprehensive GitHub Copilot instructions for TypeORM.github/copilot-instructions.md
repository
(DataSource, EntityManager, Repository, QueryBuilder, decorators,
drivers)
Prettier/ESLint rules, and naming conventions
multi-database test patterns
details
requirements
QueryBuilder, and transactions