Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replace old lerna commands with npm workspaces
Remove support of EOL NodeJS versions (10, 12 and 14) and add new LTS ones (18, 20 and 22)
Remove support of no longer maintained LTS versions of NodeJS.
Note that NodeJS 16 should also be added but we can wait a bit just in case some users are still using it.
Replace no longer maintained
npm-check
withnpm-check-updates
npm-check seems to no longer be maintained:
I propose to replace it with npm-check-updates which:
npm-check
with additional options like peer dependency checking.New
deps
script will run:ncu -i --format group --install always --peer
with:-i
: for interactive prompt in terminal--format group
: to group dependencies by level (path, minor, major)--install always
: to runnpm install
right after update selection--peer
: to check for peer constraint before updating a packageIn addition,
npm audit fix
is automatically run afternpm run deps
as a post script:npm run postdeps
Improve readme to mention basic commands
Add readme notes that explain how to run npm script on whole repository or a specific package.
First pass to audit and upgrade old dependencies
Run basic npm audit on all packages to upgrade
patch
level dependenciesImprove mongoose tests
Add automated tests for mongoose 7 and 8. Requires #395 to be merged prior
Harmonize test commands
Update name of npm scripts related to tests to be the same across packages:
npm run test
: to run all tests of a packagenpm run test:coverage
: to run all tests of a package with coveragenpm run test:watch
: to run all tests of a package and watch for modificationnpm run test:unit
: to run all unit tests of a packagenpm run test:integration
: to run all integration tests of a package