You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
3
3
## Repository Overview
4
4
5
-
**Sveltia CMS** is a modern, Git-based headless content management system built as a drop-in replacement for Netlify/Decap CMS. The project is written in Svelte 5 with JavaScript, using Vite as the build tool and Vitest 4 for testing.
5
+
**Sveltia CMS** is a modern, Git-based headless content management system built as a drop-in replacement for Netlify/Decap CMS. The project is written in Svelte 5 with JavaScript, using Vite 7 as the build tool and Vitest 4 for testing.
6
6
7
7
**Key Details:**
8
8
9
-
-**Size**: ~800 source files, 170+ test files, 2748+ tests
9
+
-**Size**: ~800 source files, 170+ test files, 4200+ tests
10
10
-**Languages**: TypeScript-flavoured JavaScript (ES2024/JSDoc), Svelte 5, SCSS/CSS, HTML
11
11
-**Target Runtime**: Browser (IIFE and ES modules)
12
12
-**Package Manager**: **pnpm only** (npm will cause issues)
@@ -17,7 +17,7 @@
17
17
18
18
### Prerequisites
19
19
20
-
**CRITICAL**: Always use `pnpm` - npm will not work correctly with this project.
20
+
**CRITICAL**: Always use `pnpm` - `npm` will not work correctly with this project.
-**Svelte 5**: Uses new runes syntax - avoid legacy Svelte patterns; use the [MCP server](https://mcp.svelte.dev/mcp) if needed
200
204
-**Bundle size**: Watch for large dependencies - final bundle should stay under 1.5MB
201
205
-**Browser support**: Targets modern browsers (ES2024)
202
206
-**CMS Domain**: Understanding of headless CMS concepts helpful for meaningful contributions
207
+
-**Test coverage**: Use `sed` to find uncovered lines in reports
203
208
204
209
**Trust these instructions** - they are validated against the current codebase. Only search for additional information if these instructions are incomplete or incorrect.
0 commit comments