Skip to content

Commit

Permalink
chore(db): 🛂 Use env file from builder for db
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Feb 14, 2022
1 parent b345131 commit 80c15f9
Show file tree
Hide file tree
Showing 5 changed files with 782 additions and 36 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ authenticatedState.json
playwright-report
dist
test-results
**/api/scripts
1 change: 1 addition & 0 deletions apps/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
"eslint-plugin-prettier": "^4.0.0",
"next-transpile-modules": "^9.0.0",
"prettier": "^2.5.1",
"firebase-admin": "^10.0.2",
"typescript": "^4.5.5"
}
}
1 change: 0 additions & 1 deletion packages/db/.env.example

This file was deleted.

19 changes: 10 additions & 9 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@
"name": "db",
"license": "AGPL-3.0-or-later",
"version": "0.1.0",
"main": "./index.tsx",
"types": "./index.tsx",
"main": "./index.ts",
"types": "./index.ts",
"devDependencies": {
"prisma": "^3.8.1",
"ts-node": "^10.4.0",
"prisma": "^3.9.2",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
},
"dependencies": {
"@prisma/client": "^3.8.1"
"@prisma/client": "^3.9.2"
},
"scripts": {
"dev": "dotenv -e .env yarn prisma db push && BROWSER=none yarn prisma studio",
"dev": "dotenv -e ../../apps/builder/.env.local yarn prisma db push && yarn start:sutdio ",
"start:sutdio": "dotenv -e ../../apps/builder/.env.local -v BROWSER=none yarn prisma studio",
"build": "yarn migration:push",
"migration:push": "dotenv -e .env yarn prisma db push",
"migration:create": "dotenv -e .env yarn prisma migrate dev",
"migration:reset": "dotenv -e .env yarn prisma migrate reset"
"migration:push": "dotenv -e ../../apps/builder/.env.local yarn prisma db push",
"migration:create": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate dev",
"migration:reset": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate reset"
}
}
Loading

3 comments on commit 80c15f9

@vercel
Copy link

@vercel vercel bot commented on 80c15f9 Feb 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

viewer-v2 – ./apps/viewer

typebot-viewer.vercel.app
viewer-v2-git-main-typebot-io.vercel.app
viewer-v2-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 80c15f9 Feb 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-git-main-typebot-io.vercel.app
next.typebot.io
builder-v2-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 80c15f9 Feb 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

landing-page-v2 – ./apps/landing-page

landing-page-v2-typebot-io.vercel.app
landing-page-v2-git-main-typebot-io.vercel.app
landing-page-v2-jade.vercel.app

Please sign in to comment.