@buildbase/sdk 0.0.30 → 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/css/styles.d.ts +6 -0
- 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 +99 -15
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,7 +19,16 @@
|
|
|
19
19
|
"require": "./dist/react/index.js",
|
|
20
20
|
"default": "./dist/react/index.js"
|
|
21
21
|
},
|
|
22
|
-
"./
|
|
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
|
+
},
|
|
28
|
+
"./css": {
|
|
29
|
+
"types": "./dist/css/styles.d.ts",
|
|
30
|
+
"default": "./dist/css/styles.css"
|
|
31
|
+
}
|
|
23
32
|
},
|
|
24
33
|
"files": [
|
|
25
34
|
"dist",
|
|
@@ -30,7 +39,7 @@
|
|
|
30
39
|
],
|
|
31
40
|
"scripts": {
|
|
32
41
|
"build": "rollup -c && npm run postbuild",
|
|
33
|
-
"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",
|
|
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",
|
|
34
43
|
"build:analyze": "rollup --config rollup.config.analyze.js",
|
|
35
44
|
"dev": "rollup -c -w",
|
|
36
45
|
"clean": "rimraf dist",
|
|
@@ -48,10 +57,6 @@
|
|
|
48
57
|
"watch:push:light": "chokidar \"src/**/*\" -c \"npm run push:sdk\" --initial --ignore dist"
|
|
49
58
|
},
|
|
50
59
|
"peerDependencies": {
|
|
51
|
-
"react": "^19.0.0",
|
|
52
|
-
"react-dom": "^19.0.0"
|
|
53
|
-
},
|
|
54
|
-
"dependencies": {
|
|
55
60
|
"@radix-ui/react-alert-dialog": "^1.1.13",
|
|
56
61
|
"@radix-ui/react-avatar": "^1.1.9",
|
|
57
62
|
"@radix-ui/react-dialog": "^1.1.13",
|
|
@@ -67,14 +72,82 @@
|
|
|
67
72
|
"class-variance-authority": "^0.7.0",
|
|
68
73
|
"clsx": "^2.0.0",
|
|
69
74
|
"cmdk": "^1.1.1",
|
|
70
|
-
"javascript-time-ago": "^2.5.11",
|
|
71
75
|
"lucide-react": "^0.544.0",
|
|
76
|
+
"react": "^19.0.0",
|
|
77
|
+
"react-dom": "^19.0.0",
|
|
72
78
|
"react-hook-form": "^7.60.0",
|
|
73
|
-
"tailwind-merge": "^3.3.1"
|
|
74
|
-
|
|
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"
|
|
75
146
|
},
|
|
76
147
|
"devDependencies": {
|
|
148
|
+
"@formatjs/cli": "^6.14.1",
|
|
77
149
|
"@hookform/resolvers": "^5.0.1",
|
|
150
|
+
"@rollup/plugin-alias": "^6.0.0",
|
|
78
151
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
79
152
|
"@rollup/plugin-json": "^6.1.0",
|
|
80
153
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
@@ -101,16 +174,27 @@
|
|
|
101
174
|
"typescript": "^5.2.0"
|
|
102
175
|
},
|
|
103
176
|
"keywords": [
|
|
177
|
+
"saas",
|
|
178
|
+
"sdk",
|
|
179
|
+
"buildbase",
|
|
104
180
|
"react",
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
181
|
+
"billing",
|
|
182
|
+
"stripe",
|
|
183
|
+
"subscription",
|
|
184
|
+
"workspace",
|
|
185
|
+
"authentication",
|
|
186
|
+
"multi-tenant",
|
|
187
|
+
"feature-flags",
|
|
188
|
+
"quota",
|
|
189
|
+
"usage-tracking",
|
|
190
|
+
"server-side",
|
|
191
|
+
"next-js",
|
|
192
|
+
"express"
|
|
109
193
|
],
|
|
110
194
|
"author": "Buildbase",
|
|
111
195
|
"license": "MIT",
|
|
112
196
|
"engines": {
|
|
113
|
-
"node": ">=
|
|
197
|
+
"node": ">=18.0.0"
|
|
114
198
|
},
|
|
115
199
|
"publishConfig": {
|
|
116
200
|
"access": "public",
|