@buildbase/sdk 0.0.31 → 0.0.32
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 +134 -0
- package/dist/css/styles.css +1 -1
- package/dist/data/index.d.ts +39 -0
- package/dist/data/index.js +1 -0
- package/dist/data/index.mjs +1 -0
- package/dist/index.d.ts +280 -58
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react/index.d.ts +796 -71
- package/dist/react/index.js +1 -35
- package/dist/react/index.mjs +1 -35
- package/package.json +79 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buildbase/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A SDK for Buildbase",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
"require": "./dist/react/index.js",
|
|
20
20
|
"default": "./dist/react/index.js"
|
|
21
21
|
},
|
|
22
|
+
"./data": {
|
|
23
|
+
"types": "./dist/data/index.d.ts",
|
|
24
|
+
"import": "./dist/data/index.mjs",
|
|
25
|
+
"require": "./dist/data/index.js",
|
|
26
|
+
"default": "./dist/data/index.js"
|
|
27
|
+
},
|
|
22
28
|
"./css": {
|
|
23
29
|
"types": "./dist/css/styles.d.ts",
|
|
24
30
|
"default": "./dist/css/styles.css"
|
|
@@ -33,7 +39,7 @@
|
|
|
33
39
|
],
|
|
34
40
|
"scripts": {
|
|
35
41
|
"build": "rollup -c && npm run postbuild",
|
|
36
|
-
"postbuild": "rimraf dist/types dist/react/types dist/*.map dist/react/*.map && mkdir -p dist/css && [ -f dist/react/styles.css ] && mv dist/react/styles.css dist/css/styles.css || true && cp src/css.d.ts dist/css/styles.d.ts",
|
|
42
|
+
"postbuild": "rimraf dist/types dist/react/types dist/data/types dist/*.map dist/react/*.map dist/data/*.map && mkdir -p dist/css && [ -f dist/react/styles.css ] && mv dist/react/styles.css dist/css/styles.css || true && cp src/css.d.ts dist/css/styles.d.ts",
|
|
37
43
|
"build:analyze": "rollup --config rollup.config.analyze.js",
|
|
38
44
|
"dev": "rollup -c -w",
|
|
39
45
|
"clean": "rimraf dist",
|
|
@@ -51,18 +57,6 @@
|
|
|
51
57
|
"watch:push:light": "chokidar \"src/**/*\" -c \"npm run push:sdk\" --initial --ignore dist"
|
|
52
58
|
},
|
|
53
59
|
"peerDependencies": {
|
|
54
|
-
"react": "^19.0.0",
|
|
55
|
-
"react-dom": "^19.0.0"
|
|
56
|
-
},
|
|
57
|
-
"peerDependenciesMeta": {
|
|
58
|
-
"react": {
|
|
59
|
-
"optional": true
|
|
60
|
-
},
|
|
61
|
-
"react-dom": {
|
|
62
|
-
"optional": true
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"dependencies": {
|
|
66
60
|
"@radix-ui/react-alert-dialog": "^1.1.13",
|
|
67
61
|
"@radix-ui/react-avatar": "^1.1.9",
|
|
68
62
|
"@radix-ui/react-dialog": "^1.1.13",
|
|
@@ -78,14 +72,82 @@
|
|
|
78
72
|
"class-variance-authority": "^0.7.0",
|
|
79
73
|
"clsx": "^2.0.0",
|
|
80
74
|
"cmdk": "^1.1.1",
|
|
81
|
-
"javascript-time-ago": "^2.5.11",
|
|
82
75
|
"lucide-react": "^0.544.0",
|
|
76
|
+
"react": "^19.0.0",
|
|
77
|
+
"react-dom": "^19.0.0",
|
|
83
78
|
"react-hook-form": "^7.60.0",
|
|
84
|
-
"tailwind-merge": "^3.3.1"
|
|
85
|
-
|
|
79
|
+
"tailwind-merge": "^3.3.1"
|
|
80
|
+
},
|
|
81
|
+
"peerDependenciesMeta": {
|
|
82
|
+
"react": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"react-dom": {
|
|
86
|
+
"optional": true
|
|
87
|
+
},
|
|
88
|
+
"@radix-ui/react-alert-dialog": {
|
|
89
|
+
"optional": true
|
|
90
|
+
},
|
|
91
|
+
"@radix-ui/react-avatar": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
"@radix-ui/react-dialog": {
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
97
|
+
"@radix-ui/react-icons": {
|
|
98
|
+
"optional": true
|
|
99
|
+
},
|
|
100
|
+
"@radix-ui/react-label": {
|
|
101
|
+
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"@radix-ui/react-popover": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"@radix-ui/react-radio-group": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"@radix-ui/react-scroll-area": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"@radix-ui/react-select": {
|
|
113
|
+
"optional": true
|
|
114
|
+
},
|
|
115
|
+
"@radix-ui/react-separator": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
118
|
+
"@radix-ui/react-slot": {
|
|
119
|
+
"optional": true
|
|
120
|
+
},
|
|
121
|
+
"@radix-ui/react-switch": {
|
|
122
|
+
"optional": true
|
|
123
|
+
},
|
|
124
|
+
"class-variance-authority": {
|
|
125
|
+
"optional": true
|
|
126
|
+
},
|
|
127
|
+
"clsx": {
|
|
128
|
+
"optional": true
|
|
129
|
+
},
|
|
130
|
+
"cmdk": {
|
|
131
|
+
"optional": true
|
|
132
|
+
},
|
|
133
|
+
"lucide-react": {
|
|
134
|
+
"optional": true
|
|
135
|
+
},
|
|
136
|
+
"react-hook-form": {
|
|
137
|
+
"optional": true
|
|
138
|
+
},
|
|
139
|
+
"tailwind-merge": {
|
|
140
|
+
"optional": true
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"dependencies": {
|
|
144
|
+
"intl-messageformat": "^11.2.0",
|
|
145
|
+
"zod": "^4.3.6"
|
|
86
146
|
},
|
|
87
147
|
"devDependencies": {
|
|
148
|
+
"@formatjs/cli": "^6.14.1",
|
|
88
149
|
"@hookform/resolvers": "^5.0.1",
|
|
150
|
+
"@rollup/plugin-alias": "^6.0.0",
|
|
89
151
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
90
152
|
"@rollup/plugin-json": "^6.1.0",
|
|
91
153
|
"@rollup/plugin-node-resolve": "^16.0.1",
|