@theaiplatform/miniapp-sdk 0.0.1 → 0.1.0-dev.e198ea6
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 +50 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theaiplatform/miniapp-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.1.0-dev.e198ea6",
|
|
4
4
|
"description": "Public SDK for building portable miniapps that run in The AI Platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -58,9 +58,52 @@
|
|
|
58
58
|
"LICENSE.md",
|
|
59
59
|
"THIRD_PARTY_NOTICES.md"
|
|
60
60
|
],
|
|
61
|
+
"scripts": {
|
|
62
|
+
"prepack": "pnpm run build",
|
|
63
|
+
"build": "rm -rf dist && rslib build && node scripts/copy-rspack-loaders.mjs && node scripts/build-ui-styles.mjs",
|
|
64
|
+
"test": "rstest run",
|
|
65
|
+
"typecheck": "tsc --noEmit"
|
|
66
|
+
},
|
|
61
67
|
"publishConfig": {
|
|
62
68
|
"registry": "https://registry.npmjs.org",
|
|
63
|
-
"access": "public"
|
|
69
|
+
"access": "public",
|
|
70
|
+
"main": "./dist/index.js",
|
|
71
|
+
"module": "./dist/index.js",
|
|
72
|
+
"types": "./dist/index.d.ts",
|
|
73
|
+
"exports": {
|
|
74
|
+
".": {
|
|
75
|
+
"types": "./dist/index.d.ts",
|
|
76
|
+
"import": "./dist/index.js"
|
|
77
|
+
},
|
|
78
|
+
"./sdk": {
|
|
79
|
+
"types": "./dist/sdk.d.ts",
|
|
80
|
+
"import": "./dist/sdk.js"
|
|
81
|
+
},
|
|
82
|
+
"./web": {
|
|
83
|
+
"types": "./dist/web.d.ts",
|
|
84
|
+
"import": "./dist/web.js"
|
|
85
|
+
},
|
|
86
|
+
"./ui": {
|
|
87
|
+
"types": "./dist/ui.d.ts",
|
|
88
|
+
"import": "./dist/ui.js"
|
|
89
|
+
},
|
|
90
|
+
"./ui/styles.css": "./dist/ui/styles.css",
|
|
91
|
+
"./ui/tailwind.css": "./dist/ui/tailwind.css",
|
|
92
|
+
"./ui-components.json": "./ui-components.json",
|
|
93
|
+
"./surface": {
|
|
94
|
+
"types": "./dist/surface.d.ts",
|
|
95
|
+
"import": "./dist/surface.js"
|
|
96
|
+
},
|
|
97
|
+
"./config": {
|
|
98
|
+
"types": "./dist/config.d.ts",
|
|
99
|
+
"import": "./dist/config.js"
|
|
100
|
+
},
|
|
101
|
+
"./rspack": {
|
|
102
|
+
"types": "./dist/rspack/index.d.ts",
|
|
103
|
+
"import": "./dist/rspack/index.js"
|
|
104
|
+
},
|
|
105
|
+
"./config-schema.json": "./config-schema.json"
|
|
106
|
+
}
|
|
64
107
|
},
|
|
65
108
|
"peerDependencies": {
|
|
66
109
|
"@module-federation/rsbuild-plugin": "2.8.0",
|
|
@@ -104,13 +147,13 @@
|
|
|
104
147
|
"@module-federation/runtime-tools": "2.8.0",
|
|
105
148
|
"@rsbuild/core": "^2.1.4",
|
|
106
149
|
"@rslib/core": "^0.23.2",
|
|
107
|
-
"@rstest/core": "
|
|
150
|
+
"@rstest/core": "catalog:rstest",
|
|
108
151
|
"@tailwindcss/postcss": "^4.3.0",
|
|
109
|
-
"@types/node": "
|
|
152
|
+
"@types/node": "catalog:node",
|
|
110
153
|
"postcss": "^8.5.6",
|
|
111
154
|
"tailwindcss": "^4.3.0",
|
|
112
155
|
"tw-animate-css": "^1.4.0",
|
|
113
|
-
"typescript": "
|
|
156
|
+
"typescript": "catalog:typescript"
|
|
114
157
|
},
|
|
115
158
|
"dependencies": {
|
|
116
159
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
@@ -137,11 +180,5 @@
|
|
|
137
180
|
"react-resizable-panels": "^4.11.1",
|
|
138
181
|
"saxes": "^6.0.0",
|
|
139
182
|
"tailwind-merge": "^3.6.0"
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
"build": "rm -rf dist && rslib build && node scripts/copy-rspack-loaders.mjs && node scripts/build-ui-styles.mjs",
|
|
143
|
-
"test": "rstest run",
|
|
144
|
-
"typecheck": "tsc --noEmit"
|
|
145
|
-
},
|
|
146
|
-
"module": "./dist/index.js"
|
|
147
|
-
}
|
|
183
|
+
}
|
|
184
|
+
}
|