This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Add tests to compile generated code #275
Merged
Merged
Changes from 31 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
5505044
Add test to compile typescript-yoga template
Weakky e76fb8e
Add tests to compile output of graphqlgen with flow
Weakky 693fd78
Use execFile instead of execFileSync
Weakky f81d73d
fix typescript versions conflict warning
jasonkuhrt 28c83f3
debug: take away flow tests
jasonkuhrt 2e12064
debug: bring back base flow test
jasonkuhrt 6fabb08
Revert "debug: take away flow tests"
jasonkuhrt eedf697
debug: focus on tests that fail to start/finish on ci
jasonkuhrt d8e5e97
debug: jest run in band
jasonkuhrt 0bb0732
debug: maybe there is disk contention
jasonkuhrt 353b212
debug: find minimal fix - do not compile
jasonkuhrt 72d1c20
debug: find minimal fix - do not compile flow
jasonkuhrt a17200f
debug: find minimal fix - do not compile ts
jasonkuhrt 1a38f5e
debug: will removing one flow test suite make it work?
jasonkuhrt 1ac04be
fix: remove disk contention
jasonkuhrt b35ba9f
fix: sub-class error correctly
jasonkuhrt bc46511
debug: is issue specific to flow basic?
jasonkuhrt 6e82d04
debug: only one basic test
jasonkuhrt 310904b
debug: logs
jasonkuhrt 4c9e85d
debug: logs
jasonkuhrt 1602058
debug: force build again
jasonkuhrt 27a455a
put test back into todo
jasonkuhrt 730c7b6
debug: jest verbose
jasonkuhrt bb5ef9c
debug: max-workers flag 2
jasonkuhrt 68d3187
cleanup: remove debug logs
jasonkuhrt 688a86c
chore: refacotr package test scripts
jasonkuhrt 30e7dc5
fix: restore previously failing flow test
jasonkuhrt 0699d08
improvement: nicer flow compile error output
jasonkuhrt 57837be
try: more workers for cci
jasonkuhrt 157fd80
doc
jasonkuhrt 04a1b46
hoist out function
jasonkuhrt 84759be
feedback: use const over let
jasonkuhrt f7d686f
fix: no-license warning
jasonkuhrt 364f869
chore: make test script what developer uses not ci
jasonkuhrt 6b8bfbf
Merge branch 'master' into tests/compile-templates
07d48f2
fix: duplicate package key
jasonkuhrt 902e585
Merge branch 'master' into tests/compile-templates
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
// @flow | ||
|
||
interface Data { | ||
export interface Data { | ||
users: User[]; | ||
} | ||
|
||
interface Context { | ||
export interface Context { | ||
data: Data; | ||
} | ||
|
||
interface User { | ||
export interface User { | ||
id: string; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
interface Data { | ||
export interface Data { | ||
users: User[] | ||
} | ||
|
||
interface Context { | ||
export interface Context { | ||
data: Data | ||
} | ||
|
||
interface User { | ||
export interface User { | ||
id: string | ||
} |
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This module contains bug-fix code in response to the new compilation step we do.