@theaiplatform/miniapp-sdk 0.1.0 → 0.2.0-pr.6821.02b36a6
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/package.json +60 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theaiplatform/miniapp-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-pr.6821.02b36a6",
|
|
4
4
|
"description": "Public SDK for building portable miniapps that run in The AI Platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -67,9 +67,60 @@
|
|
|
67
67
|
"LICENSE.md",
|
|
68
68
|
"THIRD_PARTY_NOTICES.md"
|
|
69
69
|
],
|
|
70
|
+
"scripts": {
|
|
71
|
+
"prepack": "pnpm run build",
|
|
72
|
+
"build": "rm -rf dist && rslib build && node scripts/copy-rspack-loaders.mjs && node scripts/build-ui-styles.mjs",
|
|
73
|
+
"test": "rstest run",
|
|
74
|
+
"typecheck": "tsc --noEmit"
|
|
75
|
+
},
|
|
70
76
|
"publishConfig": {
|
|
71
77
|
"registry": "https://registry.npmjs.org",
|
|
72
|
-
"access": "public"
|
|
78
|
+
"access": "public",
|
|
79
|
+
"main": "./dist/index.js",
|
|
80
|
+
"module": "./dist/index.js",
|
|
81
|
+
"types": "./dist/index.d.ts",
|
|
82
|
+
"exports": {
|
|
83
|
+
".": {
|
|
84
|
+
"types": "./dist/index.d.ts",
|
|
85
|
+
"import": "./dist/index.js"
|
|
86
|
+
},
|
|
87
|
+
"./sdk": {
|
|
88
|
+
"types": "./dist/sdk.d.ts",
|
|
89
|
+
"import": "./dist/sdk.js"
|
|
90
|
+
},
|
|
91
|
+
"./mcp": {
|
|
92
|
+
"types": "./dist/mcp.d.ts",
|
|
93
|
+
"import": "./dist/mcp.js"
|
|
94
|
+
},
|
|
95
|
+
"./web": {
|
|
96
|
+
"types": "./dist/web.d.ts",
|
|
97
|
+
"import": "./dist/web.js"
|
|
98
|
+
},
|
|
99
|
+
"./ui": {
|
|
100
|
+
"types": "./dist/ui.d.ts",
|
|
101
|
+
"import": "./dist/ui.js"
|
|
102
|
+
},
|
|
103
|
+
"./ui/wasm": {
|
|
104
|
+
"types": "./dist/ui/wasm.d.ts",
|
|
105
|
+
"import": "./dist/ui/wasm.js"
|
|
106
|
+
},
|
|
107
|
+
"./ui/styles.css": "./dist/ui/styles.css",
|
|
108
|
+
"./ui/tailwind.css": "./dist/ui/tailwind.css",
|
|
109
|
+
"./ui-components.json": "./ui-components.json",
|
|
110
|
+
"./surface": {
|
|
111
|
+
"types": "./dist/surface.d.ts",
|
|
112
|
+
"import": "./dist/surface.js"
|
|
113
|
+
},
|
|
114
|
+
"./config": {
|
|
115
|
+
"types": "./dist/config.d.ts",
|
|
116
|
+
"import": "./dist/config.js"
|
|
117
|
+
},
|
|
118
|
+
"./rspack": {
|
|
119
|
+
"types": "./dist/rspack/index.d.ts",
|
|
120
|
+
"import": "./dist/rspack/index.js"
|
|
121
|
+
},
|
|
122
|
+
"./config-schema.json": "./config-schema.json"
|
|
123
|
+
}
|
|
73
124
|
},
|
|
74
125
|
"peerDependencies": {
|
|
75
126
|
"@module-federation/rsbuild-plugin": "2.8.0",
|
|
@@ -113,17 +164,17 @@
|
|
|
113
164
|
"@module-federation/runtime-tools": "2.8.0",
|
|
114
165
|
"@rsbuild/core": "^2.1.4",
|
|
115
166
|
"@rslib/core": "^0.23.2",
|
|
116
|
-
"@rstest/core": "
|
|
167
|
+
"@rstest/core": "catalog:rstest",
|
|
117
168
|
"@tailwindcss/postcss": "^4.3.0",
|
|
118
169
|
"@types/jsdom": "^28.0.3",
|
|
119
|
-
"@types/node": "
|
|
120
|
-
"@types/react": "
|
|
121
|
-
"@types/react-dom": "
|
|
170
|
+
"@types/node": "catalog:node",
|
|
171
|
+
"@types/react": "catalog:react",
|
|
172
|
+
"@types/react-dom": "catalog:react",
|
|
122
173
|
"jsdom": "^29.1.1",
|
|
123
174
|
"postcss": "^8.5.6",
|
|
124
175
|
"tailwindcss": "^4.3.0",
|
|
125
176
|
"tw-animate-css": "^1.4.0",
|
|
126
|
-
"typescript": "
|
|
177
|
+
"typescript": "catalog:typescript"
|
|
127
178
|
},
|
|
128
179
|
"dependencies": {
|
|
129
180
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
@@ -152,11 +203,5 @@
|
|
|
152
203
|
"saxes": "^6.0.0",
|
|
153
204
|
"tailwind-merge": "^3.6.0",
|
|
154
205
|
"zod": "^4.4.3"
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
"build": "rm -rf dist && rslib build && node scripts/copy-rspack-loaders.mjs && node scripts/build-ui-styles.mjs",
|
|
158
|
-
"test": "rstest run",
|
|
159
|
-
"typecheck": "tsc --noEmit"
|
|
160
|
-
},
|
|
161
|
-
"module": "./dist/index.js"
|
|
162
|
-
}
|
|
206
|
+
}
|
|
207
|
+
}
|