Skip to content

chore: isolate the planned cms/ directory from the blog - #16

Merged
comdotlinux merged 1 commit into
mainfrom
chore/blog-isolate-cms
Nov 15, 2026
Merged

comdotlinux merged 1 commit into
mainfrom
chore/blog-isolate-cms

Conversation

@comdotlinux

Copy link
Copy Markdown
Owner

Isolates the planned cms/ directory (Sveltia CMS, PR-2) from the blog, per .omc plan T2.

  • tsconfig.json excludes cms; ESLint ignores cms/, .claude/, .trash/; .gitignore adds .dev.vars, .trash/.
  • src/styles/global.css: @source not "../../cms"; (a stub under cms/ changed the Footer CSS hash; with this line all CSS hashes equal the baseline).
  • test.yml: new blog-changes filter job; test runs unless the change is only cms/** or cms.yml, and always runs if the filter fails (!cancelled() && (...)).
  • Count-coupled tests (owner approved): tests/build.test.ts, e2e/posts.spec.ts, e2e/tags.spec.ts, e2e/url-preservation.spec.ts now derive expected counts from src/content/posts via tests/helpers/published-posts.ts (+ unit test). Verified with a temporary sixth post with a new tag.

Local gate: lint 0 errors, build 27 pages, unit 75, e2e 96, Lighthouse 99.8%.

https://claude.ai/code/session_01426xQEC2VhQSZVe7cBXuz5

Exclude cms/ from tsc, ESLint and Tailwind source scanning, add a
fail-safe blog-changes filter job in front of the test job, and derive
the four count-coupled test expectations from src/content/posts.

Claude-Session: https://claude.ai/code/session_01426xQEC2VhQSZVe7cBXuz5
@comdotlinux
comdotlinux merged commit 4656002 into main Nov 15, 2026
2 checks passed
@comdotlinux
comdotlinux deleted the chore/blog-isolate-cms branch November 15, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants