Skip to content

Conversation

@AlexOnomy
Copy link
Collaborator

This removes the generated types from the git repository, adds them to git ignore and sets up package.json so they will be automatically generated on yarn install.

I have verified that the codegen command creates identical files to what is in the repo so there should be no functional impact to this change.

This change makes it less tempting to edit the generated code directly which would lead to issues later on if we had to regenerate. Better to treat these similar to build artifacts as they are derived from the ABIs that are still included in the repo.

This also cleans up the repo a bit which is always a good thing.

@dzmitryhil
Copy link
Contributor

@AlexOnomy
Copy link
Collaborator Author

Yeah I noticed that, not sure why it would fail as it's working fine locally.

This isn't anything urgent, I'll try again to figure it out later.

@dzmitryhil
Copy link
Contributor

Yeah I noticed that, not sure why it would fail as it's working fine locally.

This isn't anything urgent, I'll try again to figure it out later.

Nope, it is not urgent but if the CI fails, the deployment might be failed as well.

@AlexOnomy
Copy link
Collaborator Author

Yeah to be clear I'm not suggesting we merge this until the CI passes, I'll update title to reflect that.

@AlexOnomy AlexOnomy changed the title Don't included generated code in repo, generate on yarn install DO NOT MERGE YET: Don't included generated code in repo, generate on yarn install Oct 1, 2021
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.

3 participants