Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(form-v2): add dependabot, run npm audit, move some packages to devDependencies #2313

Merged
merged 4 commits into from
Jul 6, 2021

Conversation

karrui
Copy link
Contributor

@karrui karrui commented Jul 6, 2021

Problem

This PR includes a bunch of housekeeping, such as

  • updating dependabot to also run on form-v2/develop branch.
  • run npm audit and npm update before dependabot opens a bunch of PRs and gives @mantariksh PTSD
  • move most tooling packages to devDependencies
    • this allows us to possibly have an npm audit --production build step in the future to prevent known vulnerabilities from slipping into our releases
  • add cache flag to eslint command in .lintstagedrc (mayyyyyyyyyyybe speed up pre-commit hooks?)

Related to #1904, but does not fully address it.

karrui added 4 commits July 6, 2021 11:15
note that react-scripts is also moved to devDependencies. CRA is a build tool and thus do not truly belong in dependencies.
See their own argument: facebook/create-react-app#11102

this allows npm audit --production to raise any real vulnerabilities
@karrui karrui requested review from mantariksh and tshuli July 6, 2021 03:47
@karrui karrui added the react label Jul 6, 2021
@karrui karrui merged commit a6b579c into form-v2/develop Jul 6, 2021
@karrui karrui deleted the form-v2/dep-updates branch July 6, 2021 06:34
@justynoh justynoh mentioned this pull request Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants