Skip to content

Commit c902125

Browse files
committed
Normalize formatting in CLAUDE.md
1 parent 23e0de8 commit c902125

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

CLAUDE.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,47 +12,47 @@ Modern, Git-based headless CMS, drop-in replacement for Netlify/Decap CMS. Svelt
1212

1313
```bash
1414
pnpm dev # dev server with hot reload
15-
pnpm build # production build -> package/dist/
15+
pnpm build # production build -> package/dist/
1616
pnpm build:watch
1717
pnpm preview
1818

19-
pnpm check # run all checks below — do this before committing
19+
pnpm check # run all checks below — do this before committing
2020
pnpm check:eslint
2121
pnpm check:prettier
2222
pnpm check:stylelint
2323
pnpm check:svelte
2424
pnpm check:oxlint
2525
pnpm check:cspell
26-
pnpm check:imports # custom script, more accurate than standard unused-import tools
26+
pnpm check:imports # custom script, more accurate than standard unused-import tools
2727
pnpm check:audit
2828

2929
pnpm test
3030
pnpm test:coverage
3131

32-
pnpm format # auto-fix Prettier formatting
32+
pnpm format # auto-fix Prettier formatting
3333
```
3434

3535
## Architecture
3636

3737
```
3838
src/lib/
39-
├── components/ # Svelte UI (app.svelte is the root component)
40-
│ ├── assets/ # asset management UI
41-
│ └── contents/ # content editing UI
42-
├── services/ # business logic & data
43-
│ ├── app/ # core app services
39+
├── components/ # Svelte UI (app.svelte is the root component)
40+
│ ├── assets/ # asset management UI
41+
│ └── contents/ # content editing UI
42+
├── services/ # business logic & data
43+
│ ├── app/ # core app services
4444
│ ├── assets/
45-
│ ├── api/ # api client wrappers
46-
│ ├── backends/ # GitHub/GitLab/Gitea integrations
47-
│ ├── config/ # CMS config handling
48-
│ ├── contents/ # content & collection management
49-
│ ├── integrations/ # external services
50-
│ ├── search/ # content search
51-
│ ├── user/ # auth & preferences
45+
│ ├── api/ # api client wrappers
46+
│ ├── backends/ # GitHub/GitLab/Gitea integrations
47+
│ ├── config/ # CMS config handling
48+
│ ├── contents/ # content & collection management
49+
│ ├── integrations/ # external services
50+
│ ├── search/ # content search
51+
│ ├── user/ # auth & preferences
5252
│ └── utils/
53-
├── types/ # JSDoc/TS type definitions
54-
├── locales/ # i18n
55-
└── main.js # entry point
53+
├── types/ # JSDoc/TS type definitions
54+
├── locales/ # i18n
55+
└── main.js # entry point
5656
```
5757

5858
Key config: `vite.config.js`, `svelte.config.js` (runes enabled), `jsconfig.json` (`$lib/*` alias), `eslint.config.js` (flat config, Airbnb + Svelte), `.prettierrc.yaml`, `.stylelintrc.yaml`.
@@ -75,9 +75,9 @@ Build output: `package/dist/sveltia-cms.js` (IIFE), `package/dist/sveltia-cms.mj
7575

7676
```javascript
7777
// import order
78-
import { get } from 'svelte/store'; // external
78+
import { get } from 'svelte/store'; // external
7979

80-
import { cmsConfig } from '$lib/services/config'; // internal, $lib alias
80+
import { cmsConfig } from '$lib/services/config'; // internal, $lib alias
8181
import Button from '$lib/components/common/button.svelte';
8282

8383
/**

0 commit comments

Comments
 (0)