Move theme package into monorepo#819
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
511888a to
110df86
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 511888a79f
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
110df86 to
53935fb
Compare
53935fb to
f2fce66
Compare
f2fce66 to
cdaac82
Compare
cdaac82 to
297a20a
Compare
amadeus
left a comment
There was a problem hiding this comment.
A lot of this is quite beefy and I didn't know how things were prior to it all, so not sure if there's much valuable feedback from me. But skimmed from a high level and seems good!
297a20a to
b6453e1
Compare
Register @pierre/theme as a workspace package with moon tasks, repo tooling, and local consumers wired to workspace:* dependencies. Rework generated themes around role-based palettes and shared color utilities, including Protanopia & Deuteranopia and Tritanopia variants for Pierre Light and Pierre Dark. Add accessibility docs, preview generation, and node:test coverage for generated themes plus CVD contrast and distinguishability gates.
Remove the release-triggered publish workflow so the theme package is never published automatically. The other publishable packages here already release this way — a deliberate, local `moon run` — which keeps marketplace and npm credentials out of any automated path. Replace it with manual moon tasks, one per target, each requiring only its own token: - `theme:publish-npm` publishes @pierre/theme to npm. - `theme:publish-vsce` publishes the VS Code extension (needs VSCE_PAT). - `theme:publish-ovsx` publishes to Open VSX (needs OVSX_PAT). Split the former combined publish-extensions script into publishVsce.ts and publishOvsx.ts so each marketplace can be released on its own, and document the flow in CONTRIBUTING.
b6453e1 to
afce62f
Compare
|
Will merge this tomorrow; we need to coordinate releases of the theme packages before @amadeus does another diffs release. |
Summary
Matches the state of the
themerepo at this point pierrecomputer/theme#46