-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotansimha
force-pushed
the
refactor/typescript
branch
from
February 26, 2019 08:36
6bad5f5
to
8b16fa1
Compare
This was referenced Feb 26, 2019
dotansimha
force-pushed
the
refactor/typescript
branch
2 times, most recently
from
February 28, 2019 13:14
0e8eec1
to
b3e9061
Compare
|
dotansimha
force-pushed
the
refactor/typescript
branch
from
March 1, 2019 10:43
b3e9061
to
2249ff4
Compare
kamilkisiela
reviewed
Mar 1, 2019
packages/plugins/typescript-documents/tests/ts-documents.spec.ts
Outdated
Show resolved
Hide resolved
dotansimha
force-pushed
the
refactor/typescript
branch
2 times, most recently
from
March 5, 2019 08:54
385ecd1
to
c6f10ef
Compare
fixed flow package
WIP: typescript-documents
use common resolvers in flow implement typescript-resolvers based on common package
fixes issues with scalars in common package
removed old packages
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.
…ode-generator into refactor/typescript
…ode-generator into refactor/typescript
# Conflicts: # package.json # packages/graphql-codegen-core/package.json # yarn.lock
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related: #1350
Planned in this PR:
Move all common code from
flow
to a common package.Make sure
flow
plugin works.Add the latest changes of
flow
plugin.Create
typescript
package with the same features asflow
package.Write tests for
typescript
package.Move all common code from
flow-documents
to a common package.Make sure
flow-documents
plugin works.Add the latest changes of
flow-documents
plugin.Create
typescript-documents
package with the same features asflow-documents
package.Write tests for
typescript-documents
package.Move all common code from
flow-resolvers
to a common package.Make sure
flow-resolvers
plugin works.Add the latest changes of
flow-resolvers
plugin.Create
typescript-resolvers
package with the same features asflow-resolvers
package.Write tests for
typescript-resolvers
package.Add missing features from previous
typescript
package.Add missing features from previous
typescript-documents
package.Add missing features from previous
typescript-resolvers
package.Add introspection types @kamilkisiela #1400 Include used introspection types in based on documents #1406
Implement
namingConvention
again @kamilkisiela Naming convention + fixed double prefix thing #1407Fix issue with prefix @kamilkisiela Naming convention + fixed double prefix thing #1407
Apply this: Add index signature to IResolvers and IDirectiveResolvers #1357 @ardatan
Refactor
react-apollo
@dotansimhaRefactor
apollo-angular
@dotansimhaApply fix to Flow plugins: FIX: fixed bug with useFlowReadOnlyTypes on Enums #1413 @kamilkisiela
Refactor
typescript-mongo
@dotansimhaRefactor
stencil-apollo
@ardatanRemove Handlebars compiler package from all plugins, and add support for tree shaking. @ardatan
Make sure to update packages in
gql-gen init
@kamilkisielaRename
XXX-documents
toXXX-operations
Move all flatten utils from
core
toplugin-helpers
and cleancore
package. @kamilkisielaDeprecate
buildTemplateContext
andflattenTypes
. @kamilkisielaRepo cleanup
Update README @kamilkisiela
Update docs @kamilkisiela
Write docs about writing plugins with visitor @kamilkisiela
Update examples
Change packages names @dotansimha