setup a build process & tag alpha release on NPM
At the moment I have https://github.com/holo-rea/holo-rea linked with this repo via git submodules, and that's not ideal from a code complexity perspective. The real solution is to treat vf-graphql
as "stable" and start deploying releases that we (and others) can link to idiomatically.
The most awkward part of this is that we want raw *.gql
schema files available for import by other modules, but we also want versions where the schema string is present in memory at interpretation time; so you can do a simple require
and not have to mess around with fs.readFile
and/or webpack loaders. That means we need to release two versions of the source (one as hardcoded strings in nodejs modules, the other as flat source files); which means we have to generate the former from the latter. We want the native authoring format for schemas to be GraphQL, to assist with editor syntax highlighting & code completion.