-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
chore: add GitHub Copilot instructions #11781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 <6171622+naorpeled@users.noreply.github.com>
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:
|
||||||||||||||
gioboa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's great
|
@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 <6171622+naorpeled@users.noreply.github.com>
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 <6171622+naorpeled@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Naor Peled <me@naor.dev>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Naor Peled <me@naor.dev>
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