chore: add design-sync config for Claude Design upload#3381
Draft
dreamwasp wants to merge 3 commits into
Draft
Conversation
Adds .design-sync/ config set for syncing @Codecademy/gamut to the [DRAFT] Gamut Design System project on claude.ai/design (71 components). - config.json: project ID, storybook shape, build cmd, provider config, card mode overrides, titleMap for docs-only stories - tsconfig.json: resolves ~styleguide webpack aliases for esbuild - overrides/bundle.mjs: enables minification (icons-as-code pushes unminified bundle to 5.2MB, over the 5MB upload limit) - previews/SkipToContent.tsx: custom preview for hidden skip-link component - NOTES.md: setup notes and re-apply instructions for dist patches - packages/gamut/package.json: add "types" field so design-sync converter can locate dist/index.d.ts in this NX monorepo (NX omits it by default) - .gitignore: exclude .ds-sync/, ds-bundle/, and ephemeral .design-sync/ subdirs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
View your CI Pipeline Execution ↗ for commit fc93bc5 ☁️ Nx Cloud last updated this comment at |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3381 +/- ##
==========================================
- Coverage 90.38% 90.08% -0.31%
==========================================
Files 398 270 -128
Lines 6576 5670 -906
Branches 2137 1905 -232
==========================================
- Hits 5944 5108 -836
+ Misses 624 553 -71
- Partials 8 9 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…header - Add @codecademy/gamut-styles/dist/themes to extraEntries so all 5 named themes (coreTheme, adminTheme, platformTheme, lxStudioTheme, percipioTheme) are available in the bundle for theme-swapping in Claude Design - Fix tsconfig path (../../ not ../../../ from PKG_DIR=packages/gamut) - Add .design-sync/conventions.md as readmeHeader: GamutProvider wrapping, theme table, props-only styling idiom, idiomatic build example - Update NOTES.md with tsconfig fix, grade edge cases, and theme export finding Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
|
📬 Published Alpha Packages:
|
Contributor
|
🚀 Styleguide deploy preview ready! Preview URL: https://6a3eda36e8aa00ac83617464--gamut-preview.netlify.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds .design-sync/ config set for syncing @codecademy/gamut to the [DRAFT] Gamut Design System project on claude.ai/design (71 components).
Overview
PR Checklist
Testing Instructions
Don't make me tap the sign.
PR Links and Envs