Skip to content
New issue

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

This project should live in the nxpm/nxpm monorepo #1

Open
beeman opened this issue May 14, 2020 · 1 comment
Open

This project should live in the nxpm/nxpm monorepo #1

beeman opened this issue May 14, 2020 · 1 comment

Comments

@beeman
Copy link
Member

beeman commented May 14, 2020

The cli is built with oclif and I haven't tried running it in an Nx Workspace yet, so in order to ship I created a separate repo.

Ideally it consists of a cli app in the monorepo, and uses the libs for plugins.

@0xdevalias
Copy link

0xdevalias commented Aug 4, 2022

Just stumbled upon this issue/PR/repo via https://nrwl.community/support/2020/07/04/How-would-bNuNRXrV6THrZJM2UPp91g.html and was wondering what state your PR got to in the end, and how much work you feel it would take to get it to a finished version?

How would I get started …
How would I get started if i wanted to create an nx-plugin that adds support for https://oclif.io/|oclif ? oclif: The Open CLI Framework · Create command line tools your users love

Responses:Permalink
If you like you can start looking at some work that I’ve done around it

I built some prototype but never finished it (story of my life 😂 )

https://github.com/nxpm/nxpm/commits/beeman/nx-oclif

It’s in this branch, feel free to use any of it - I’d also happily review and accept a PR if you’re interested in that

I've been recently looking into both oclif and nx for my own side projects, and was hoping there would be an nx plugin that already supported it out of the box. I haven't read through all the code in your PR yet to try and evaluate what state it's in.

In my googling, I also came across this article, which seems to describe using oclif and nx together, though I haven't deeply tried to follow it yet:

It talks about using nx build followed by npm link, so I suspect it's probably not a 'true integration'.


Edit: Also saw that this issue was just opened too:

I've included the results of my deepdive/exploration so far in oclif/oclif#935 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants