Skip to content

ci: add validation workflow#1

Merged
ajianaz merged 3 commits into
mainfrom
feat/add-ci-workflow
Jul 16, 2026
Merged

ci: add validation workflow#1
ajianaz merged 3 commits into
mainfrom
feat/add-ci-workflow

Conversation

@ajianaz

@ajianaz ajianaz commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Add CI workflow to validate the shared theme package.

Checks

  1. package.json files — verify all declared files exist
  2. JSON — validate catppuccin-mocha.json
  3. CSS — check tokens.css has no @import
  4. Exports map — verify all export paths point to existing files
  5. TypeScript — non-blocking TS check on VitePress adapter files

ajianaz added 3 commits July 16, 2026 18:33
Node 24 native type stripping does not support files under node_modules.
The .ts config file has TypeScript annotations (interface, type, etc.)
that fail at runtime. This .mjs file is the compiled JS equivalent —
same logic, no type annotations.

- Export ./vitepress/config → config.mjs (runtime)
- Keep ./vitepress/config.ts for editors/type checking
- No consumer changes needed — import path stays the same
Node 24 requires  for JSON imports in ESM.
@ajianaz
ajianaz merged commit 7dbbfda into main Jul 16, 2026
@ajianaz
ajianaz deleted the feat/add-ci-workflow branch July 16, 2026 12:31
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.

1 participant