Commit 9b40b80
Move docs/ and samples/ out of packages/expreszo to the repo root
The documentation and the Monaco-based playground are repo-level
concerns, not part of any published npm package. Both are now at
the workspace root next to mkdocs.yml.
* git mv packages/expreszo/docs -> docs/
* git mv packages/expreszo/samples -> samples/
* git mv packages/expreszo/mkdocs.yml -> mkdocs.yml
Wiring:
* samples/language-service-sample/serve-sample.cjs — special-cases
`/dist/...` URLs to resolve them inside packages/expreszo/dist
(the bundle still lives there). Other URLs continue to resolve
against the new repo-root server root, so /docs/logo.png picks
up the moved logo automatically.
* root package.json gains `playground`, `docs:build`, `docs:serve`
scripts that drive the new layout. The matching `playground`
script in packages/expreszo/package.json is removed since it
no longer fits at the package level.
* packages/expreszo/vitest.config.ts drops the now-stale
`samples/**` coverage exclude.
* deploy-playground.yml runs `mkdocs build` from the repo root
(mkdocs.yml is here now) and copies samples / dist / site from
the root and from packages/expreszo as appropriate.
* CLAUDE.md adds docs/, samples/, and the new yarn root scripts
to the repository-layout section.
Verified locally: mkdocs build --strict clean (writes to ./site),
yarn workspaces run lint/type-check/test all green
(2186 + 100 + 12 = 2298 tests pass).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a32ea3e commit 9b40b80
29 files changed
Lines changed: 44 additions & 15 deletions
File tree
- .github/workflows
- docs
- stylesheets
- packages/expreszo
- samples/language-service-sample
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
58 | 59 | | |
59 | | - | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
44 | 55 | | |
45 | 56 | | |
46 | 57 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments