Skip to content

Typescript support v2 topic pq #57

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

Merged
merged 2 commits into from
Feb 27, 2019

Conversation

vabruzzo
Copy link
Contributor

No description provided.

@@ -53,7 +53,7 @@ function handler(config, err, stats) {
console.log('Compiling relay queries...');
const relayCompiler = spawn(
path.resolve('./node_modules/.bin/relay-compiler'),
relayCompilerArguments,
relayCompilerArguments.concat('--watchman', 'false'),
Copy link
Contributor Author

@vabruzzo vabruzzo Feb 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relay annoyingly now throws an error instead of a warning if watchman isnt on PATH, prevent that during builds

@@ -33,5 +33,5 @@ module.exports = [
'--artifactDirectory',
'src/__generated__',

process.env.PERSIST_QUERIES ? '--persist' : '',
process.env.PERSIST_QUERIES ? '--persist --persist-output' : '',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the official relay persisted queries code didnt change much, except for this. passing both for now to support older projects using the forked version (we should make tickets to update those projects soon)

@vabruzzo vabruzzo merged commit e19abb4 into typescript-support Feb 27, 2019
@tomconroy tomconroy deleted the typescript-support-v2-topic-pq branch February 27, 2019 21:16
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