Ink: Examples of Usage with Oclif

Created on 25 Oct 2019  路  4Comments  路  Source: vadimdemedes/ink

Are there any examples available where Ink is used with oclif?

Oclif has some magic that happens in development where it looks at pre-build files to determine what commands are. And when using with ts, where you need to use the tsx extension to enable jsx, oclif won't pick up tsx files.

Not anything Ink can fix, just curious if there are any examples. I'd rather not use babel if I can help it :)

question

All 4 comments

Ah, interesting! Thanks for the link @schuchard

@schuchard Oh nice, wasn't aware of it!

@JakeDawkins This sounds like oclif should fix on their end.

In case anyone stumbles upon this in the future, It looks like oclif was having trouble because it was picking up the project's tsconfig.json and merging it with its own internal one (what??). So renaming the config something else was able to unblock this from working. Hopefully we'll have a CLI to show as proof soon! :) For now, just a WIP PR 馃挭 https://github.com/apollographql/apollo-tooling/pull/1697

Was this page helpful?
0 / 5 - 0 ratings

Related issues

treshugart picture treshugart  路  4Comments

gc picture gc  路  6Comments

cometkim picture cometkim  路  3Comments

maticzav picture maticzav  路  6Comments

naholyr picture naholyr  路  3Comments