@theaiplatform/miniapp-sdk 0.2.0-pr.6821.02b36a6 → 0.2.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.
Files changed (1) hide show
  1. package/package.json +15 -60
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theaiplatform/miniapp-sdk",
3
- "version": "0.2.0-pr.6821.02b36a6",
3
+ "version": "0.2.0",
4
4
  "description": "Public SDK for building portable miniapps that run in The AI Platform.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -67,60 +67,9 @@
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
- },
76
70
  "publishConfig": {
77
71
  "registry": "https://registry.npmjs.org",
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
- }
72
+ "access": "public"
124
73
  },
125
74
  "peerDependencies": {
126
75
  "@module-federation/rsbuild-plugin": "2.8.0",
@@ -164,17 +113,17 @@
164
113
  "@module-federation/runtime-tools": "2.8.0",
165
114
  "@rsbuild/core": "^2.1.4",
166
115
  "@rslib/core": "^0.23.2",
167
- "@rstest/core": "catalog:rstest",
116
+ "@rstest/core": "^0.9.10",
168
117
  "@tailwindcss/postcss": "^4.3.0",
169
118
  "@types/jsdom": "^28.0.3",
170
- "@types/node": "catalog:node",
171
- "@types/react": "catalog:react",
172
- "@types/react-dom": "catalog:react",
119
+ "@types/node": "^25.7.0",
120
+ "@types/react": "19.2.14",
121
+ "@types/react-dom": "19.2.3",
173
122
  "jsdom": "^29.1.1",
174
123
  "postcss": "^8.5.6",
175
124
  "tailwindcss": "^4.3.0",
176
125
  "tw-animate-css": "^1.4.0",
177
- "typescript": "catalog:typescript"
126
+ "typescript": "npm:@typescript/typescript6@6.0.2"
178
127
  },
179
128
  "dependencies": {
180
129
  "@radix-ui/react-alert-dialog": "^1.1.15",
@@ -203,5 +152,11 @@
203
152
  "saxes": "^6.0.0",
204
153
  "tailwind-merge": "^3.6.0",
205
154
  "zod": "^4.4.3"
206
- }
207
- }
155
+ },
156
+ "scripts": {
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
+ }