React: Unknown option: '--publishable'
See original GitHub issuePrerequisites
- I am running the latest version
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
- I’m reporting the issue to the correct repository (not related to Angular, AngularCLI or any dependency)
Expected Behavior
When --publishable
is appended to the React library-generation schematic, a publishable React library should be created.
Current Behavior
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
ng g @nrwl/react:lib some-library-name --publishable
Context
Please provide any relevant information about your setup:
- @nrwl/nx 8.1.2
- @nrwl/react 8.1.2
- @nrwl/web 8.1.2
- @nrwl/cypress 8.1.2
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Webpack / Babel / React build error: "Unknown option
I'm trying to build a project with webpack and react with this webpack config: var ...
Read more >Publish React components as an npm package | by JB
This article will review how to publish React components as an npm package with Babel 7 (the latest version at the time of...
Read more >nrwl-nx/community - Gitter
Hey folks I'm having issues building publishable libraries that depend on other publishable libraries. I found this issue nrwl/nx#602 and read it through...
Read more >How To Set Up a React Project With Parcel - DigitalOcean
In this tutorial, you will set up a React web app with Parcel. ... Up a React Project With Parcel. Published on December...
Read more >Make your react component generic with Typescript - Medium
Sometimes, while developing a ReactJS or React Native component, ... is to add a property with an embracing name and let it receive...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
please note that the
--publishable
option does not work forng g @nrwl/workspace:lib <NAME>
either…@Hotell Hey, no updates yet but soon. I’ve been doing other enhancements for React, and this is on my list for August (this month). So stay tuned!