@autoship/react 0.5.0 → 0.5.1

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 CHANGED
@@ -26,7 +26,7 @@ Create a new Supabase project (or use an existing one). Get the SUPABASE_URL and
26
26
  Run the migrations using the CLI:
27
27
 
28
28
  ```bash
29
- npx @autoship init
29
+ npx @autoship/react init
30
30
  ```
31
31
 
32
32
  The CLI will prompt you for credentials. You can provide them in two ways:
@@ -35,20 +35,20 @@ The CLI will prompt you for credentials. You can provide them in two ways:
35
35
 
36
36
  ```bash
37
37
  # Find this in Supabase Dashboard > Project Settings > Database > Connection string > URI
38
- npx @autoship init --database-url "postgresql://postgres.xxx:password@aws-0-region.pooler.supabase.com:6543/postgres"
38
+ npx @autoship/react init --database-url "postgresql://postgres.xxx:password@aws-0-region.pooler.supabase.com:6543/postgres"
39
39
  ```
40
40
 
41
41
  **Option B: Supabase URL + Database Password**
42
42
 
43
43
  ```bash
44
- npx @autoship init --supabase-url https://xxx.supabase.co --db-password yourpassword
44
+ npx @autoship/react init --supabase-url https://xxx.supabase.co --db-password yourpassword
45
45
  ```
46
46
 
47
47
  **Using environment variables:**
48
48
 
49
49
  ```bash
50
50
  # Option A
51
- DATABASE_URL="postgresql://..." npx @autoship init
51
+ DATABASE_URL="postgresql://..." npx @autoship/react init
52
52
 
53
53
  # Option B
54
54
  SUPABASE_URL="https://xxx.supabase.co" DB_PASSWORD="yourpassword" npx @autoship/react init
package/dist/cli/init.js CHANGED
@@ -56,7 +56,7 @@ function printHelp() {
56
56
  autoship init - Initialize Autoship database schema
57
57
 
58
58
  Usage:
59
- npx autoship init [options]
59
+ npx @autoship/react init [options]
60
60
 
61
61
  Options:
62
62
  --database-url <url> Full PostgreSQL connection URL (includes password)
@@ -79,16 +79,16 @@ Connection Methods:
79
79
 
80
80
  Examples:
81
81
  # Interactive mode (prompts for credentials)
82
- npx autoship init
82
+ npx @autoship/react init
83
83
 
84
84
  # With full database URL
85
- npx autoship init --database-url "postgresql://postgres.xxx:password@aws-0-region.pooler.supabase.com:6543/postgres"
85
+ npx @autoship/react init --database-url "postgresql://postgres.xxx:password@aws-0-region.pooler.supabase.com:6543/postgres"
86
86
 
87
87
  # With Supabase URL + password
88
- npx autoship init --supabase-url https://xxx.supabase.co --db-password mypassword
88
+ npx @autoship/react init --supabase-url https://xxx.supabase.co --db-password mypassword
89
89
 
90
90
  # Using environment variables
91
- DATABASE_URL="postgresql://..." npx autoship init
91
+ DATABASE_URL="postgresql://..." npx @autoship/react init
92
92
  `);
93
93
  }
94
94
  function createReadlineInterface() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autoship/react",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",