Skip to main content
Best answer

Is the engine config in package.json matter?

  • May 5, 2021
  • 2 replies
  • 136 views

Csaba
Forum|alt.badge.img

Hi all, 

 

The package.json "engines" settings are considered on deployment? 

Most of the examples have it. For example, the "OAuth1" Twitter

 

I just realised we have it too, and it is pretty old.

Best answer by Zane

zapier-platform-core is tied to a node version when Zapier runs the project code, so engines isn’t getting used in production (at least for node runtime version - I’d have to do some digging about how/if npm version is handled). 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Forum|alt.badge.img+9
  • Zapier Staff
  • Answer
  • May 5, 2021

zapier-platform-core is tied to a node version when Zapier runs the project code, so engines isn’t getting used in production (at least for node runtime version - I’d have to do some digging about how/if npm version is handled). 


Csaba
Forum|alt.badge.img
  • Author
  • Beginner
  • May 6, 2021

Thanks @Zane

Then we are treating it for our internal needs.