realtimex-crm 0.7.3 → 0.7.5
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/bin/realtimex-crm.js +6 -4
- package/package.json +2 -2
package/bin/realtimex-crm.js
CHANGED
|
@@ -72,9 +72,9 @@ async function main() {
|
|
|
72
72
|
});
|
|
73
73
|
|
|
74
74
|
const supabaseAnonKey = await input({
|
|
75
|
-
message: "Supabase
|
|
75
|
+
message: "Supabase Publishable API Key (anon key):",
|
|
76
76
|
validate: (value) => {
|
|
77
|
-
if (!value.trim()) return "Supabase
|
|
77
|
+
if (!value.trim()) return "Supabase Publishable API Key is required";
|
|
78
78
|
return true;
|
|
79
79
|
},
|
|
80
80
|
});
|
|
@@ -91,7 +91,7 @@ async function main() {
|
|
|
91
91
|
const configPath = join(tmpdir(), "realtimex-crm-config.txt");
|
|
92
92
|
const configContent = `Supabase Configuration:
|
|
93
93
|
URL: ${supabaseUrl}
|
|
94
|
-
|
|
94
|
+
Publishable API Key (anon key): ${supabaseAnonKey}
|
|
95
95
|
|
|
96
96
|
To configure the app:
|
|
97
97
|
1. Open the app in your browser
|
|
@@ -103,10 +103,12 @@ To configure the app:
|
|
|
103
103
|
|
|
104
104
|
// Helper to run supabase commands
|
|
105
105
|
const runSupabaseCommand = async (command, message) => {
|
|
106
|
-
|
|
106
|
+
const cwd = process.cwd();
|
|
107
|
+
console.log(`\n${message} (from directory: ${cwd})`);
|
|
107
108
|
const proc = spawn("npx", ["supabase", ...command], {
|
|
108
109
|
stdio: "inherit",
|
|
109
110
|
shell: true,
|
|
111
|
+
cwd: cwd,
|
|
110
112
|
});
|
|
111
113
|
|
|
112
114
|
return new Promise((resolve, reject) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "realtimex-crm",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "RealTimeX CRM - A full-featured CRM built with React, shadcn-admin-kit, and Supabase. Fork of Atomic CRM with RealTimeX App SDK integration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dist",
|
|
22
22
|
"bin",
|
|
23
23
|
"src",
|
|
24
|
-
"supabase",
|
|
24
|
+
"supabase/",
|
|
25
25
|
"public",
|
|
26
26
|
"README.md",
|
|
27
27
|
"LICENSE"
|