Extract types into a separate package #38

Merged
merged 1 commit into from Feb 15, 2017

Projects

None yet

1 participant

@wincent
Contributor
wincent commented Feb 15, 2017

This is step one, which creates all the support necessary to publish a new package, "graphql-language-service-types", but doesn't depend on it yet. Once that is published, we'll proceed to step two, which is depending on the published types, and step three, which is figuring out whether we should dive in and embrace Lerna, or do it manually for a while (either way, need to figure out whether we want to run this independently in CI, at what level we want to set up Flow etc).

This commit is a straight copy of "types/Types.js" to "src/index.js" in the new package's directory, plus a new "package.json" and other supporting paraphernalia like a script for creating "*.js.flow" files in the distributed bundle.

@wincent wincent Extract types into a separate package
This is step one, which creates all the support necessary to publish a
new package, "graphql-language-service-types", but doesn't depend on it
yet. Once that is published, we'll proceed to step two, which is
depending on the published types, and step three, which is figuring out
whether we should dive in and embrace Lerna, or do it manually for a
while (either way, need to figure out whether we want to run this
independently in CI, at what level we want to set up Flow etc).

This commit is a straight copy of "types/Types.js" to "src/index.js" in
the new package's directory, plus a new "package.json" and other
supporting paraphernalia like a script for creating "*.js.flow" files in
the distributed bundle.
6892ef6
@wincent wincent merged commit 5c8e655 into graphql:master Feb 15, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@wincent wincent deleted the wincent:glh/types-package branch Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment