ai-react-animations 1.3.1 → 1.3.2
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/dist/mcp/cli.js +1 -1
- package/mcp/cli.ts +3 -1
- package/package.json +4 -2
package/dist/mcp/cli.js
CHANGED
|
@@ -94,7 +94,7 @@ ${colors.magenta}\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2
|
|
|
94
94
|
function getMcpConfig() {
|
|
95
95
|
return {
|
|
96
96
|
command: "npx",
|
|
97
|
-
args: ["-y",
|
|
97
|
+
args: ["-y", "ai-react-animations@latest", "serve"]
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
function findExistingConfig(configPaths) {
|
package/mcp/cli.ts
CHANGED
|
@@ -93,9 +93,11 @@ ${colors.magenta}╔════════════════════
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
function getMcpConfig() {
|
|
96
|
+
// Use npx with explicit package name to run the server
|
|
97
|
+
// The @latest tag ensures we always get the current version
|
|
96
98
|
return {
|
|
97
99
|
command: 'npx',
|
|
98
|
-
args: ['-y',
|
|
100
|
+
args: ['-y', 'ai-react-animations@latest', 'serve'],
|
|
99
101
|
};
|
|
100
102
|
}
|
|
101
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-react-animations",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Beautiful AI loading animation components for React/Next.js with MCP server support for Claude, Cursor, and Windsurf.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
"require": "./dist/index.js"
|
|
16
16
|
},
|
|
17
17
|
"./styles.css": "./dist/styles.css",
|
|
18
|
-
"./mcp": "./dist/mcp/server.js"
|
|
18
|
+
"./mcp": "./dist/mcp/server.js",
|
|
19
|
+
"./mcp/server": "./dist/mcp/server.js",
|
|
20
|
+
"./mcp/server.js": "./dist/mcp/server.js"
|
|
19
21
|
},
|
|
20
22
|
"files": [
|
|
21
23
|
"dist",
|