cmx-sdk 0.2.2 → 0.2.3

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
@@ -201,7 +201,7 @@ Generate typed functions and interfaces from your CMX data types and collections
201
201
  ### Usage
202
202
 
203
203
  ```bash
204
- npx cmx-sdk generate
204
+ npx cmx-sdk codegen types
205
205
  ```
206
206
 
207
207
  This fetches your workspace's schema from the CMX API and generates TypeScript files in `cmx/generated/`.
@@ -209,7 +209,18 @@ This fetches your workspace's schema from the CMX API and generates TypeScript f
209
209
  ### Options
210
210
 
211
211
  ```bash
212
- npx cmx-sdk generate --output src/cmx/generated # Custom output directory
212
+ npx cmx-sdk codegen types --output src/cmx/generated
213
+ npx cmx-sdk codegen pages --template layered --app-dir src/app --features-dir src/features
214
+ npx cmx-sdk codegen check
215
+ npx cmx-sdk codegen all
216
+ ```
217
+
218
+ ### MDX Tooling
219
+
220
+ ```bash
221
+ npx cmx-sdk mdx validate --dir src
222
+ npx cmx-sdk mdx validate --file src/content/post.mdx
223
+ npx cmx-sdk mdx doctor
213
224
  ```
214
225
 
215
226
  ### Requirements