Join Slack
Communities
Powered by
are there any docs available for how the npm envir...
# prisma-whats-new
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?
stephenhandley
10/01/2017, 1:23 AM
ah just seeing this says `all npm modules are available for import`:
https://docs-next.graph.cool/reference/functions/runtime-environment-lah7reidae
stephenhandley
10/01/2017, 1:23 AM
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
3
Views
Open in Slack
Previous
Next