@splunk/splunk-ui-mcp 0.1.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/LICENSE +202 -0
- package/README.md +54 -0
- package/lib/constants/versions.d.ts +9 -0
- package/lib/constants/versions.js +12 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +43 -0
- package/lib/resources/components.d.ts +26 -0
- package/lib/resources/components.js +133 -0
- package/lib/resources/icons.d.ts +30 -0
- package/lib/resources/icons.js +123 -0
- package/lib/resources/tests/components.unit.d.ts +1 -0
- package/lib/resources/tests/components.unit.js +133 -0
- package/lib/resources/tests/icons.unit.d.ts +1 -0
- package/lib/resources/tests/icons.unit.js +161 -0
- package/lib/tools/find_icons.d.ts +16 -0
- package/lib/tools/find_icons.js +102 -0
- package/lib/tools/get_component_docs.d.ts +19 -0
- package/lib/tools/get_component_docs.js +82 -0
- package/lib/tools/requirements.d.ts +15 -0
- package/lib/tools/requirements.js +25 -0
- package/lib/tools/tests/find_icons.unit.d.ts +1 -0
- package/lib/tools/tests/find_icons.unit.js +149 -0
- package/lib/tools/tests/get_component_docs.unit.d.ts +1 -0
- package/lib/tools/tests/get_component_docs.unit.js +131 -0
- package/lib/tools/tests/requirements.unit.d.ts +1 -0
- package/lib/tools/tests/requirements.unit.js +34 -0
- package/lib/utils/component-catalog.d.ts +26 -0
- package/lib/utils/component-catalog.js +148 -0
- package/lib/utils/tests/component-catalog.unit.d.ts +1 -0
- package/lib/utils/tests/component-catalog.unit.js +144 -0
- package/package.json +59 -0
package/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@splunk/splunk-ui-mcp",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Model Context Protocol server for the Splunk UI Design System",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": "Splunk Inc.",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"prebuild": "node scripts/generate-versions.js",
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"docs": "NODE_ENV=production webpack --config docs.gen.webpack.config.cjs",
|
|
11
|
+
"docs:publish": "eval $(splunk-docs-package docs) && artifact-ci publish generic $DOCS_GEN_OUTPUT_NAME $DOCS_GEN_REMOTE_PATH",
|
|
12
|
+
"docs:publish:external": "eval $(splunk-docs-package docs-external --suffix=public) && artifact-ci publish generic $DOCS_GEN_OUTPUT_NAME $DOCS_GEN_REMOTE_PATH",
|
|
13
|
+
"docs:start": "webpack serve --config docs.gen.webpack.config.cjs",
|
|
14
|
+
"lint": "eslint src --ext \".ts,.tsx,.js,.jsx\"",
|
|
15
|
+
"lint:ci": "yarn run lint -- -f junit -o test-reports/lint-results.xml",
|
|
16
|
+
"start": "tsc --watch",
|
|
17
|
+
"test": "vitest run"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"main": "lib/index.js",
|
|
21
|
+
"types": "lib/index.d.ts",
|
|
22
|
+
"bin": {
|
|
23
|
+
"splunk-ui-mcp": "lib/index.js"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"lib"
|
|
27
|
+
],
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@modelcontextprotocol/sdk": "^1.17.5",
|
|
30
|
+
"@splunk/ui-utils": "^1.12.0",
|
|
31
|
+
"zod": "^3.0.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@splunk/react-icons": "^5.8.0",
|
|
35
|
+
"@splunk/react-ui": "^5.8.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@splunk/eslint-config": "^5.0.0",
|
|
39
|
+
"@splunk/react-icons": "^5.8.0",
|
|
40
|
+
"@splunk/react-ui": "^5.8.0",
|
|
41
|
+
"@types/node": "^22.0.0",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^8.29.1",
|
|
43
|
+
"@typescript-eslint/parser": "^8.29.1",
|
|
44
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
45
|
+
"eslint": "^8.57.1",
|
|
46
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
47
|
+
"eslint-config-prettier": "^9.1.0",
|
|
48
|
+
"eslint-plugin-import": "^2.30.1",
|
|
49
|
+
"typescript": "^5.0.0",
|
|
50
|
+
"vitest": "^3.2.4",
|
|
51
|
+
"webpack": "^5.88.2",
|
|
52
|
+
"webpack-cli": "^5.1.4",
|
|
53
|
+
"webpack-dev-server": "^5.2.2",
|
|
54
|
+
"webpack-merge": "^5.9.0"
|
|
55
|
+
},
|
|
56
|
+
"engines": {
|
|
57
|
+
"node": ">=22.0.0"
|
|
58
|
+
}
|
|
59
|
+
}
|