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

Moved @types definitions to dev dependencies #631

Merged
merged 2 commits into from
Nov 14, 2018

Conversation

danilobuerger
Copy link
Contributor

(Hopefully) fixes #574

@jbaxleyiii
Copy link
Contributor

@danilobuerger we've setup this repo to be run with typescript project references so can you update this PR to move those dev deps to the root package.json? Thanks so much!

@danilobuerger
Copy link
Contributor Author

@jbaxleyiii those deps are already in the dev dependencies of the root package.json

@jbaxleyiii
Copy link
Contributor

@danilobuerger could you rebase this on master?

@danilobuerger
Copy link
Contributor Author

@jbaxleyiii rebased.

@jbaxleyiii jbaxleyiii merged commit 8169dc1 into apollographql:master Nov 14, 2018
trevor-scheer added a commit that referenced this pull request Nov 15, 2018
This reverts commit 8169dc1.

Reason: @oclif/dev-cli depends on a devDependencies object to exist
during publish. It also looks specifically for a typescript field to
make decisions. See: https://github.com/oclif/dev-cli/blob/master/src/commands/readme.ts#L199

Currently our publish depends on this behavior, so going to restore
it for now.
@trevor-scheer
Copy link
Member

For posterity, this is reverted here: 3663143

Reason for revert is described in the revert commit. Any issues, let me know @danilobuerger.

@danilobuerger
Copy link
Contributor Author

@trevor-scheer Thats fine with me, I just wanted the @types/... packages removed (which still are).

@danilobuerger danilobuerger deleted the types branch November 15, 2018 08:49
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.

Cannot use with React Native / Typescript
3 participants