@pelatform/starter 0.1.6 → 0.1.7
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/dist/extend.d.ts +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +893 -898
- package/dist/server.js +1 -1
- package/dist/{ui-BjeCRH96.d.ts → ui-DxCTGGLe.d.ts} +0 -7
- package/package.json +7 -9
package/dist/server.js
CHANGED
|
@@ -70,7 +70,7 @@ var setServerLastVisitedWorkspace = async (workspace, maxAge = 30 * 86400) => {
|
|
|
70
70
|
maxAge,
|
|
71
71
|
sameSite: "lax",
|
|
72
72
|
httpOnly: true,
|
|
73
|
-
secure: process.env.NODE_ENV
|
|
73
|
+
secure: process.env.NODE_ENV !== "development"
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
var getServerLastVisitedWorkspace = async () => {
|
|
@@ -176,7 +176,6 @@ type PathConfig = {
|
|
|
176
176
|
PRICING: string;
|
|
177
177
|
TERMS: string;
|
|
178
178
|
PRIVACY: string;
|
|
179
|
-
[key: string]: string;
|
|
180
179
|
};
|
|
181
180
|
/** Authentication related paths */
|
|
182
181
|
auth: {
|
|
@@ -190,13 +189,11 @@ type PathConfig = {
|
|
|
190
189
|
SIGN_OUT: string;
|
|
191
190
|
SIGN_UP: string;
|
|
192
191
|
TWO_FACTOR: string;
|
|
193
|
-
[key: string]: string;
|
|
194
192
|
};
|
|
195
193
|
/** Onboarding flow paths */
|
|
196
194
|
onboarding: {
|
|
197
195
|
WELCOME: string;
|
|
198
196
|
WORKSPACE: string;
|
|
199
|
-
[key: string]: string;
|
|
200
197
|
};
|
|
201
198
|
/** User account settings paths */
|
|
202
199
|
account: {
|
|
@@ -204,7 +201,6 @@ type PathConfig = {
|
|
|
204
201
|
SECURITY: string;
|
|
205
202
|
API_KEYS: string;
|
|
206
203
|
WORKSPACES: string;
|
|
207
|
-
[key: string]: string;
|
|
208
204
|
};
|
|
209
205
|
/** Workspace settings paths */
|
|
210
206
|
workspaces: {
|
|
@@ -213,19 +209,16 @@ type PathConfig = {
|
|
|
213
209
|
API_KEYS: string;
|
|
214
210
|
BILLINGS: string;
|
|
215
211
|
WEBHOOKS: string;
|
|
216
|
-
[key: string]: string;
|
|
217
212
|
};
|
|
218
213
|
/** Admin paths */
|
|
219
214
|
admin: {
|
|
220
215
|
OVERVIEW: string;
|
|
221
216
|
USERS: string;
|
|
222
|
-
[key: string]: string;
|
|
223
217
|
};
|
|
224
218
|
/** Custom paths */
|
|
225
219
|
custom: {
|
|
226
220
|
ACCEPT_INVITATION: string;
|
|
227
221
|
NEW_WORKSPACE: string;
|
|
228
|
-
[key: string]: string;
|
|
229
222
|
};
|
|
230
223
|
};
|
|
231
224
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pelatform/starter",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "A collection of SaaS starter kit components and utilities for Pelatform applications.",
|
|
5
5
|
"author": "Pelatform",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"scripts": {
|
|
27
27
|
"clean": "rimraf dist",
|
|
28
28
|
"clean:all": "rimraf .turbo dist node_modules",
|
|
29
|
-
"dev": "tsup --watch",
|
|
29
|
+
"dev": "tsup --watch --onSuccess \"cp src/style.css dist/style.css\"",
|
|
30
30
|
"build": "tsup && cp src/style.css dist/style.css",
|
|
31
31
|
"types:check": "tsc --noEmit"
|
|
32
32
|
},
|
|
@@ -49,11 +49,10 @@
|
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@hookform/resolvers": "^5.2.2",
|
|
52
|
-
"@pelatform/tsconfig": "^0.1.
|
|
53
|
-
"@pelatform/utils": "^1.0.4",
|
|
52
|
+
"@pelatform/tsconfig": "^0.1.3",
|
|
54
53
|
"@simplewebauthn/server": "^13.2.2",
|
|
55
|
-
"@tanstack/query-core": "^5.90.
|
|
56
|
-
"@tanstack/react-query": "^5.90.
|
|
54
|
+
"@tanstack/query-core": "^5.90.12",
|
|
55
|
+
"@tanstack/react-query": "^5.90.12",
|
|
57
56
|
"@types/node": "^24.10.1",
|
|
58
57
|
"@types/qrcode": "^1.5.6",
|
|
59
58
|
"@types/react": "^19.2.7",
|
|
@@ -61,9 +60,9 @@
|
|
|
61
60
|
"lucide-react": "^0.555.0",
|
|
62
61
|
"next": "^16.0.7",
|
|
63
62
|
"next-intl": "^4.5.8",
|
|
64
|
-
"pelatform-ui": "^1.1.
|
|
63
|
+
"pelatform-ui": "^1.1.3",
|
|
65
64
|
"react": "^19.2.1",
|
|
66
|
-
"react-hook-form": "^7.
|
|
65
|
+
"react-hook-form": "^7.68.0",
|
|
67
66
|
"tailwindcss": "^4.1.17",
|
|
68
67
|
"tsup": "^8.5.1",
|
|
69
68
|
"typescript": "^5.9.3",
|
|
@@ -71,7 +70,6 @@
|
|
|
71
70
|
},
|
|
72
71
|
"peerDependencies": {
|
|
73
72
|
"@hookform/resolvers": ">=5.2.0",
|
|
74
|
-
"@pelatform/utils": ">=1.0.0",
|
|
75
73
|
"@tanstack/query-core": ">=5.90.0",
|
|
76
74
|
"@tanstack/react-query": ">=5.90.0",
|
|
77
75
|
"better-auth": ">=1.4.0",
|