Sasha Firsov · @Suns
18 followers · 210 posts · Server fosstodon.org

It has been tough 3 weeks of conversion the node based app to terminal in browser. The business prefer by if those been open for on-prem deployment and FedRAMP certified or at least certifiable.
Anyway it if satisfying to see as native CLI executable as it's web version.
CC

#oclif #webcontainers #stackblitz #friendos

Last updated 1 year ago

Sasha Firsov · @Suns
14 followers · 145 posts · Server fosstodon.org

`import {MyQueryDocument} from myQuery.graphql` with strict TS checks on @apollo/client `useQuery` and `client.query()` on node app is another challenge beaten this week.

No docs or reference implementation, so have to be inventive on , , config

For curious: the key is to generate `myQuery.graphql.ts` by codegen near-operation-file. works perfect in React app, in
app have to trick with

`import {MyQueryDocument} from myQuery.graphql-generated`

#linter #typescript #codegen #oclif

Last updated 1 year ago

UjuBib · @UjuBib
347 followers · 4509 posts · Server mamot.fr

RT @ukrhq
I wrote another CLI :v

This converts any URL into readable markdown using @Mozilla's readability library.

npmjs.com/package/web2md

#oclif #node #markdown

Last updated 3 years ago