@axis-ds/mcp 1.1.2 → 1.1.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/LICENSE +21 -0
- package/dist/index.js +1 -1
- package/package.json +9 -10
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Think & Action
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.js
CHANGED
|
@@ -2068,7 +2068,7 @@ function formatSaveResult(result) {
|
|
|
2068
2068
|
import fetch from "node-fetch";
|
|
2069
2069
|
import fs3 from "fs-extra";
|
|
2070
2070
|
import path3 from "path";
|
|
2071
|
-
var TEMPLATE_REGISTRY_URL = process.env.AXIS_TEMPLATE_URL || "https://
|
|
2071
|
+
var TEMPLATE_REGISTRY_URL = process.env.AXIS_TEMPLATE_URL || "https://axis.minu.best/templates";
|
|
2072
2072
|
async function fetchTemplateIndex() {
|
|
2073
2073
|
const url = `${TEMPLATE_REGISTRY_URL}/index.json`;
|
|
2074
2074
|
const res = await fetch(url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axis-ds/mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AXIS Design System - MCP Server for AI-assisted component discovery",
|
|
6
6
|
"bin": {
|
|
@@ -15,13 +15,6 @@
|
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "tsup src/index.ts --format esm --dts --clean && npm run copy-data",
|
|
20
|
-
"copy-data": "node -e \"const fs=require('fs');fs.cpSync('src/registry/data','dist/registry/data',{recursive:true})\"",
|
|
21
|
-
"dev": "tsup src/index.ts --format esm --watch",
|
|
22
|
-
"clean": "rm -rf dist",
|
|
23
|
-
"prepublishOnly": "pnpm build"
|
|
24
|
-
},
|
|
25
18
|
"dependencies": {
|
|
26
19
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
27
20
|
"fs-extra": "^11.2.0",
|
|
@@ -47,5 +40,11 @@
|
|
|
47
40
|
"url": "https://github.com/thoughtandaction/axis.git",
|
|
48
41
|
"directory": "packages/axis-mcp"
|
|
49
42
|
},
|
|
50
|
-
"homepage": "https://axis.minu.best"
|
|
51
|
-
|
|
43
|
+
"homepage": "https://axis.minu.best",
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsup src/index.ts --format esm --dts --clean && npm run copy-data",
|
|
46
|
+
"copy-data": "node -e \"const fs=require('fs');fs.cpSync('src/registry/data','dist/registry/data',{recursive:true})\"",
|
|
47
|
+
"dev": "tsup src/index.ts --format esm --watch",
|
|
48
|
+
"clean": "rm -rf dist"
|
|
49
|
+
}
|
|
50
|
+
}
|