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

Move part of logic into a separate package #1458

Merged
merged 9 commits into from
Mar 14, 2019

Conversation

kamilkisiela
Copy link
Collaborator

@kamilkisiela kamilkisiela commented Mar 14, 2019

I tried to move everything that allows to generate an output and is not related to CLI. It doesn't support multiple outputs but it could be used as a building block to other tools and because of that it's as tiny as possible.

@kamilkisiela kamilkisiela marked this pull request as ready for review March 14, 2019 12:29
@kamilkisiela
Copy link
Collaborator Author

I also used sideEffects: false all package.json files except the one in the CLI (it might break stuff and we don't care that much about the size there).

Also here: ardatan/graphql-toolkit#57

@kamilkisiela kamilkisiela force-pushed the refactor/separate-cli branch from ee93d1c to 45e554f Compare March 14, 2019 15:12
packages/graphql-codegen-cli/package.json Outdated Show resolved Hide resolved
packages/graphql-codegen-cli/package.json Outdated Show resolved Hide resolved
@kamilkisiela kamilkisiela merged commit ec24200 into refactor/typescript Mar 14, 2019
@kamilkisiela kamilkisiela deleted the refactor/separate-cli branch March 14, 2019 15:37
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