@theaiplatform/miniapp-sdk 0.0.0 → 0.1.0-dev.5264044
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 +43 -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.5264044",
|
|
4
4
|
"description": "Public SDK for building portable miniapps that run in The AI Platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -50,9 +50,45 @@
|
|
|
50
50
|
"LICENSE.md",
|
|
51
51
|
"THIRD_PARTY_NOTICES.md"
|
|
52
52
|
],
|
|
53
|
+
"scripts": {
|
|
54
|
+
"prepack": "pnpm run build",
|
|
55
|
+
"build": "rm -rf dist && rslib build && node scripts/copy-rspack-loaders.mjs",
|
|
56
|
+
"test": "rstest run",
|
|
57
|
+
"typecheck": "tsc --noEmit"
|
|
58
|
+
},
|
|
53
59
|
"publishConfig": {
|
|
54
60
|
"registry": "https://registry.npmjs.org",
|
|
55
|
-
"access": "public"
|
|
61
|
+
"access": "public",
|
|
62
|
+
"main": "./dist/index.js",
|
|
63
|
+
"module": "./dist/index.js",
|
|
64
|
+
"types": "./dist/index.d.ts",
|
|
65
|
+
"exports": {
|
|
66
|
+
".": {
|
|
67
|
+
"types": "./dist/index.d.ts",
|
|
68
|
+
"import": "./dist/index.js"
|
|
69
|
+
},
|
|
70
|
+
"./sdk": {
|
|
71
|
+
"types": "./dist/sdk.d.ts",
|
|
72
|
+
"import": "./dist/sdk.js"
|
|
73
|
+
},
|
|
74
|
+
"./web": {
|
|
75
|
+
"types": "./dist/web.d.ts",
|
|
76
|
+
"import": "./dist/web.js"
|
|
77
|
+
},
|
|
78
|
+
"./surface": {
|
|
79
|
+
"types": "./dist/surface.d.ts",
|
|
80
|
+
"import": "./dist/surface.js"
|
|
81
|
+
},
|
|
82
|
+
"./config": {
|
|
83
|
+
"types": "./dist/config.d.ts",
|
|
84
|
+
"import": "./dist/config.js"
|
|
85
|
+
},
|
|
86
|
+
"./rspack": {
|
|
87
|
+
"types": "./dist/rspack/index.d.ts",
|
|
88
|
+
"import": "./dist/rspack/index.js"
|
|
89
|
+
},
|
|
90
|
+
"./config-schema.json": "./config-schema.json"
|
|
91
|
+
}
|
|
56
92
|
},
|
|
57
93
|
"peerDependencies": {
|
|
58
94
|
"@module-federation/rsbuild-plugin": "2.8.0",
|
|
@@ -96,18 +132,12 @@
|
|
|
96
132
|
"@module-federation/runtime-tools": "2.8.0",
|
|
97
133
|
"@rsbuild/core": "^2.1.4",
|
|
98
134
|
"@rslib/core": "^0.23.2",
|
|
99
|
-
"@rstest/core": "
|
|
100
|
-
"@types/node": "
|
|
101
|
-
"typescript": "
|
|
135
|
+
"@rstest/core": "catalog:rstest",
|
|
136
|
+
"@types/node": "catalog:node",
|
|
137
|
+
"typescript": "catalog:typescript"
|
|
102
138
|
},
|
|
103
139
|
"dependencies": {
|
|
104
140
|
"ajv": "^8.20.0",
|
|
105
141
|
"saxes": "^6.0.0"
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
"build": "rm -rf dist && rslib build && node scripts/copy-rspack-loaders.mjs",
|
|
109
|
-
"test": "rstest run",
|
|
110
|
-
"typecheck": "tsc --noEmit"
|
|
111
|
-
},
|
|
112
|
-
"module": "./dist/index.js"
|
|
113
|
-
}
|
|
142
|
+
}
|
|
143
|
+
}
|