Skip to content

Commit fed4e27

Browse files
committed
Never modify NODE_MODULES things
1 parent 62fef6e commit fed4e27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/instructions/typescript.instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ Declarative form component with built-in field types, validation timing (`valida
156156
- Always ensure that the code compiles without warnings — use `yarn compile` to verify (successful runs produce no output).
157157
- Review each file for lint compliance before finalizing.
158158
- Never use placeholder or temporary types — use proper types from the start.
159+
- **Never modify any file inside `node_modules/` or any build cache (e.g. `.vite/deps/`).** These are managed by the package manager and will be overwritten on the next install. If something appears broken in a library, look harder at the application code — especially when other usages of the same library work fine. Fixes belong in application code or upstream in the library's own repo.
159160

160161
## Folder Structure
161162

0 commit comments

Comments
 (0)