Skip to content

Commit

Permalink
remove fetch dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimondev committed Apr 20, 2024
1 parent b19ba8c commit 93fa2c0
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 40 deletions.
7 changes: 7 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vdbs

## 0.0.2

### Patch Changes

- update fetch
14 changes: 8 additions & 6 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "vdbs",
"version": "0.0.1",
"version": "0.0.2",
"description": "Generate migrations from database diagrams",
"license": "MIT",
"keywords": [
"supabase",
"sql",
"database",
"migrations"
"Supabase",
"SQL",
"Database",
"Migrations"
],
"type": "module",
"exports": "./dist/index.js",
Expand Down Expand Up @@ -43,8 +43,10 @@
"commander": "12.0.0",
"execa": "8.0.1",
"glob": "10.3.12",
"node-fetch": "3.3.2",
"ora": "8.0.1",
"prompts": "2.4.2"
},
"engines": {
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/cli/src/utils/get-schema.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import fetch from "node-fetch";
// import fetch from "node-fetch";

const ENDPOINT = `https://vdbs.vercel.app/api/get-generation?code=`;

Expand Down
50 changes: 17 additions & 33 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 93fa2c0

Please sign in to comment.