Skip to content

Commit

Permalink
add dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jul 18, 2019
1 parent 85fab30 commit 4325440
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 37 deletions.
9 changes: 5 additions & 4 deletions cli/prisma2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@
"version": "30a33bde5b1d9f79e0a48491749528da76002e24"
},
"devDependencies": {
"@prisma/cli": "^0.0.32",
"@prisma/cli": "^0.0.33",
"@prisma/fetch-engine": "^0.0.38",
"@prisma/introspection": "0.0.41",
"@prisma/lift": "0.0.142",
"@prisma/photon": "^0.0.159",
"@prisma/introspection": "0.0.42",
"@prisma/lift": "0.0.149",
"@prisma/photon": "^0.0.169",
"@sentry/node": "5",
"@types/mocha": "^5.2.7",
"@zeit/ncc": "^0.18.5",
"dotenv": "^8.0.0",
"jest": "24.8.0",
"mocha": "6.1.4",
"mz": "2.7.0",
Expand Down
4 changes: 3 additions & 1 deletion cli/prisma2/src/bin.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env ts-node
import * as Sentry from '@sentry/node'
import dotenv = require('dotenv')
dotenv.config()

export { byline } from '@prisma/lift'
export { Sentry }
Expand Down Expand Up @@ -27,7 +29,7 @@ import { predefinedGenerators } from './generators'
import { Generate } from './Generate'
import chalk from 'chalk'
import { capture } from './capture'
export {Photon} from '@prisma/studio-transports'
export { Photon } from '@prisma/studio-transports'

/**
* Main function
Expand Down
64 changes: 32 additions & 32 deletions cli/prisma2/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==

"@prisma/cli@0.0.32", "@prisma/cli@^0.0.32":
version "0.0.32"
resolved "https://registry.yarnpkg.com/@prisma/cli/-/cli-0.0.32.tgz#7ccf8d1bff31087e3e0c585d36eca11d40aa2131"
integrity sha512-3Y2Ve2eIlD+OO/ELRBpPlqT2b+2ErrXst5zPKz+JfmRla+fk1VA0EjVHN/YBR41WKrAfKqyYUpP9WjFhsCBCqg==
"@prisma/cli@0.0.33", "@prisma/cli@^0.0.33":
version "0.0.33"
resolved "https://registry.yarnpkg.com/@prisma/cli/-/cli-0.0.33.tgz#29fe23db121e9812ebc6556f529ffcef23037f44"
integrity sha512-NEbk6CaSeweXveQQF4m+mx0w4Tpb6i1bYrstK4ucQOV9TJk9s4ZmWtbqsyiQKDQqV5AqFTFyHU7fvxdolocjSA==
dependencies:
arg "^4.1.0"
chalk "^2.4.2"
Expand Down Expand Up @@ -358,10 +358,10 @@
p-retry "^4.1.0"
progress "^2.0.3"

"@prisma/introspection@0.0.41":
version "0.0.41"
resolved "https://registry.yarnpkg.com/@prisma/introspection/-/introspection-0.0.41.tgz#a35f9f9adf7de286de6a7cd149e6a1a20ff5a67d"
integrity sha512-q8gSu9WcwzrHAnrMCVo1Wj0klmwbniAiNygSHE2D1Z1R3wEqwdr+oJ0kY2k9P3um1crhyqdw5WU2hOtkRju9gw==
"@prisma/introspection@0.0.42":
version "0.0.42"
resolved "https://registry.yarnpkg.com/@prisma/introspection/-/introspection-0.0.42.tgz#d9f8cb0309f62410ccb3c4d26baef61e8a57bea0"
integrity sha512-LYets3hrtAM3HUPl94oQk3mc57IFko9SzTTBUwJkWXbUpwep2YS3Ahmgmu0iffzR4YDhvCSaIj7mazl7P7q4jA==
dependencies:
ajv "^6.10.0"
chalk "^2.4.2"
Expand All @@ -384,13 +384,13 @@
tar "^4.4.10"
tmp "^0.1.0"

"@prisma/lift@0.0.142":
version "0.0.142"
resolved "https://registry.yarnpkg.com/@prisma/lift/-/lift-0.0.142.tgz#48ac4f42ce9eea820b528f23067a0275d8e37fb6"
integrity sha512-2Jc952iS33UpKKY0DtSGiTCAzFG+m1dzXY0oMgSXpQoPKCaFuo7JKWfcfYq1Py87hpy4yC8E8ayXYLBbXPoQXw==
"@prisma/lift@0.0.149":
version "0.0.149"
resolved "https://registry.yarnpkg.com/@prisma/lift/-/lift-0.0.149.tgz#f6528771ff64f9929ab1ce79c543ab507fed31b1"
integrity sha512-MxaCEq/sf1M2eDCnCuVx+jsGx5VcEq+wmbiQly/IvjflZA+V30V7RV5IhoBdidRjcCpVdSbKTF1kbpUNfeUWNQ==
dependencies:
"@prisma/fetch-engine" "^0.0.24"
"@prisma/studio-server" "^0.10.0"
"@prisma/studio-server" "^0.15.0"
"@types/execa" "^0.9.0"
arg "^4.1.0"
array-flat-polyfill "^1.0.1"
Expand Down Expand Up @@ -432,13 +432,13 @@
dependencies:
tslib "^1.9.3"

"@prisma/photon@^0.0.159":
version "0.0.159"
resolved "https://registry.yarnpkg.com/@prisma/photon/-/photon-0.0.159.tgz#c6c30ea927c45c4b145984e4019f49160bb99a0d"
integrity sha512-CLI7w2DDcV/NtvYFmalGByQD3aXGqrbn2rL+nmneqtR+3l/nNirpw4YAV44qZbIh56S9mNIHSfwSMmbZg3X5Zw==
"@prisma/photon@^0.0.169":
version "0.0.169"
resolved "https://registry.yarnpkg.com/@prisma/photon/-/photon-0.0.169.tgz#b8990826b23f4ae24b8f8fa3784be2cf41cf83bf"
integrity sha512-4qp15KZ4ECM0C+F67v+yT27CABmc8Yam2SVu1MGJaFEUf6SLuZfkzYL1Py7qK5IuD4pT6Ggauvlbms3NOVXmJA==
dependencies:
"@apexearth/copy" "^1.4.2"
"@prisma/cli" "0.0.32"
"@prisma/cli" "0.0.33"
"@prisma/engine-core" "0.0.67"
"@prisma/fetch-engine" "^0.0.38"
chalk "^2.4.2"
Expand All @@ -460,25 +460,25 @@
terminal-link "^1.3.0"
wtfnode "0.8.0"

"@prisma/studio-server@^0.10.0":
version "0.10.0"
resolved "https://registry.yarnpkg.com/@prisma/studio-server/-/studio-server-0.10.0.tgz#c0a68eaf1a8a39bc47d5b775767f484a719e391f"
integrity sha512-Voqgp53/4JkpKCLRb+fOZhF/rxtYu1tZOPryCOzp7GsZqj5Hxim63FEtOFdYFWsqq5Ajdz7GiyFs9yITl1nfSQ==
"@prisma/studio-server@^0.15.0":
version "0.15.0"
resolved "https://registry.yarnpkg.com/@prisma/studio-server/-/studio-server-0.15.0.tgz#e2ad152005b6a45d0567f4ccaca6faf85163be47"
integrity sha512-HGW+bYwDyZZBdnWS78MYmWpndIWpx6V+i23xwLPVvjuhQ3lx/Qu+lDj10R1FIKGrFjkB9K1Axdkp2M+O6FvxOA==
dependencies:
"@prisma/studio" "^0.10.0"
"@prisma/studio-transports" "^0.10.0"
"@prisma/studio" "^0.15.0"
"@prisma/studio-transports" "^0.15.0"
express "^4.17.1"
express-ws "^4.0.0"

"@prisma/studio-transports@^0.10.0":
version "0.10.0"
resolved "https://registry.yarnpkg.com/@prisma/studio-transports/-/studio-transports-0.10.0.tgz#2a9ac14e3f17695c3310538cc20e6e4df737e072"
integrity sha512-Nvy/IDRczNw7q2QEqjhUkAJo+S7J+jBUicPpr/9rg/6H83rCgHCeOouCNurOQt/AHaRF9BrrIiLV+/JYnwJ3fw==
"@prisma/studio-transports@^0.15.0":
version "0.15.0"
resolved "https://registry.yarnpkg.com/@prisma/studio-transports/-/studio-transports-0.15.0.tgz#c84cb62c03a7ff69178a380089291130408a6a90"
integrity sha512-mKIIxApvCac0iKzH/T6qOmWei7eh9rtE30F0L7J7sQWanXHBnAdsefLgNXJwPR8AWTovuuXs7O7+HQtWHokIdA==

"@prisma/studio@^0.10.0":
version "0.10.0"
resolved "https://registry.yarnpkg.com/@prisma/studio/-/studio-0.10.0.tgz#045c60c0f88321152be7b1aa415e07f0c7fdabb6"
integrity sha512-wM/DHnPnkKRMALCyiHBkT4CmRL29dEvSut095HL45lJLshVOtP7lhEPoau1edqZUSirLuqZvAnjQ3lfnVJZRyQ==
"@prisma/studio@^0.15.0":
version "0.15.0"
resolved "https://registry.yarnpkg.com/@prisma/studio/-/studio-0.15.0.tgz#d334afd0c24fb4c8836ce533fee1519988f25f05"
integrity sha512-4mn2yrjOy9gXmz0KghsvH8tPCv1Ly8hG9FWdiujUzBCnuyqlcVr4xjGtdSo/mboEd4jd+piOFop/Aj90MMk4FA==

"@sentry/core@5.5.0":
version "5.5.0"
Expand Down

0 comments on commit 4325440

Please sign in to comment.