Join the conversation
Join Slack
Channels
graphql-nexus
job-board
madewithprisma
mongodb
orm-help
prisma-client
prisma-data-platform
prisma-go-community
prisma-in-production
prisma-jobs
prisma-migrate
prisma-studio
prisma-whats-new
prisma1-community
prismaday
prismaserverless
product-wishlist
random
Powered by Linen
Title
s
stephenhandley
10/01/2017, 1:18 AM
are there any docs available for how the npm environment is specified for graphcool functions. i'm just looking at the pusher module example here:
https://github.com/graphcool/modules/blob/master/messaging/pusher/src/triggerPusherEvent.js
it does
require('pusher')
and wondering if I write my own modules and have npm deps, where do I specify them?
ah just seeing this says `all npm modules are available for import`:
https://docs-next.graph.cool/reference/functions/runtime-environment-lah7reidae
what's the plan for specifying module versions?
a
agartha
10/01/2017, 8:41 AM
Afaik, current plan is to move to a package.json (like webtask) to specify exact dep versions.
👍
1