Skip to main content
Best answer

Is the engine config in package.json matter?


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 ZaneBest 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). 

View original
Did this topic help you find an answer to your question?
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
  • 331 replies
  • 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
  • 13 replies
  • May 6, 2021

Thanks @Zane

Then we are treating it for our internal needs.