create-protobase 0.58.6 → 0.58.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/database-wizard.js +1 -1
- package/dist/next-steps.js +2 -2
- package/dist/templates/erp/package.json +6 -6
- package/dist/templates/property-portal/package.json +6 -6
- package/dist/templates/real-estate/package.json +6 -6
- package/dist/templates/scratch/package.json +6 -6
- package/package.json +2 -2
package/dist/database-wizard.js
CHANGED
|
@@ -45,7 +45,7 @@ const createFromDatabase = async (url, dir, terminal, steps) => {
|
|
|
45
45
|
const { tables, skipped, supabaseSchemas } = await steps.listTables(folder, url);
|
|
46
46
|
const supabase = supabaseSchemas.length > 0;
|
|
47
47
|
if (supabase) {
|
|
48
|
-
print(`\n${database} is a Supabase database: the project signs in
|
|
48
|
+
print(`\n${database} is a Supabase database: the project signs Supabase's users in through a view over auth.users, and changes nothing in Supabase's auth schema.\n`);
|
|
49
49
|
await steps.useSupabaseUsers(folder);
|
|
50
50
|
}
|
|
51
51
|
if (tables.length === 0) print(`\n${database} has no tables to import${skipped.length > 0 ? `: it leaves out ${skipped.join(", ")}` : ""}. The project starts without resources.\n`);
|
package/dist/next-steps.js
CHANGED
|
@@ -26,11 +26,11 @@ const nextSteps = (dir, scripts, port, tools) => {
|
|
|
26
26
|
/**
|
|
27
27
|
* What to run in a new project on an existing database, its packages installed, until its admin app serves: the first
|
|
28
28
|
* of them is the first that writes to the database, adding the auth schema sign-in keeps its users in, or on a
|
|
29
|
-
* Supabase database, `supabase`, Better Auth's tables
|
|
29
|
+
* Supabase database, `supabase`, Better Auth's tables and the view over Supabase's auth.users, in `app_auth`.
|
|
30
30
|
*/
|
|
31
31
|
const databaseNextSteps = (dir, tools, supabase = false) => withBun([
|
|
32
32
|
`cd ${dir}`,
|
|
33
|
-
supabase ? "bun run db:migrate # the first write to the database: Better Auth's tables
|
|
33
|
+
supabase ? "bun run db:migrate # the first write to the database: app_auth, a view over auth.users and Better Auth's tables, and migrations.applied" : "bun run db:migrate # the first write to the database: the auth schema, and migrations.applied",
|
|
34
34
|
"bun run protobase users create you@example.com --generate-password",
|
|
35
35
|
"bun run dev # http://localhost:5173"
|
|
36
36
|
], tools);
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"zod": "^4.6.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@protobase/cli": "^0.58.
|
|
31
|
-
"@protobase/config": "^0.58.
|
|
32
|
-
"@protobase/layout": "^0.58.
|
|
33
|
-
"@protobase/schema": "^0.58.
|
|
34
|
-
"@protobase/server": "^0.58.
|
|
35
|
-
"@protobase/ui": "^0.58.
|
|
30
|
+
"@protobase/cli": "^0.58.7",
|
|
31
|
+
"@protobase/config": "^0.58.7",
|
|
32
|
+
"@protobase/layout": "^0.58.7",
|
|
33
|
+
"@protobase/schema": "^0.58.7",
|
|
34
|
+
"@protobase/server": "^0.58.7",
|
|
35
|
+
"@protobase/ui": "^0.58.7",
|
|
36
36
|
"@types/node": "^22.20.5",
|
|
37
37
|
"@types/pg": "^8.23.1",
|
|
38
38
|
"@types/react": "^19.3.0",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"zod": "^4.6.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@protobase/cli": "^0.58.
|
|
31
|
-
"@protobase/config": "^0.58.
|
|
32
|
-
"@protobase/layout": "^0.58.
|
|
33
|
-
"@protobase/schema": "^0.58.
|
|
34
|
-
"@protobase/server": "^0.58.
|
|
35
|
-
"@protobase/ui": "^0.58.
|
|
30
|
+
"@protobase/cli": "^0.58.7",
|
|
31
|
+
"@protobase/config": "^0.58.7",
|
|
32
|
+
"@protobase/layout": "^0.58.7",
|
|
33
|
+
"@protobase/schema": "^0.58.7",
|
|
34
|
+
"@protobase/server": "^0.58.7",
|
|
35
|
+
"@protobase/ui": "^0.58.7",
|
|
36
36
|
"@types/node": "^22.20.5",
|
|
37
37
|
"@types/pg": "^8.23.1",
|
|
38
38
|
"@types/react": "^19.3.0",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"zod": "^4.6.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@protobase/cli": "^0.58.
|
|
31
|
-
"@protobase/config": "^0.58.
|
|
32
|
-
"@protobase/layout": "^0.58.
|
|
33
|
-
"@protobase/schema": "^0.58.
|
|
34
|
-
"@protobase/server": "^0.58.
|
|
35
|
-
"@protobase/ui": "^0.58.
|
|
30
|
+
"@protobase/cli": "^0.58.7",
|
|
31
|
+
"@protobase/config": "^0.58.7",
|
|
32
|
+
"@protobase/layout": "^0.58.7",
|
|
33
|
+
"@protobase/schema": "^0.58.7",
|
|
34
|
+
"@protobase/server": "^0.58.7",
|
|
35
|
+
"@protobase/ui": "^0.58.7",
|
|
36
36
|
"@types/node": "^22.20.5",
|
|
37
37
|
"@types/pg": "^8.23.1",
|
|
38
38
|
"@types/react": "^19.3.0",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"zod": "^4.6.5"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@protobase/cli": "^0.58.
|
|
28
|
-
"@protobase/config": "^0.58.
|
|
29
|
-
"@protobase/layout": "^0.58.
|
|
30
|
-
"@protobase/schema": "^0.58.
|
|
31
|
-
"@protobase/server": "^0.58.
|
|
32
|
-
"@protobase/ui": "^0.58.
|
|
27
|
+
"@protobase/cli": "^0.58.7",
|
|
28
|
+
"@protobase/config": "^0.58.7",
|
|
29
|
+
"@protobase/layout": "^0.58.7",
|
|
30
|
+
"@protobase/schema": "^0.58.7",
|
|
31
|
+
"@protobase/server": "^0.58.7",
|
|
32
|
+
"@protobase/ui": "^0.58.7",
|
|
33
33
|
"@types/node": "^22.20.5",
|
|
34
34
|
"@types/pg": "^8.23.1",
|
|
35
35
|
"@types/react": "^19.3.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-protobase",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.7",
|
|
4
4
|
"description": "npm create protobase: starts a new Protobase project from one of its presets, or on an existing Postgres database.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"postgres": "^3.4.9"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@protobase/cli": "0.58.
|
|
31
|
+
"@protobase/cli": "0.58.7"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|