Skip to content

Commit

Permalink
export Photon wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jul 17, 2019
1 parent e82a3de commit fe68776
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 36 deletions.
8 changes: 4 additions & 4 deletions cli/prisma2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"version": "30a33bde5b1d9f79e0a48491749528da76002e24"
},
"devDependencies": {
"@prisma/cli": "^0.0.29",
"@prisma/cli": "^0.0.32",
"@prisma/fetch-engine": "^0.0.38",
"@prisma/introspection": "0.0.39",
"@prisma/lift": "^0.0.133",
"@prisma/photon": "^0.0.155",
"@prisma/introspection": "0.0.41",
"@prisma/lift": "0.0.142",
"@prisma/photon": "^0.0.159",
"@sentry/node": "5",
"@types/mocha": "^5.2.7",
"@zeit/ncc": "^0.18.5",
Expand Down
2 changes: 1 addition & 1 deletion cli/prisma2/scripts/copy-runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cp -R node_modules/@prisma/photon/runtime/* runtime
cp -R node_modules/nexus-prisma/nexus_prisma_ncc_build/* nexus_prisma_ncc_build
# cp -R node_modules/prisma-test-utils/prisma-test-utils_ncc/* prisma-test-utils_ncc
cp node_modules/@prisma/lift/dist/GeneratorWorker.js build/GeneratorWorker.js
cp -R node_modules/@prisma/studio-server/public/* build/public
cp -R node_modules/@prisma/studio/build/* build/public
rm -rf build/public/static/js/*.map
rm -rf build/public1/static/js/*.map
rm -rf build/prisma
Expand Down
1 change: 1 addition & 0 deletions cli/prisma2/src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { predefinedGenerators } from './generators'
import { Generate } from './Generate'
import chalk from 'chalk'
import { capture } from './capture'
export {Photon} from '@prisma/studio-transports'

/**
* Main function
Expand Down
65 changes: 34 additions & 31 deletions cli/prisma2/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -308,19 +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.25":
version "0.0.25"
resolved "https://registry.yarnpkg.com/@prisma/cli/-/cli-0.0.25.tgz#bc5b1f7a7dbb3d7316f9274da66c018c85510130"
integrity sha512-dwGc7Q5M1GMfv8ZbfNWbpI29HxJH7hpFGt+YTFpj3/T+DJzk8okTMmvNEuXQ2tHF1G2DgQDgsdtbUXnFnWymBg==
dependencies:
arg "^4.1.0"
chalk "^2.4.2"
strip-indent "^3.0.0"

"@prisma/cli@^0.0.29":
version "0.0.29"
resolved "https://registry.yarnpkg.com/@prisma/cli/-/cli-0.0.29.tgz#985b673aa1ad8b68618fe518e8829318b6431d12"
integrity sha512-QORr0eeviMEEYl4iTIhxdEI95Q3GDzG34KoK9wYP2NkA78X7LqkQ1dAQ0p3B37Sq5c4rY9VWwS3HYD/N+/2knQ==
"@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==
dependencies:
arg "^4.1.0"
chalk "^2.4.2"
Expand Down Expand Up @@ -367,10 +358,10 @@
p-retry "^4.1.0"
progress "^2.0.3"

"@prisma/introspection@0.0.39":
version "0.0.39"
resolved "https://registry.yarnpkg.com/@prisma/introspection/-/introspection-0.0.39.tgz#dff5e314150d0fe6a447452d49289d312846df8f"
integrity sha512-tUX3IO9dHTEag40REComc5HUYazJh29ufnm0gwteS4gRj/823uyhLcRhaMrYrqpmVTL2n82qyQHW4AFp2RD0NA==
"@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==
dependencies:
ajv "^6.10.0"
chalk "^2.4.2"
Expand All @@ -393,13 +384,13 @@
tar "^4.4.10"
tmp "^0.1.0"

"@prisma/lift@^0.0.133":
version "0.0.133"
resolved "https://registry.yarnpkg.com/@prisma/lift/-/lift-0.0.133.tgz#41d6c8f6ad9362c236ef13407d7c952e526e1a61"
integrity sha512-Vs39HgGZbp3kf6Mr2R7J0NtQZFwcCdUT6unjOi4BVM2QebE1xUlJfCDc9ncSmvaXjT0JUrFBjydLGjBAK6h/oQ==
"@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==
dependencies:
"@prisma/fetch-engine" "^0.0.24"
"@prisma/studio-server" "^0.0.34"
"@prisma/studio-server" "^0.10.0"
"@types/execa" "^0.9.0"
arg "^4.1.0"
array-flat-polyfill "^1.0.1"
Expand Down Expand Up @@ -441,13 +432,13 @@
dependencies:
tslib "^1.9.3"

"@prisma/photon@^0.0.155":
version "0.0.155"
resolved "https://registry.yarnpkg.com/@prisma/photon/-/photon-0.0.155.tgz#c2db3f385c0a4220d110f9df4498c28b1161896e"
integrity sha512-K0crANxmaG6BijKNRiGIr+dDkCKmvbf5auv6vX8tv3XVvRFuz6ziPrfkKjQkPNt4agLAQeuoz1O1p6DterZC7A==
"@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==
dependencies:
"@apexearth/copy" "^1.4.2"
"@prisma/cli" "0.0.25"
"@prisma/cli" "0.0.32"
"@prisma/engine-core" "0.0.67"
"@prisma/fetch-engine" "^0.0.38"
chalk "^2.4.2"
Expand All @@ -469,14 +460,26 @@
terminal-link "^1.3.0"
wtfnode "0.8.0"

"@prisma/studio-server@^0.0.34":
version "0.0.34"
resolved "https://registry.yarnpkg.com/@prisma/studio-server/-/studio-server-0.0.34.tgz#54bd68bb731c1100dd842fd2efebf5ef49112e73"
integrity sha512-6EmmD80gc0mgAaqW71xmp2c+cGyVloGuPQakZ4PEXw3BVxCdYsIJR6sP/5kI14fLbXUagT6C7HE3V79PYVtaOA==
"@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==
dependencies:
"@prisma/studio" "^0.10.0"
"@prisma/studio-transports" "^0.10.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@^0.10.0":
version "0.10.0"
resolved "https://registry.yarnpkg.com/@prisma/studio/-/studio-0.10.0.tgz#045c60c0f88321152be7b1aa415e07f0c7fdabb6"
integrity sha512-wM/DHnPnkKRMALCyiHBkT4CmRL29dEvSut095HL45lJLshVOtP7lhEPoau1edqZUSirLuqZvAnjQ3lfnVJZRyQ==

"@sentry/core@5.5.0":
version "5.5.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-5.5.0.tgz#574fdc9228c8b4a909c0140eb0d8b098175c0f47"
Expand Down

0 comments on commit fe68776

Please sign in to comment.