Skip to content

Commit

Permalink
chore(package.json): The engines property imported from Tact
Browse files Browse the repository at this point in the history
  • Loading branch information
jubnzv committed Sep 19, 2024
1 parent e7248b8 commit a6492c3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Adding a mandatory check of "engines" property in package.json
# Works for npm and pnpm. Yarn is strict by default, Bun seems to be that way too.
engine-strict=true
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Moved Souffle bindings to a its own repository https://github.com/nowarp/souffle.js: PR [#120](https://github.com/nowarp/misti/pull/120)
- Refined the CLI interface.
- The `engines` property in `package.json` and its strict checking to ensure minimal required Node.js version is 22 (follows-up changes in Tact).

### Fixed
- Adjust option names in Config and JSONSchema
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,8 @@
}
}
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"engines": {
"node": ">=22.0.0"
}
}

0 comments on commit a6492c3

Please sign in to comment.