@nuclearplayer/plugin-sdk 2.1.1 → 2.3.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/dist/index.d.ts +583 -1
- package/dist/index.js +288 -204
- package/package.json +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuclearplayer/plugin-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Plugin SDK for Nuclear music player",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
".": {
|
|
11
11
|
"import": "./dist/index.js",
|
|
12
12
|
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./mcp": {
|
|
15
|
+
"import": "./src/mcp/index.ts"
|
|
13
16
|
}
|
|
14
17
|
},
|
|
15
18
|
"files": [
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
"dev": "vite",
|
|
71
74
|
"build": "tsc && vite build && api-extractor run --local && pnpm clean:dts",
|
|
72
75
|
"build:npm": "tsc && vite build --mode npm && api-extractor run --local && pnpm clean:dts",
|
|
73
|
-
"clean:dts": "rm -rf dist/api dist/react dist/test dist/types dist/types.d.ts dist/*.d.ts.map dist/tsdoc-metadata.json",
|
|
76
|
+
"clean:dts": "rm -rf dist/api dist/mcp dist/react dist/test dist/types dist/types.d.ts dist/*.d.ts.map dist/tsdoc-metadata.json",
|
|
74
77
|
"test": "vitest --run",
|
|
75
78
|
"test:watch": "vitest",
|
|
76
79
|
"test:coverage": "vitest --run --coverage",
|