@skopon-cool/form-sdk-bundle 0.1.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/README.md +20 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +33 -0
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @skopon-cool/form-sdk-bundle
|
|
2
|
+
|
|
3
|
+
`@skopon-cool/form-sdk` 的一键安装 meta 包:安装本包即可自动带上 SDK 及全部 peer 依赖(React、Ant Design、A2UI 等)。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @skopon-cool/form-sdk-bundle
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 使用
|
|
12
|
+
|
|
13
|
+
与主包 API 完全一致,可直接从 bundle import:
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import '@skopon-cool/form-sdk-bundle/styles.css'
|
|
17
|
+
import { AskUserFormCard, createFormClient } from '@skopon-cool/form-sdk-bundle'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
完整文档见 [`../form/README.md`](../form/README.md)。
|
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@skopon-cool/form-sdk'
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@skopon-cool/form-sdk'
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@skopon-cool/form-sdk-bundle",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"description": "One-shot install: @skopon-cool/form-sdk and all peer dependencies",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "./index.js",
|
|
10
|
+
"module": "./index.js",
|
|
11
|
+
"types": "./index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./index.d.ts",
|
|
15
|
+
"import": "./index.js"
|
|
16
|
+
},
|
|
17
|
+
"./styles.css": "@skopon-cool/form-sdk/styles.css"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"index.js",
|
|
21
|
+
"index.d.ts",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@skopon-cool/form-sdk": "^0.1.3",
|
|
26
|
+
"@a2ui/react": "^0.10.1",
|
|
27
|
+
"@a2ui/web_core": "^0.10.2",
|
|
28
|
+
"@ant-design/icons": "^6.0.0",
|
|
29
|
+
"antd": "^6.4.3",
|
|
30
|
+
"react": ">=18.0.0",
|
|
31
|
+
"react-dom": ">=18.0.0"
|
|
32
|
+
}
|
|
33
|
+
}
|