@fewangsit/wangsvue 1.5.229-alpha.47 → 1.5.229-alpha.48
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/mcp/components.json +1 -1
- package/mcp/components.summary.txt +1 -1
- package/mcp/main.js +8 -6
- package/mcp/package.json +6 -6
- package/package.json +1 -1
package/mcp/components.json
CHANGED
package/mcp/main.js
CHANGED
|
@@ -173,14 +173,14 @@ ${_}`;
|
|
|
173
173
|
}
|
|
174
174
|
if (De.existsSync(c)) {
|
|
175
175
|
if (De.existsSync(s)) {
|
|
176
|
-
const
|
|
177
|
-
if (
|
|
176
|
+
const f = De.lstatSync(s);
|
|
177
|
+
if (f.isSymbolicLink())
|
|
178
178
|
De.unlinkSync(s);
|
|
179
|
-
else if (
|
|
179
|
+
else if (f.isDirectory())
|
|
180
180
|
if (De.readdirSync(s).length > 0) {
|
|
181
181
|
console.warn(`⚠️ Directory ${s} exists and is not empty.`);
|
|
182
|
-
const
|
|
183
|
-
if (
|
|
182
|
+
const v = await gl("Do you want to replace it? (y/N): ");
|
|
183
|
+
if (v.toLowerCase() === "y" || v.toLowerCase() === "yes")
|
|
184
184
|
console.log("Removing existing directory..."), De.rmSync(s, { recursive: !0, force: !0 });
|
|
185
185
|
else {
|
|
186
186
|
console.log("Skipping skills linking.");
|
|
@@ -190,7 +190,9 @@ ${_}`;
|
|
|
190
190
|
De.rmdirSync(s);
|
|
191
191
|
}
|
|
192
192
|
const u = tr(s);
|
|
193
|
-
De.existsSync(u) || De.mkdirSync(u, { recursive: !0 })
|
|
193
|
+
De.existsSync(u) || De.mkdirSync(u, { recursive: !0 });
|
|
194
|
+
const l = process.platform === "win32" ? "junction" : "dir";
|
|
195
|
+
De.symlinkSync(c, s, l), console.log(`✓ Linked skills: ${s} -> ${c}`);
|
|
194
196
|
}
|
|
195
197
|
console.log(`
|
|
196
198
|
Initialization completed successfully!`);
|
package/mcp/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fewangsit/wangsvue-mcp",
|
|
3
|
-
"version": "1.5.229-alpha.
|
|
3
|
+
"version": "1.5.229-alpha.47",
|
|
4
4
|
"description": "MCP Server for @fewangsit/wangsvue",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
"buildContext": {
|
|
11
11
|
"package": {
|
|
12
12
|
"name": "@fewangsit/wangsvue",
|
|
13
|
-
"version": "1.5.229-alpha.
|
|
13
|
+
"version": "1.5.229-alpha.47",
|
|
14
14
|
"description": "Wangsit VueJS Component Library",
|
|
15
15
|
"repository": "https://github.com/fewangsit/wangsvue",
|
|
16
16
|
"workspace": "wangsvue"
|
|
17
17
|
},
|
|
18
18
|
"build": {
|
|
19
|
-
"timestamp": "2026-02-
|
|
19
|
+
"timestamp": "2026-02-04T11:22:55.145Z",
|
|
20
20
|
"gitInfo": {
|
|
21
|
-
"head": "
|
|
22
|
-
"branch": "
|
|
21
|
+
"head": "79ab70de029e7154b202ad1ac9e9a88bafd185ce",
|
|
22
|
+
"branch": "dev",
|
|
23
23
|
"repository": "https://github.com/fewangsit/wangsvue.git",
|
|
24
|
-
"timestamp": "2026-02-
|
|
24
|
+
"timestamp": "2026-02-04T11:22:54.333Z"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|