create-pg 0.0.5 → 0.0.6

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.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # Create DB CLI
2
2
 
3
- CLI tool for creating temporary Prisma Postgres databases.
3
+ CLI tool for provisioning a [temporary Prisma Postgres databases](https://www.prisma.io/postgres?utm_source=create_pg_npm_docs).
4
4
 
5
5
  ## Usage
6
6
 
7
7
  ```bash
8
- npx create-db # Default region (us-east-1)
9
- npx create-db --region eu-west-1 # Custom region
10
- npx create-db --i # Interactive region selection
8
+ npx create-pg # Default region (us-east-1)
9
+ npx create-pg --region eu-west-1 # Custom region
10
+ npx create-pg --i # Interactive region selection
11
11
  ```
12
12
 
13
13
  ## Key Files
@@ -30,8 +30,8 @@ CREATE_DB_WORKER_URL="http://127.0.0.1:8787"
30
30
  CLAIM_DB_WORKER_URL="http://127.0.0.1:8787"
31
31
 
32
32
  # PROD
33
- # CREATE_DB_WORKER_URL="https://create-db-worker.raycast-0ef.workers.dev"
34
- # CLAIM_DB_WORKER_URL="https://claim-db-worker.raycast-0ef.workers.dev"
33
+ # CLAIM_DB_WORKER_URL="https://create-db.prisma.io"
34
+ # CREATE_DB_WORKER_URL="https://create-db-temp.prisma.io"
35
35
  ```
36
36
 
37
37
  If running both workers locally, use a different port for one and update the URL:
@@ -44,7 +44,7 @@ CLAIM_DB_WORKER_URL="http://127.0.0.1:8787"
44
44
  ## Test Locally
45
45
 
46
46
  ```bash
47
- npx create-db
48
- npx create-db --region eu-west-1
49
- npx create-db --i
47
+ npx create-pg
48
+ npx create-pg --region eu-west-1
49
+ npx create-pg --i
50
50
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pg",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Instantly create a temporary Prisma Postgres database with one command, then claim and persist it in your Prisma Data Platform project when ready.",
5
5
  "main": "index.js",
6
6
  "author": "",
@@ -25,7 +25,7 @@
25
25
  "create-pg": "./index.js"
26
26
  },
27
27
  "dependencies": {
28
- "create-db": "0.0.5"
28
+ "create-db": "0.0.6"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"