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

Only install frontend production dependencies when making container #227

Merged
merged 2 commits into from
Jun 22, 2021

Conversation

illume
Copy link
Collaborator

@illume illume commented Mar 22, 2021

So that only the required deps to build are installed before building the docker image. Move some deps out of devDependencies because the build depends on them.

Also includes dependency updates:

  • monaco editor
  • storybook
  • react-scripts
  • audit fixes
  • ...

Many(all?) of the unfixable audit issues are related to waiting on a new react-scripts release: facebook/create-react-app#11012

How to use

make image

Testing done

make image works.

frontend/package.json Outdated Show resolved Hide resolved
@illume illume marked this pull request as draft March 22, 2021 21:09
@illume illume marked this pull request as ready for review March 22, 2021 21:25
@illume illume requested a review from ashu8912 March 31, 2021 00:25
@illume illume force-pushed the image-deps branch 2 times, most recently from d0977ee to d1fff7b Compare June 9, 2021 16:23
@illume illume marked this pull request as draft June 9, 2021 16:24
@illume illume marked this pull request as ready for review June 10, 2021 10:44
So that only the required deps to build are installed before
building the docker image.

frontend: Move some deps out of devDependencies because the
build depends on them.

Some dependency updates caused the snapshot changes.

The sagas type updates seem to have a problem with cancelled().
@joaquimrocha joaquimrocha merged commit 9def93c into master Jun 22, 2021
@joaquimrocha joaquimrocha deleted the image-deps branch June 22, 2021 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants