@@ -84,7 +84,7 @@ Add the server to your MCP client configuration (e.g., Claude Desktop, Cursor, C
8484 " --workspaceRoot=/absolute/path/to/your/angular/workspace" ,
8585 " --ds.uiRoot=relative/path/to/ui/components" ,
8686 " --ds.storybookDocsRoot=relative/path/to/storybook/docs" ,
87- " --ds.deprecatedCssClassesPath=relative/path/to/component-options.js "
87+ " --ds.deprecatedCssClassesPath=relative/path/to/component-options.mjs "
8888 ]
8989 }
9090 }
@@ -105,7 +105,7 @@ When developing locally, point to the built server:
105105 " --workspaceRoot=/absolute/path/to/your/angular/workspace" ,
106106 " --ds.uiRoot=relative/path/to/ui/components" ,
107107 " --ds.storybookDocsRoot=relative/path/to/storybook/docs" ,
108- " --ds.deprecatedCssClassesPath=relative/path/to/component-options.js "
108+ " --ds.deprecatedCssClassesPath=relative/path/to/component-options.mjs "
109109 ]
110110 }
111111 }
@@ -130,7 +130,7 @@ When developing locally, point to the built server:
130130| Parameter | Type | Description | Example |
131131| -----------| ------| -------------| ---------|
132132| ` ds.storybookDocsRoot ` | Relative path | Root directory containing Storybook documentation used by documentation-related tools | ` storybook/docs ` |
133- | ` ds.deprecatedCssClassesPath ` | Relative path | JavaScript file mapping deprecated CSS classes used by violation and deprecated CSS tools | ` design-system/component-options.js ` |
133+ | ` ds.deprecatedCssClassesPath ` | Relative path | JavaScript file mapping deprecated CSS classes used by violation and deprecated CSS tools | ` design-system/component-options.mjs ` |
134134
135135When optional parameters are omitted:
136136
@@ -139,7 +139,7 @@ When optional parameters are omitted:
139139
140140#### Deprecated CSS Classes File Format
141141
142- The ` component-options.js ` file should export an array of component configurations:
142+ The ` component-options.mjs ` file should export an array of component configurations:
143143
144144``` javascript
145145const dsComponents = [
@@ -166,7 +166,7 @@ my-angular-workspace/
166166│ │ ├── modal/
167167│ │ └── ...
168168│ └── design-system/
169- │ └── component-options.js # ds.deprecatedCssClassesPath
169+ │ └── component-options.mjs # ds.deprecatedCssClassesPath
170170├── storybook/
171171│ └── docs/ # ds.storybookDocsRoot
172172└── apps/
@@ -177,7 +177,7 @@ my-angular-workspace/
177177
178178- ** Server not starting** : Ensure all paths are correct and the server is built
179179- ** Permission errors** : Check that the Node.js process has read access to all specified directories
180- - ** Component not found** : Verify that component names in ` component-options.js ` match your actual component class names
180+ - ** Component not found** : Verify that component names in ` component-options.mjs ` match your actual component class names
181181- ** Path resolution issues** : Use absolute paths for ` workspaceRoot ` and relative paths (from workspace root) for other parameters
182182
183183## Available Tools
0 commit comments