Repository navigation
Conversation
…to devDependencies
|
I just went through the file and found that jsdom, csslint, htmlhint, jshint can also be moved to devDependencies (yeah, I rechecked they are used, my bad) |
|
Hey @yugalkaushik thanks for reviewing, also csslint, htmlhint, and jshint are actively used at runtime to lint user code in the editor, not test tooling. jsdom is the same. Moving those would break prod. |
|
Hey @raclim pls take a look, when get time thanks |
|
@raclim can you look at this? |
|
ptal @doradocodes |
|
Hi @avinxshKD thanks for this! Make sure to use the npm version for this repo by running |
clairep94
left a comment
There was a problem hiding this comment.
As mentioned we'll need to regenerate the lock file
As an aside, maintainers should add a pre-commit hook or a CI check to flag when lock files are expected to be changed but have not been
cc: @doradocodes, see comment re: lack of check for lockfile changes |
Fixes #3937
sinon, sinon-mongoose, jest-express, and mongodb-memory-server were sitting in dependencies instead of devDependencies, meaning they get pulled in on every production install for no reason. Moved them where they belong.
Changes:
Moved 4 test-only packages from dependencies to devDependencies in package.json.
I have verified that this pull request:
npm run lint)npm run test)npm run typecheck)developbranch.Fixes #3937