We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Needs #10
Users must apply a specific combination of tools and configurations thereof to successfully build their app "the nexus way".
For example:
ts-node
--transpile-only
At a high level:
In Detail
Assume that entrypoint is src/server.ts
src/server.ts
Set environment variable PUMPKINS_TYPEGEN='true'
there should be an entrypoint flag for running typegen
if user provides nexus entrypoint config in package json and user does not pass entrypoint cli flag then use the package json variant
Use the Compiler API to find the user's tsconfig.json and honour it
tsconfig.json
peer dep on typescript, using a range as wide as possible
We may want to use https://github.com/davidtheclark/cosmiconfig
src/schema/index.ts src/schema.ts src/server.ts src/main.ts src/index.ts schema/index.ts schema.ts server.ts main.ts index.ts ERROR (please pass entrypoint)
Some original build design started in #272 (comment) and original cli work began in #275.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Needs #10
Problem
Users must apply a specific combination of tools and configurations thereof to successfully build their app "the nexus way".
For example:
ts-node
ts-node
the right flags (--transpile-only
)Spec
At a high level:
In Detail
Assume that entrypoint is
src/server.ts
Set environment variable PUMPKINS_TYPEGEN='true'
there should be an entrypoint flag for running typegen
if user provides nexus entrypoint config in package json and user does not pass entrypoint cli flag then use the package json variant
Use the Compiler API to find the user's
tsconfig.json
and honour itpeer dep on typescript, using a range as wide as possible
We may want to use https://github.com/davidtheclark/cosmiconfigSome original build design started in #272 (comment) and original cli work began in #275.
The text was updated successfully, but these errors were encountered: