Skip to content

chore: remove JS code generated from protos #81

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

Merged
merged 1 commit into from
Jul 28, 2020
Merged

Conversation

jamaljsr
Copy link
Member

@jamaljsr jamaljsr commented Jul 24, 2020

The JS/TS code generated by protoc from the *.proto files do not need to be stored in the repo. They can be generated after cloning locally. This PR removes the generated files and updates the build-protos.sh script to fix a small typing error.

To test:

  • delete the /app/src/types/generated/ dir
  • run cd app; yarn protos to generate the JS/TS files
  • confirm no errors are displayed and new files are in /app/src/types/generated/
  • run yarn lint; yarn tsc; yarn test:ci
  • confirm no errors

@jamaljsr jamaljsr force-pushed the proto-cleanup branch 3 times, most recently from 2abd118 to 67c9acb Compare July 24, 2020 20:37
@jamaljsr jamaljsr requested a review from guggero July 24, 2020 21:35
@jamaljsr jamaljsr linked an issue Jul 25, 2020 that may be closed by this pull request
Copy link
Member

@guggero guggero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice cleanup!

@guggero guggero merged commit cf85207 into master Jul 28, 2020
@guggero guggero deleted the proto-cleanup branch July 28, 2020 08:51
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.

Improve our usage of GRPC proto files
2 participants