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

WIP: Refactor TypeScript plugins #1353

Merged
merged 178 commits into from
Mar 14, 2019
Merged

WIP: Refactor TypeScript plugins #1353

merged 178 commits into from
Mar 14, 2019

Conversation

dotansimha
Copy link
Owner

@dotansimha dotansimha commented Feb 25, 2019

Related: #1350

Planned in this PR:

@kamilkisiela
Copy link
Collaborator

kamilkisiela commented Feb 28, 2019

  • Make sure to update packages in gql-gen init

@dotansimha dotansimha force-pushed the refactor/typescript branch 2 times, most recently from 385ecd1 to c6f10ef Compare March 5, 2019 08:54
ardatan and others added 28 commits March 12, 2019 14:43
Tree-shaking / ES Modules support / Live-demo enhancements
# Conflicts:
#	packages/graphql-codegen-testing/package.json
#	packages/plugins/typescript-stencil-apollo/package.json
#	packages/utils/codegen-templates-scripts/package.json
#	yarn.lock
# Conflicts:
#	package.json
#	yarn.lock
update examples
fix issues with enums
- Update graphql-toolkit
- Generate two different bundles; esnext and commonjs
- Remove `esm`, because it has problems with `jest`
…ode-generator into refactor/typescript

# Conflicts:
#	packages/graphql-codegen-cli/package.json
#	packages/plugins/flow-operations/package.json
#	packages/plugins/flow-resolvers/package.json
#	packages/plugins/flow/package.json
#	packages/plugins/fragment-matcher/package.json
#	packages/plugins/introspection/package.json
#	packages/plugins/schema-ast/package.json
#	packages/plugins/time/package.json
#	packages/plugins/typescript-apollo-angular/package.json
#	packages/plugins/typescript-graphql-files-modules/package.json
#	packages/plugins/typescript-mongodb/package.json
#	packages/plugins/typescript-operations/package.json
#	packages/plugins/typescript-react-apollo/package.json
#	packages/plugins/typescript-resolvers/package.json
#	packages/plugins/typescript-stencil-apollo/package.json
#	packages/plugins/typescript/package.json
#	packages/plugins/visitor-plugin-common/package.json
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.
# Conflicts:
#	package.json
#	packages/graphql-codegen-core/package.json
#	yarn.lock
@kamilkisiela kamilkisiela merged commit 645c985 into master Mar 14, 2019
@kamilkisiela kamilkisiela deleted the refactor/typescript branch March 14, 2019 16:34
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