@atomixstudio/mcp 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -38,6 +38,15 @@ npx heyatomix sync --format scss # Output as SCSS
38
38
  npx heyatomix sync -y # Auto-confirm changes
39
39
  ```
40
40
 
41
+ **⚠️ Important: File Structure**
42
+
43
+ The output file (e.g., `tokens.css`) is **completely rewritten** on each sync:
44
+
45
+ - ✅ **Preserved**: CSS custom properties (variables) - both design system tokens and custom variables
46
+ - ❌ **Lost**: Regular CSS rules (selectors, classes, media queries, etc.)
47
+
48
+ **Best Practice**: Keep your tokens file separate from custom CSS. Use a separate file (e.g., `custom.css` or `styles.css`) for custom styles.
49
+
41
50
  ### `heyatomix init`
42
51
 
43
52
  Create a `.atomixrc` config file:
@@ -196,6 +205,14 @@ npx heyatomix sync
196
205
  - [Atomix Studio](https://atomixstudio.eu)
197
206
  - [MCP Protocol](https://modelcontextprotocol.io)
198
207
 
208
+ ## Publishing (maintainers)
209
+
210
+ This package bundles `@atomixstudio/sync-core` so a single publish works from npm. To republish:
211
+
212
+ 1. From repo root, build sync-core (needed for local types): `cd packages/atomix-sync-core && pnpm run build`
213
+ 2. From `packages/mcp-user`: `pnpm run build` then `npm publish --access public`
214
+ 3. Bump version in `package.json` before each new publish.
215
+
199
216
  ## License
200
217
 
201
218
  MIT