Skip to content

blimmer/enforced-package-json-engines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo - Enforced package.json engine versions

This demo repository shows how to enforce the engines property in a package.json file. See also this StackOverflow answer.

In the package.json, we're requiring Node >= 14. Because we have a local .npmrc file with engines-strict=true, running npm install with any Node version earlier than 14 will cause an error:

You can see this configuration working by checking out the GitHub action results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published