@eui/mcp 1.2.0 → 1.4.0
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 +117 -743
- package/dist/mcp/server.js +2 -2
- package/dist/mcp/server.js.map +1 -1
- package/dist/query/deprecation-query.d.ts +2 -2
- package/dist/query/deprecation-query.d.ts.map +1 -1
- package/dist/query/deprecation-query.js +1 -1
- package/dist/query/deprecation-query.js.map +1 -1
- package/dist/tools/get-deprecation-info.d.ts +2 -2
- package/dist/tools/get-deprecation-info.d.ts.map +1 -1
- package/dist/tools/get-deprecation-info.js +1 -1
- package/dist/tools/get-deprecation-info.js.map +1 -1
- package/dist/tools/list-deprecated.d.ts +2 -2
- package/dist/tools/list-deprecated.d.ts.map +1 -1
- package/dist/tools/list-deprecated.js +1 -1
- package/dist/tools/list-deprecated.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,846 +1,220 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Quick Start Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Get the EUI Compodoc MCP Server running in 5 minutes.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
This MCP server provides efficient access to Angular component documentation by leveraging Compodoc's pre-generated `documentation.json` file. Instead of parsing TypeScript files on-the-fly, it uses the structured JSON as a knowledge base, offering fast queries for component inputs, outputs, examples, and other metadata.
|
|
8
|
-
|
|
9
|
-
The server implements the [Model Context Protocol](https://modelcontextprotocol.io/), enabling AI assistants like Claude, Kiro, and others to discover and understand Angular components through standardized tool calls.
|
|
10
|
-
|
|
11
|
-
## Features
|
|
12
|
-
|
|
13
|
-
- **Fast Component Discovery**: List all available components with filtering options
|
|
14
|
-
- **Detailed Documentation**: Retrieve complete component metadata including inputs, outputs, and examples
|
|
15
|
-
- **Smart Search**: Search components by name, description, or functionality with relevance ranking
|
|
16
|
-
- **Property-Based Testing**: Comprehensive test coverage using fast-check
|
|
17
|
-
- **File Watching**: Automatic reloading when documentation.json changes
|
|
18
|
-
- **Type-Safe**: Built with TypeScript and strict type checking
|
|
19
|
-
- **Error Resilient**: Graceful error handling with meaningful error messages
|
|
20
|
-
- **Zero Configuration**: Works out of the box with sensible defaults
|
|
21
|
-
|
|
22
|
-
## Table of Contents
|
|
23
|
-
|
|
24
|
-
- [Installation](#installation)
|
|
25
|
-
- [Quick Start](#quick-start)
|
|
26
|
-
- [Configuration](#configuration)
|
|
27
|
-
- [MCP Tools Reference](#mcp-tools-reference)
|
|
28
|
-
- [Usage Examples](#usage-examples)
|
|
29
|
-
- [Development](#development)
|
|
30
|
-
- [CI/CD Pipeline](#cicd-pipeline)
|
|
31
|
-
- [Architecture](#architecture)
|
|
32
|
-
- [Testing](#testing)
|
|
33
|
-
- [Troubleshooting](#troubleshooting)
|
|
34
|
-
- [Contributing](#contributing)
|
|
35
|
-
- [License](#license)
|
|
36
|
-
|
|
37
|
-
## Installation
|
|
38
|
-
|
|
39
|
-
### Prerequisites
|
|
5
|
+
## Prerequisites
|
|
40
6
|
|
|
41
7
|
- Node.js 18 or higher
|
|
42
|
-
-
|
|
43
|
-
- A Compodoc-generated `documentation.json` file
|
|
8
|
+
- An MCP client (Kiro CLI, Claude Desktop, etc.)
|
|
44
9
|
|
|
45
|
-
|
|
10
|
+
## Step 1: Get EUI Documentation URL
|
|
46
11
|
|
|
47
|
-
|
|
48
|
-
npm install
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### Build the Project
|
|
12
|
+
The EUI library documentation is available at:
|
|
52
13
|
|
|
53
|
-
```bash
|
|
54
|
-
npm run build
|
|
55
14
|
```
|
|
56
|
-
|
|
57
|
-
## Quick Start
|
|
58
|
-
|
|
59
|
-
See the [QUICKSTART.md](./QUICKSTART.md) guide for a step-by-step tutorial on getting started.
|
|
60
|
-
|
|
61
|
-
### Basic Usage
|
|
62
|
-
|
|
63
|
-
1. **Generate Compodoc documentation** for your Angular project:
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
npx @compodoc/compodoc -p tsconfig.json -e json -d ./docs
|
|
15
|
+
https://euidev.ecdevops.eu/eui-docs-eui-21.x/json/documentation.json
|
|
67
16
|
```
|
|
68
17
|
|
|
69
|
-
|
|
18
|
+
You can use this URL directly (recommended) or download it locally:
|
|
70
19
|
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"path": "./docs/documentation.json"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
20
|
+
```bash
|
|
21
|
+
# Optional: Download locally
|
|
22
|
+
curl -o documentation.json https://euidev.ecdevops.eu/eui-docs-eui-21.x/json/documentation.json
|
|
77
23
|
```
|
|
78
24
|
|
|
79
|
-
|
|
25
|
+
## Step 2: Configure Your MCP Client
|
|
80
26
|
|
|
81
|
-
|
|
82
|
-
npm start -- --config ./config.json
|
|
83
|
-
```
|
|
27
|
+
### For Kiro CLI
|
|
84
28
|
|
|
85
|
-
|
|
29
|
+
Add to `.kiro/settings/mcp.json`:
|
|
86
30
|
|
|
87
31
|
```json
|
|
88
32
|
{
|
|
89
33
|
"mcpServers": {
|
|
90
34
|
"eui-compodoc": {
|
|
91
|
-
"command": "
|
|
92
|
-
"args": [
|
|
35
|
+
"command": "npx",
|
|
36
|
+
"args": [
|
|
37
|
+
"-y",
|
|
38
|
+
"@eui/mcp",
|
|
39
|
+
"--doc-path",
|
|
40
|
+
"https://euidev.ecdevops.eu/eui-docs-eui-21.x/json/documentation.json"
|
|
41
|
+
]
|
|
93
42
|
}
|
|
94
43
|
}
|
|
95
44
|
}
|
|
96
45
|
```
|
|
97
46
|
|
|
98
|
-
|
|
47
|
+
### For Claude Desktop
|
|
99
48
|
|
|
100
|
-
|
|
49
|
+
Add to Claude Desktop configuration:
|
|
101
50
|
|
|
102
|
-
|
|
51
|
+
**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
52
|
+
**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
103
53
|
|
|
104
54
|
```json
|
|
105
55
|
{
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"maxResults": 50,
|
|
117
|
-
"minQueryLength": 2
|
|
118
|
-
},
|
|
119
|
-
"logging": {
|
|
120
|
-
"level": "info",
|
|
121
|
-
"format": "json"
|
|
56
|
+
"mcpServers": {
|
|
57
|
+
"eui-compodoc": {
|
|
58
|
+
"command": "npx",
|
|
59
|
+
"args": [
|
|
60
|
+
"-y",
|
|
61
|
+
"@eui/mcp",
|
|
62
|
+
"--doc-path",
|
|
63
|
+
"https://euidev.ecdevops.eu/eui-docs-eui-21.x/json/documentation.json"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
122
66
|
}
|
|
123
67
|
}
|
|
124
68
|
```
|
|
125
69
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
#### Server Configuration
|
|
129
|
-
|
|
130
|
-
| Option | Type | Default | Description |
|
|
131
|
-
|--------|------|---------|-------------|
|
|
132
|
-
| `server.name` | string | `"eui-compodoc-mcp"` | Server name for MCP identification |
|
|
133
|
-
| `server.version` | string | `"1.0.0"` | Server version |
|
|
70
|
+
## Step 3: Restart Your MCP Client
|
|
134
71
|
|
|
135
|
-
|
|
72
|
+
- **Kiro CLI**: Restart your terminal session
|
|
73
|
+
- **Claude Desktop**: Quit and reopen the application
|
|
136
74
|
|
|
137
|
-
|
|
138
|
-
|--------|------|---------|-------------|
|
|
139
|
-
| `documentation.path` | string | `"./documentation.json"` | Path to Compodoc documentation.json file |
|
|
140
|
-
| `documentation.watchForChanges` | boolean | `true` | Enable file watching for hot reloading |
|
|
141
|
-
| `documentation.reloadDebounce` | number | `1000` | Debounce time (ms) for file change events |
|
|
75
|
+
## Step 4: Test the Integration
|
|
142
76
|
|
|
143
|
-
|
|
77
|
+
Ask your AI assistant:
|
|
144
78
|
|
|
145
|
-
|
|
146
|
-
|--------|------|---------|-------------|
|
|
147
|
-
| `search.maxResults` | number | `50` | Maximum search results to return |
|
|
148
|
-
| `search.minQueryLength` | number | `2` | Minimum query length for searches |
|
|
79
|
+
> "List 5 components from the EUI library"
|
|
149
80
|
|
|
150
|
-
|
|
81
|
+
You should see component names and descriptions.
|
|
151
82
|
|
|
152
|
-
|
|
153
|
-
|--------|------|---------|-------------|
|
|
154
|
-
| `logging.level` | string | `"info"` | Log level: `"debug"`, `"info"`, `"warn"`, `"error"` |
|
|
155
|
-
| `logging.format` | string | `"json"` | Log format: `"json"` or `"text"` |
|
|
83
|
+
## Alternative: Local Setup
|
|
156
84
|
|
|
157
|
-
|
|
85
|
+
If you prefer to run from source or use a local documentation file:
|
|
158
86
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
- `COMPODOC_MCP_CONFIG`: Path to configuration file
|
|
162
|
-
- `COMPODOC_MCP_DOC_PATH`: Override documentation.json path
|
|
163
|
-
- `COMPODOC_MCP_LOG_LEVEL`: Override log level
|
|
164
|
-
|
|
165
|
-
Example:
|
|
87
|
+
### 1. Clone and Build
|
|
166
88
|
|
|
167
89
|
```bash
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
The server exposes six MCP tools for querying component documentation:
|
|
174
|
-
|
|
175
|
-
### 1. list-components
|
|
176
|
-
|
|
177
|
-
Lists all available components, directives, pipes, and services.
|
|
178
|
-
|
|
179
|
-
**Parameters:**
|
|
180
|
-
|
|
181
|
-
```typescript
|
|
182
|
-
{
|
|
183
|
-
includeDeprecated?: boolean; // Include deprecated items (default: false)
|
|
184
|
-
type?: 'component' | 'directive' | 'pipe' | 'service' | 'all'; // Filter by type (default: 'all')
|
|
185
|
-
limit?: number; // Max results (default: 50, max: 1000)
|
|
186
|
-
offset?: number; // Pagination offset (default: 0)
|
|
187
|
-
}
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
**Returns:**
|
|
191
|
-
|
|
192
|
-
```typescript
|
|
193
|
-
{
|
|
194
|
-
items: Array<{
|
|
195
|
-
name: string;
|
|
196
|
-
type: string;
|
|
197
|
-
selector?: string;
|
|
198
|
-
description: string;
|
|
199
|
-
deprecated: boolean;
|
|
200
|
-
}>;
|
|
201
|
-
total: number;
|
|
202
|
-
hasMore: boolean;
|
|
203
|
-
offset: number;
|
|
204
|
-
limit: number;
|
|
205
|
-
}
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### 2. get-component-docs
|
|
209
|
-
|
|
210
|
-
Retrieves detailed documentation for a specific component.
|
|
211
|
-
|
|
212
|
-
**Parameters:**
|
|
213
|
-
|
|
214
|
-
```typescript
|
|
215
|
-
{
|
|
216
|
-
name: string; // Component name (required)
|
|
217
|
-
}
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
**Returns:**
|
|
221
|
-
|
|
222
|
-
```typescript
|
|
223
|
-
{
|
|
224
|
-
name: string;
|
|
225
|
-
type: string;
|
|
226
|
-
selector?: string;
|
|
227
|
-
description: string;
|
|
228
|
-
inputs: Array<{
|
|
229
|
-
name: string;
|
|
230
|
-
type: string;
|
|
231
|
-
required: boolean;
|
|
232
|
-
description: string;
|
|
233
|
-
defaultValue?: string;
|
|
234
|
-
}>;
|
|
235
|
-
outputs: Array<{
|
|
236
|
-
name: string;
|
|
237
|
-
type: string;
|
|
238
|
-
description: string;
|
|
239
|
-
}>;
|
|
240
|
-
methods: Array<{
|
|
241
|
-
name: string;
|
|
242
|
-
signature: string;
|
|
243
|
-
description: string;
|
|
244
|
-
parameters: Array<{
|
|
245
|
-
name: string;
|
|
246
|
-
type: string;
|
|
247
|
-
optional: boolean;
|
|
248
|
-
}>;
|
|
249
|
-
returnType: string;
|
|
250
|
-
}>;
|
|
251
|
-
examples: Array<{
|
|
252
|
-
title: string;
|
|
253
|
-
description: string;
|
|
254
|
-
code: string;
|
|
255
|
-
language: string;
|
|
256
|
-
}>;
|
|
257
|
-
deprecated: boolean;
|
|
258
|
-
deprecationMessage?: string;
|
|
259
|
-
standalone?: boolean;
|
|
260
|
-
imports?: string[];
|
|
261
|
-
}
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
### 3. search-components
|
|
265
|
-
|
|
266
|
-
Searches for components by keyword or functionality.
|
|
267
|
-
|
|
268
|
-
**Parameters:**
|
|
269
|
-
|
|
270
|
-
```typescript
|
|
271
|
-
{
|
|
272
|
-
query: string; // Search query (required)
|
|
273
|
-
types?: Array<'component' | 'directive' | 'pipe' | 'service'>; // Filter by types
|
|
274
|
-
includeDeprecated?: boolean; // Include deprecated items (default: false)
|
|
275
|
-
limit?: number; // Max results (default: 50)
|
|
276
|
-
}
|
|
277
|
-
```
|
|
278
|
-
|
|
279
|
-
**Returns:**
|
|
280
|
-
|
|
281
|
-
```typescript
|
|
282
|
-
{
|
|
283
|
-
items: Array<{
|
|
284
|
-
name: string;
|
|
285
|
-
type: string;
|
|
286
|
-
selector?: string;
|
|
287
|
-
description: string;
|
|
288
|
-
deprecated: boolean;
|
|
289
|
-
relevanceScore: number;
|
|
290
|
-
}>;
|
|
291
|
-
total: number;
|
|
292
|
-
query: string;
|
|
293
|
-
}
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
### 4. get-component-inputs
|
|
297
|
-
|
|
298
|
-
Retrieves input properties for a specific component.
|
|
299
|
-
|
|
300
|
-
**Parameters:**
|
|
301
|
-
|
|
302
|
-
```typescript
|
|
303
|
-
{
|
|
304
|
-
name: string; // Component name (required)
|
|
305
|
-
}
|
|
306
|
-
```
|
|
307
|
-
|
|
308
|
-
**Returns:**
|
|
309
|
-
|
|
310
|
-
```typescript
|
|
311
|
-
{
|
|
312
|
-
componentName: string;
|
|
313
|
-
inputs: Array<{
|
|
314
|
-
name: string;
|
|
315
|
-
type: string;
|
|
316
|
-
required: boolean;
|
|
317
|
-
description: string;
|
|
318
|
-
defaultValue?: string;
|
|
319
|
-
}>;
|
|
320
|
-
}
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
### 5. get-component-outputs
|
|
324
|
-
|
|
325
|
-
Retrieves output events for a specific component.
|
|
326
|
-
|
|
327
|
-
**Parameters:**
|
|
328
|
-
|
|
329
|
-
```typescript
|
|
330
|
-
{
|
|
331
|
-
name: string; // Component name (required)
|
|
332
|
-
}
|
|
333
|
-
```
|
|
334
|
-
|
|
335
|
-
**Returns:**
|
|
336
|
-
|
|
337
|
-
```typescript
|
|
338
|
-
{
|
|
339
|
-
componentName: string;
|
|
340
|
-
outputs: Array<{
|
|
341
|
-
name: string;
|
|
342
|
-
type: string;
|
|
343
|
-
description: string;
|
|
344
|
-
}>;
|
|
345
|
-
}
|
|
346
|
-
```
|
|
347
|
-
|
|
348
|
-
### 6. get-component-examples
|
|
349
|
-
|
|
350
|
-
Retrieves usage examples for a specific component.
|
|
351
|
-
|
|
352
|
-
**Parameters:**
|
|
353
|
-
|
|
354
|
-
```typescript
|
|
355
|
-
{
|
|
356
|
-
name: string; // Component name (required)
|
|
357
|
-
}
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
**Returns:**
|
|
361
|
-
|
|
362
|
-
```typescript
|
|
363
|
-
{
|
|
364
|
-
componentName: string;
|
|
365
|
-
examples: Array<{
|
|
366
|
-
title: string;
|
|
367
|
-
description: string;
|
|
368
|
-
code: string;
|
|
369
|
-
language: string;
|
|
370
|
-
}>;
|
|
371
|
-
}
|
|
90
|
+
git clone <repository-url>
|
|
91
|
+
cd eui-compodoc-mcp
|
|
92
|
+
npm install
|
|
93
|
+
npm run build
|
|
372
94
|
```
|
|
373
95
|
|
|
374
|
-
|
|
96
|
+
### 2. Create config.json
|
|
375
97
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
```typescript
|
|
379
|
-
// Request
|
|
98
|
+
```json
|
|
380
99
|
{
|
|
381
|
-
"
|
|
382
|
-
|
|
383
|
-
"type": "component",
|
|
384
|
-
"limit": 10
|
|
100
|
+
"documentation": {
|
|
101
|
+
"path": "https://euidev.ecdevops.eu/eui-docs-eui-21.x/json/documentation.json"
|
|
385
102
|
}
|
|
386
103
|
}
|
|
387
|
-
|
|
388
|
-
// Response
|
|
389
|
-
{
|
|
390
|
-
"items": [
|
|
391
|
-
{
|
|
392
|
-
"name": "ButtonComponent",
|
|
393
|
-
"type": "component",
|
|
394
|
-
"selector": "eui-button",
|
|
395
|
-
"description": "A customizable button component",
|
|
396
|
-
"deprecated": false
|
|
397
|
-
},
|
|
398
|
-
// ... more components
|
|
399
|
-
],
|
|
400
|
-
"total": 150,
|
|
401
|
-
"hasMore": true,
|
|
402
|
-
"offset": 0,
|
|
403
|
-
"limit": 10
|
|
404
|
-
}
|
|
405
104
|
```
|
|
406
105
|
|
|
407
|
-
|
|
106
|
+
Or for local file:
|
|
408
107
|
|
|
409
|
-
```
|
|
410
|
-
// Request
|
|
108
|
+
```json
|
|
411
109
|
{
|
|
412
|
-
"
|
|
413
|
-
|
|
414
|
-
"name": "ButtonComponent"
|
|
110
|
+
"documentation": {
|
|
111
|
+
"path": "/absolute/path/to/documentation.json"
|
|
415
112
|
}
|
|
416
113
|
}
|
|
417
|
-
|
|
418
|
-
// Response
|
|
419
|
-
{
|
|
420
|
-
"name": "ButtonComponent",
|
|
421
|
-
"type": "component",
|
|
422
|
-
"selector": "eui-button",
|
|
423
|
-
"description": "A customizable button component with various styles and sizes",
|
|
424
|
-
"inputs": [
|
|
425
|
-
{
|
|
426
|
-
"name": "label",
|
|
427
|
-
"type": "string",
|
|
428
|
-
"required": true,
|
|
429
|
-
"description": "Button label text"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"name": "disabled",
|
|
433
|
-
"type": "boolean",
|
|
434
|
-
"required": false,
|
|
435
|
-
"description": "Whether the button is disabled",
|
|
436
|
-
"defaultValue": "false"
|
|
437
|
-
}
|
|
438
|
-
],
|
|
439
|
-
"outputs": [
|
|
440
|
-
{
|
|
441
|
-
"name": "click",
|
|
442
|
-
"type": "EventEmitter<MouseEvent>",
|
|
443
|
-
"description": "Emitted when button is clicked"
|
|
444
|
-
}
|
|
445
|
-
],
|
|
446
|
-
"examples": [
|
|
447
|
-
{
|
|
448
|
-
"title": "Basic Button",
|
|
449
|
-
"description": "A simple button with a label",
|
|
450
|
-
"code": "<eui-button label=\"Click Me\"></eui-button>",
|
|
451
|
-
"language": "html"
|
|
452
|
-
}
|
|
453
|
-
],
|
|
454
|
-
"deprecated": false,
|
|
455
|
-
"standalone": true
|
|
456
|
-
}
|
|
457
114
|
```
|
|
458
115
|
|
|
459
|
-
###
|
|
460
|
-
|
|
461
|
-
```typescript
|
|
462
|
-
// Request
|
|
463
|
-
{
|
|
464
|
-
"tool": "search-components",
|
|
465
|
-
"params": {
|
|
466
|
-
"query": "button",
|
|
467
|
-
"types": ["component"],
|
|
468
|
-
"limit": 5
|
|
469
|
-
}
|
|
470
|
-
}
|
|
116
|
+
### 3. Update MCP Configuration
|
|
471
117
|
|
|
472
|
-
|
|
118
|
+
```json
|
|
473
119
|
{
|
|
474
|
-
"
|
|
475
|
-
{
|
|
476
|
-
"
|
|
477
|
-
"
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"name": "IconButtonComponent",
|
|
485
|
-
"type": "component",
|
|
486
|
-
"selector": "eui-icon-button",
|
|
487
|
-
"description": "Button with icon support",
|
|
488
|
-
"deprecated": false,
|
|
489
|
-
"relevanceScore": 80
|
|
120
|
+
"mcpServers": {
|
|
121
|
+
"eui-compodoc": {
|
|
122
|
+
"command": "node",
|
|
123
|
+
"args": [
|
|
124
|
+
"/absolute/path/to/eui-compodoc-mcp/dist/main.js",
|
|
125
|
+
"--config",
|
|
126
|
+
"/absolute/path/to/config.json"
|
|
127
|
+
]
|
|
490
128
|
}
|
|
491
|
-
],
|
|
492
|
-
"total": 2,
|
|
493
|
-
"query": "button"
|
|
494
|
-
}
|
|
495
|
-
```
|
|
496
|
-
|
|
497
|
-
## Development
|
|
498
|
-
|
|
499
|
-
### Project Structure
|
|
500
|
-
|
|
501
|
-
```
|
|
502
|
-
eui-compodoc-mcp/
|
|
503
|
-
├── src/
|
|
504
|
-
│ ├── config/ # Configuration loading and validation
|
|
505
|
-
│ ├── loader/ # Documentation file loading and watching
|
|
506
|
-
│ ├── mcp/ # MCP server implementation
|
|
507
|
-
│ ├── query/ # Query engine and search functionality
|
|
508
|
-
│ ├── tools/ # MCP tool handlers
|
|
509
|
-
│ ├── types/ # TypeScript type definitions
|
|
510
|
-
│ ├── utils/ # Utility functions and logging
|
|
511
|
-
│ └── main.ts # Application entry point
|
|
512
|
-
├── dist/ # Compiled JavaScript output
|
|
513
|
-
├── coverage/ # Test coverage reports
|
|
514
|
-
├── config.json # Configuration file (example)
|
|
515
|
-
├── package.json
|
|
516
|
-
├── tsconfig.json
|
|
517
|
-
└── jest.config.js
|
|
518
|
-
```
|
|
519
|
-
|
|
520
|
-
### Development Commands
|
|
521
|
-
|
|
522
|
-
```bash
|
|
523
|
-
# Install dependencies
|
|
524
|
-
npm install
|
|
525
|
-
|
|
526
|
-
# Build the project
|
|
527
|
-
npm run build
|
|
528
|
-
|
|
529
|
-
# Development mode with auto-rebuild
|
|
530
|
-
npm run dev
|
|
531
|
-
|
|
532
|
-
# Run tests
|
|
533
|
-
npm test
|
|
534
|
-
|
|
535
|
-
# Run tests in watch mode
|
|
536
|
-
npm run test:watch
|
|
537
|
-
|
|
538
|
-
# Run tests with coverage
|
|
539
|
-
npm run test:coverage
|
|
540
|
-
|
|
541
|
-
# Lint code
|
|
542
|
-
npm run lint
|
|
543
|
-
```
|
|
544
|
-
|
|
545
|
-
### Adding a New Tool
|
|
546
|
-
|
|
547
|
-
1. Create a new file in `src/tools/` (e.g., `my-new-tool.ts`)
|
|
548
|
-
2. Implement the tool class with `execute()` and `getToolDefinition()` methods
|
|
549
|
-
3. Export the tool from `src/tools/index.ts`
|
|
550
|
-
4. Register the tool in `src/mcp/server.ts`
|
|
551
|
-
5. Add tests in `src/tools/__tests__/`
|
|
552
|
-
|
|
553
|
-
Example tool structure:
|
|
554
|
-
|
|
555
|
-
```typescript
|
|
556
|
-
export class MyNewTool {
|
|
557
|
-
constructor(private query: ComponentQuery, private formatter: ResultFormatter) {}
|
|
558
|
-
|
|
559
|
-
execute(params: MyParams): MyResult {
|
|
560
|
-
// Tool implementation
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
static getToolDefinition() {
|
|
564
|
-
return {
|
|
565
|
-
name: 'my-new-tool',
|
|
566
|
-
description: 'Description of what the tool does',
|
|
567
|
-
inputSchema: {
|
|
568
|
-
type: 'object',
|
|
569
|
-
properties: {
|
|
570
|
-
// Parameter definitions
|
|
571
|
-
},
|
|
572
|
-
},
|
|
573
|
-
};
|
|
574
129
|
}
|
|
575
130
|
}
|
|
576
131
|
```
|
|
577
132
|
|
|
578
|
-
##
|
|
579
|
-
|
|
580
|
-
This project includes a comprehensive GitLab CI/CD pipeline for automated releases.
|
|
581
|
-
|
|
582
|
-
### Pipeline Stages
|
|
583
|
-
|
|
584
|
-
1. **Build**: Compiles TypeScript to JavaScript
|
|
585
|
-
2. **Test**: Runs unit and property-based tests
|
|
586
|
-
3. **Version**: Bumps version, creates Git tags, generates changelog
|
|
587
|
-
4. **Publish**: Publishes package to npm registry (with approval gate)
|
|
588
|
-
5. **Release**: Creates GitLab release with artifacts and notes
|
|
589
|
-
|
|
590
|
-
### Required Setup
|
|
591
|
-
|
|
592
|
-
To use the CI/CD pipeline, you need to configure the following:
|
|
593
|
-
|
|
594
|
-
1. **CI/CD Variables**:
|
|
595
|
-
- `NPM_TOKEN` (required): npm authentication token
|
|
596
|
-
- `GITLAB_TOKEN` (optional): GitLab API token
|
|
133
|
+
## Available Tools
|
|
597
134
|
|
|
598
|
-
|
|
599
|
-
- Protect the `main` branch
|
|
600
|
-
- Protect version tags (`v*` pattern)
|
|
135
|
+
Once configured, you can:
|
|
601
136
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
137
|
+
- **list-components** - List all components, directives, pipes, services
|
|
138
|
+
- **get-component-docs** - Get detailed documentation for a component
|
|
139
|
+
- **search-components** - Search components by keyword
|
|
140
|
+
- **get-component-inputs** - Get input properties
|
|
141
|
+
- **get-component-outputs** - Get output events
|
|
142
|
+
- **get-component-examples** - Get usage examples
|
|
143
|
+
- **get-library-version** - Get current library version
|
|
144
|
+
- **list-deprecated** - List deprecated items
|
|
145
|
+
- **get-deprecation-info** - Get deprecation details
|
|
605
146
|
|
|
606
|
-
|
|
147
|
+
## Example Questions
|
|
607
148
|
|
|
608
|
-
|
|
609
|
-
2. Ensure `main` branch is protected
|
|
610
|
-
3. Trigger a release by running the `version` job manually
|
|
611
|
-
4. Approve the publish step for production releases
|
|
149
|
+
Try asking:
|
|
612
150
|
|
|
613
|
-
|
|
151
|
+
- "What components are available for forms?"
|
|
152
|
+
- "Show me the ButtonComponent documentation"
|
|
153
|
+
- "What inputs does ModalComponent accept?"
|
|
154
|
+
- "List all deprecated components"
|
|
155
|
+
- "Search for table components"
|
|
614
156
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
```bash
|
|
618
|
-
# 1. Ensure all changes are merged to main
|
|
619
|
-
# 2. Go to CI/CD → Pipelines in GitLab
|
|
620
|
-
# 3. Click play button on 'version' job
|
|
621
|
-
# 4. Set RELEASE_TYPE variable (patch, minor, major)
|
|
622
|
-
# 5. Approve publish step when prompted
|
|
623
|
-
# 6. Verify release on npm and GitLab
|
|
624
|
-
```
|
|
625
|
-
|
|
626
|
-
## Architecture
|
|
627
|
-
|
|
628
|
-
### High-Level Architecture
|
|
629
|
-
|
|
630
|
-
```
|
|
631
|
-
┌─────────────┐
|
|
632
|
-
│ MCP Client │ (Kiro, Claude, etc.)
|
|
633
|
-
└──────┬──────┘
|
|
634
|
-
│ MCP Protocol (stdio)
|
|
635
|
-
▼
|
|
636
|
-
┌─────────────────────────────────┐
|
|
637
|
-
│ CompodocMcpServer │
|
|
638
|
-
│ - Tool Registration │
|
|
639
|
-
│ - Request Routing │
|
|
640
|
-
│ - Error Handling │
|
|
641
|
-
└──────┬──────────────────────────┘
|
|
642
|
-
│
|
|
643
|
-
▼
|
|
644
|
-
┌─────────────────────────────────┐
|
|
645
|
-
│ Tool Handlers │
|
|
646
|
-
│ - list-components │
|
|
647
|
-
│ - get-component-docs │
|
|
648
|
-
│ - search-components │
|
|
649
|
-
│ - get-component-inputs │
|
|
650
|
-
│ - get-component-outputs │
|
|
651
|
-
│ - get-component-examples │
|
|
652
|
-
└──────┬──────────────────────────┘
|
|
653
|
-
│
|
|
654
|
-
▼
|
|
655
|
-
┌─────────────────────────────────┐
|
|
656
|
-
│ Query Engine │
|
|
657
|
-
│ - ComponentQuery │
|
|
658
|
-
│ - SearchEngine │
|
|
659
|
-
│ - ResultFormatter │
|
|
660
|
-
└──────┬──────────────────────────┘
|
|
661
|
-
│
|
|
662
|
-
▼
|
|
663
|
-
┌─────────────────────────────────┐
|
|
664
|
-
│ In-Memory Index │
|
|
665
|
-
│ - Name lookup (Map) │
|
|
666
|
-
│ - Selector lookup (Map) │
|
|
667
|
-
│ - Search index (inverted) │
|
|
668
|
-
│ - Type-based indexes │
|
|
669
|
-
└──────┬──────────────────────────┘
|
|
670
|
-
│
|
|
671
|
-
▼
|
|
672
|
-
┌─────────────────────────────────┐
|
|
673
|
-
│ DocumentationLoader │
|
|
674
|
-
│ - File reading │
|
|
675
|
-
│ - JSON parsing │
|
|
676
|
-
│ - File watching │
|
|
677
|
-
│ - Index building │
|
|
678
|
-
└──────┬──────────────────────────┘
|
|
679
|
-
│
|
|
680
|
-
▼
|
|
681
|
-
┌─────────────────────────────────┐
|
|
682
|
-
│ documentation.json │
|
|
683
|
-
│ (Compodoc output) │
|
|
684
|
-
└─────────────────────────────────┘
|
|
685
|
-
```
|
|
686
|
-
|
|
687
|
-
### Key Design Principles
|
|
688
|
-
|
|
689
|
-
1. **Single Source of Truth**: `documentation.json` is the only data source
|
|
690
|
-
2. **In-Memory Index**: Fast lookups using Map-based indexes
|
|
691
|
-
3. **Stateless Tools**: Each tool execution is independent
|
|
692
|
-
4. **Error Resilience**: Graceful error handling at every layer
|
|
693
|
-
5. **Hot Reloading**: Automatic index updates when documentation changes
|
|
694
|
-
|
|
695
|
-
## Testing
|
|
696
|
-
|
|
697
|
-
### Test Coverage
|
|
698
|
-
|
|
699
|
-
The project uses a dual testing approach:
|
|
700
|
-
|
|
701
|
-
1. **Unit Tests**: Test individual functions and classes
|
|
702
|
-
2. **Property-Based Tests**: Verify universal properties using fast-check
|
|
157
|
+
## Troubleshooting
|
|
703
158
|
|
|
704
|
-
###
|
|
159
|
+
### Server won't start
|
|
705
160
|
|
|
706
161
|
```bash
|
|
707
|
-
#
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
# Run tests in watch mode
|
|
711
|
-
npm run test:watch
|
|
712
|
-
|
|
713
|
-
# Run tests with coverage
|
|
714
|
-
npm run test:coverage
|
|
715
|
-
|
|
716
|
-
# Run specific test file
|
|
717
|
-
npm test -- src/tools/__tests__/list-components.test.ts
|
|
162
|
+
# Test manually
|
|
163
|
+
npx -y @eui/mcp --doc-path https://euidev.ecdevops.eu/eui-docs-eui-21.x/json/documentation.json
|
|
718
164
|
```
|
|
719
165
|
|
|
720
|
-
###
|
|
721
|
-
|
|
722
|
-
The project includes comprehensive property-based tests that verify correctness properties such as:
|
|
166
|
+
### Can't reach documentation URL
|
|
723
167
|
|
|
724
|
-
|
|
725
|
-
- Pagination consistency
|
|
726
|
-
- Search result relevance
|
|
727
|
-
- Type information preservation
|
|
728
|
-
- Round-trip serialization
|
|
729
|
-
|
|
730
|
-
Each property test runs 100+ iterations with randomly generated test data.
|
|
731
|
-
|
|
732
|
-
## Troubleshooting
|
|
168
|
+
Check your network connection and firewall settings. If the URL is blocked, download the file locally and use a file path instead.
|
|
733
169
|
|
|
734
|
-
###
|
|
170
|
+
### MCP client doesn't see the tools
|
|
735
171
|
|
|
736
|
-
|
|
172
|
+
1. Verify the configuration file syntax is valid JSON
|
|
173
|
+
2. Restart your MCP client completely
|
|
174
|
+
3. Check client logs for connection errors
|
|
737
175
|
|
|
738
|
-
|
|
176
|
+
## Advanced Configuration
|
|
739
177
|
|
|
740
|
-
|
|
178
|
+
### Enable File Watching (Local Files Only)
|
|
741
179
|
|
|
742
180
|
```json
|
|
743
181
|
{
|
|
744
182
|
"documentation": {
|
|
745
|
-
"path": "
|
|
183
|
+
"path": "/path/to/documentation.json",
|
|
184
|
+
"watchForChanges": true,
|
|
185
|
+
"reloadDebounce": 1000
|
|
746
186
|
}
|
|
747
187
|
}
|
|
748
188
|
```
|
|
749
189
|
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
**Problem**: Error message "Failed to load documentation"
|
|
753
|
-
|
|
754
|
-
**Solution**:
|
|
755
|
-
1. Verify the path in your configuration is correct
|
|
756
|
-
2. Ensure the file exists and is readable
|
|
757
|
-
3. Check that the file is valid JSON
|
|
758
|
-
|
|
759
|
-
```bash
|
|
760
|
-
# Test if file is valid JSON
|
|
761
|
-
cat documentation.json | jq .
|
|
762
|
-
```
|
|
763
|
-
|
|
764
|
-
#### Empty Component List
|
|
765
|
-
|
|
766
|
-
**Problem**: `list-components` returns empty array
|
|
767
|
-
|
|
768
|
-
**Solution**:
|
|
769
|
-
1. Check that your `documentation.json` contains components
|
|
770
|
-
2. Try with `includeDeprecated: true` to see if all components are deprecated
|
|
771
|
-
3. Verify the JSON structure matches Compodoc's output format
|
|
772
|
-
|
|
773
|
-
#### Search Returns No Results
|
|
774
|
-
|
|
775
|
-
**Problem**: `search-components` returns empty results
|
|
776
|
-
|
|
777
|
-
**Solution**:
|
|
778
|
-
1. Try a broader search query
|
|
779
|
-
2. Check that components exist with `list-components`
|
|
780
|
-
3. Ensure search query is at least 2 characters (configurable)
|
|
781
|
-
|
|
782
|
-
#### File Watching Not Working
|
|
783
|
-
|
|
784
|
-
**Problem**: Changes to `documentation.json` don't trigger reload
|
|
785
|
-
|
|
786
|
-
**Solution**:
|
|
787
|
-
1. Check that `watchForChanges` is `true` in configuration
|
|
788
|
-
2. Verify file system permissions
|
|
789
|
-
3. Try increasing `reloadDebounce` value
|
|
790
|
-
4. Check server logs for file watcher errors
|
|
791
|
-
|
|
792
|
-
### Debug Mode
|
|
793
|
-
|
|
794
|
-
Enable debug logging to troubleshoot issues:
|
|
190
|
+
### Enable Debug Logging
|
|
795
191
|
|
|
796
192
|
```json
|
|
797
193
|
{
|
|
194
|
+
"documentation": {
|
|
195
|
+
"path": "https://euidev.ecdevops.eu/eui-docs-eui-21.x/json/documentation.json"
|
|
196
|
+
},
|
|
798
197
|
"logging": {
|
|
799
198
|
"level": "debug"
|
|
800
199
|
}
|
|
801
200
|
}
|
|
802
201
|
```
|
|
803
202
|
|
|
804
|
-
|
|
203
|
+
### HTTP Polling for Remote URLs
|
|
805
204
|
|
|
806
|
-
```
|
|
807
|
-
|
|
205
|
+
```json
|
|
206
|
+
{
|
|
207
|
+
"documentation": {
|
|
208
|
+
"path": "https://euidev.ecdevops.eu/eui-docs-eui-21.x/json/documentation.json",
|
|
209
|
+
"pollInterval": 300000
|
|
210
|
+
}
|
|
211
|
+
}
|
|
808
212
|
```
|
|
809
213
|
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
If you encounter issues:
|
|
813
|
-
|
|
814
|
-
1. Check the [Troubleshooting](#troubleshooting) section
|
|
815
|
-
2. Review server logs for error messages
|
|
816
|
-
3. Verify your `documentation.json` is valid Compodoc output
|
|
817
|
-
4. Check that Node.js version is 18 or higher
|
|
818
|
-
|
|
819
|
-
## Contributing
|
|
820
|
-
|
|
821
|
-
Contributions are welcome! Please follow these guidelines:
|
|
822
|
-
|
|
823
|
-
1. Fork the repository
|
|
824
|
-
2. Create a feature branch (`git checkout -b feature/my-feature`)
|
|
825
|
-
3. Write tests for new functionality
|
|
826
|
-
4. Ensure all tests pass (`npm test`)
|
|
827
|
-
5. Follow TypeScript and ESLint conventions
|
|
828
|
-
6. Update documentation as needed
|
|
829
|
-
7. Submit a pull request
|
|
830
|
-
|
|
831
|
-
### Code Style
|
|
832
|
-
|
|
833
|
-
- Use TypeScript strict mode
|
|
834
|
-
- Follow existing code formatting
|
|
835
|
-
- Add JSDoc comments to public APIs
|
|
836
|
-
- Write descriptive commit messages
|
|
837
|
-
|
|
838
|
-
## License
|
|
839
|
-
|
|
840
|
-
MIT License - see LICENSE file for details
|
|
214
|
+
## Next Steps
|
|
841
215
|
|
|
842
|
-
|
|
216
|
+
- Read the [full documentation](./README.md) for all features
|
|
217
|
+
- Explore all available tools
|
|
218
|
+
- Customize configuration for your workflow
|
|
843
219
|
|
|
844
|
-
|
|
845
|
-
- Uses [Compodoc](https://compodoc.app/) for Angular documentation generation
|
|
846
|
-
- Property-based testing with [fast-check](https://github.com/dubzzz/fast-check)
|
|
220
|
+
Happy coding! 🚀
|
package/dist/mcp/server.js
CHANGED
|
@@ -89,7 +89,7 @@ export class CompodocMcpServer {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
// Handle call tool request
|
|
92
|
-
this.server.setRequestHandler(CallToolRequestSchema, (request) => {
|
|
92
|
+
this.server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
93
93
|
const { name, arguments: args } = request.params;
|
|
94
94
|
try {
|
|
95
95
|
// Validate tool exists
|
|
@@ -130,7 +130,7 @@ export class CompodocMcpServer {
|
|
|
130
130
|
}
|
|
131
131
|
// Execute tool
|
|
132
132
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
|
|
133
|
-
const result = tool.execute(args ?? {});
|
|
133
|
+
const result = await tool.execute(args ?? {});
|
|
134
134
|
// Format response
|
|
135
135
|
return {
|
|
136
136
|
content: [
|
package/dist/mcp/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,C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,GAAG,IAAI,oBAAoB,EAAE,CAAC;QAC7C,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;IACxB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YACpB,OAAO;QACT,CAAC;QAED,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;QAC1B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,SAAS;QACP,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,OAAO;YACL,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;YAC1B,UAAU,EAAE;gBACV,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU;gBACtC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW;aACpC;SACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,QAAwB;QAClC,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,IAAI,cAAc,CAAC,QAAQ,CAAC,CAAC;QAC1C,IAAI,CAAC,YAAY,GAAG,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAC;QAE/C,mCAAmC;QACnC,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DeprecatedItem, DeprecationListOptions, DeprecationInfo } from '../types/deprecation';
|
|
2
|
-
import { ComponentIndex } from './index-builder';
|
|
1
|
+
import { DeprecatedItem, DeprecationListOptions, DeprecationInfo } from '../types/deprecation.js';
|
|
2
|
+
import { ComponentIndex } from './index-builder.js';
|
|
3
3
|
/**
|
|
4
4
|
* Query functions for deprecation information
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecation-query.d.ts","sourceRoot":"","sources":["../../src/query/deprecation-query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"deprecation-query.d.ts","sourceRoot":"","sources":["../../src/query/deprecation-query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAElG,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;GAEG;AACH,qBAAa,gBAAgB;IAGf,OAAO,CAAC,KAAK;IAFzB,OAAO,CAAC,MAAM,CAAoB;gBAEd,KAAK,EAAE,cAAc;IAIzC;;OAEG;IACH,cAAc,CAAC,OAAO,GAAE,sBAA2B,GAAG,cAAc,EAAE;IAsCtE;;OAEG;IACH,kBAAkB,CAAC,aAAa,EAAE,MAAM,GAAG,eAAe,GAAG,IAAI;CA4BlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecation-query.js","sourceRoot":"","sources":["../../src/query/deprecation-query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"deprecation-query.js","sourceRoot":"","sources":["../../src/query/deprecation-query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5D;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAGP;IAFZ,MAAM,CAAoB;IAElC,YAAoB,KAAqB;QAArB,UAAK,GAAL,KAAK,CAAgB;QACvC,IAAI,CAAC,MAAM,GAAG,IAAI,iBAAiB,EAAE,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,UAAkC,EAAE;QACjD,MAAM,UAAU,GAAqB,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,aAAqB;QACtC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAElD,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;QAEpD,IAAI,CAAC,YAAY,EAAE,CAAC;YAClB,OAAO;gBACL,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,YAAY,EAAE,KAAK;aACpB,CAAC;QACJ,CAAC;QAED,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;QAE/D,OAAO;YACL,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,YAAY,EAAE,IAAI;YAClB,kBAAkB,EAAE,eAAe,CAAC,kBAAkB;YACtD,iBAAiB,EAAE,eAAe,CAAC,iBAAiB;YACpD,qBAAqB,EAAE,eAAe,CAAC,qBAAqB;SAC7D,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResultFormatter } from '../query/result-formatter';
|
|
2
|
-
import { ComponentIndex } from '../query/index-builder';
|
|
1
|
+
import { ResultFormatter } from '../query/result-formatter.js';
|
|
2
|
+
import { ComponentIndex } from '../query/index-builder.js';
|
|
3
3
|
interface GetDeprecationInfoParams {
|
|
4
4
|
componentName: string;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deprecation-info.d.ts","sourceRoot":"","sources":["../../src/tools/get-deprecation-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"get-deprecation-info.d.ts","sourceRoot":"","sources":["../../src/tools/get-deprecation-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,UAAU,wBAAwB;IAChC,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,wBAAwB;IAChC,OAAO,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;CACJ;AAED;;GAEG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,KAAK,CAAmB;IAChC,OAAO,CAAC,SAAS,CAAkB;gBAEvB,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe;IAK7D;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,wBAAwB,GAAG,wBAAwB;IAyBnE;;OAEG;IACH,MAAM,CAAC,iBAAiB;;;;;;;;;;;;;;CAkBzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deprecation-info.js","sourceRoot":"","sources":["../../src/tools/get-deprecation-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"get-deprecation-info.js","sourceRoot":"","sources":["../../src/tools/get-deprecation-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAejE;;GAEG;AACH,MAAM,OAAO,sBAAsB;IACzB,KAAK,CAAmB;IACxB,SAAS,CAAkB;IAEnC,YAAY,KAAqB,EAAE,SAA0B;QAC3D,IAAI,CAAC,KAAK,GAAG,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC;QACzC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,MAAgC;QACtC,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QAEjC,IAAI,CAAC,aAAa,IAAI,OAAO,aAAa,KAAK,QAAQ,IAAI,aAAa,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC7F,MAAM,IAAI,KAAK,CAAC,2DAA2D,CAAC,CAAC;QAC/E,CAAC;QAED,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC;QAEjE,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,cAAc,aAAa,8BAA8B,CAAC,CAAC;QAC7E,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;QAE7D,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;iBAChB;aACF;SACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,iBAAiB;QACtB,OAAO;YACL,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EACT,oGAAoG;gBACpG,uFAAuF;YACzF,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,uDAAuD;qBACrE;iBACF;gBACD,QAAQ,EAAE,CAAC,eAAe,CAAC;aAC5B;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResultFormatter } from '../query/result-formatter';
|
|
2
|
-
import { ComponentIndex } from '../query/index-builder';
|
|
1
|
+
import { ResultFormatter } from '../query/result-formatter.js';
|
|
2
|
+
import { ComponentIndex } from '../query/index-builder.js';
|
|
3
3
|
interface ListDeprecatedParams {
|
|
4
4
|
type?: string;
|
|
5
5
|
includeReplacements?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-deprecated.d.ts","sourceRoot":"","sources":["../../src/tools/list-deprecated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"list-deprecated.d.ts","sourceRoot":"","sources":["../../src/tools/list-deprecated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,UAAU,oBAAoB;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,UAAU,oBAAoB;IAC5B,OAAO,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;CACJ;AAED;;GAEG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,KAAK,CAAmB;IAChC,OAAO,CAAC,SAAS,CAAkB;gBAEvB,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe;IAK7D;;OAEG;IACH,OAAO,CAAC,MAAM,GAAE,oBAAyB,GAAG,oBAAoB;IAoBhE;;OAEG;IACH,MAAM,CAAC,iBAAiB;;;;;;;;;;;;;;;;;;CAuBzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-deprecated.js","sourceRoot":"","sources":["../../src/tools/list-deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"list-deprecated.js","sourceRoot":"","sources":["../../src/tools/list-deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAgBjE;;GAEG;AACH,MAAM,OAAO,kBAAkB;IACrB,KAAK,CAAmB;IACxB,SAAS,CAAkB;IAEnC,YAAY,KAAqB,EAAE,SAA0B;QAC3D,IAAI,CAAC,KAAK,GAAG,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC;Q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