-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat(js): added a minimal option to the library generator #13561
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
}, | ||
outputs: ['{options.outputPath}'], | ||
}); | ||
describe('--buildable', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following test are not changed. The desribe('--buildable', () => {
block was nested into the describe('--unit-test-runner jest', () => {
which was wrong I think. I removed the nesting.
14ed585
to
9ee8476
Compare
1c0d90e
to
0469ab2
Compare
0469ab2
to
627ea96
Compare
627ea96
to
d260b7c
Compare
Hi @Phillip9587 can we rename the option to Happy to review again once updated, or we can add this flag in another PR. |
d260b7c
to
47a8551
Compare
47a8551
to
7701e6b
Compare
@jaysoo Updated it. Can you review it please? |
CI Failure is not related to this PR i think. |
7701e6b
to
fae909b
Compare
(cherry picked from commit 8c1d035)
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
When generating libraries i have no option to skip the generation of the
README.md
file. I have to delete the file by hand if I don't want it.When generating buildable libraries a entry is added to the
assets
array of the build target. I have to delete that manually to if I want a cleanproject.json
/workspace.json
without unnecessary entries.These often unnecessary generated READMEs add extra vertical space to a opened lib.
Expected Behavior
I set the
includeReadme
flag tofalse
when generating libs and end up with a lib without aREADME.md
and without aassets
property in the build targets options when generating a buildable lib.includeReadme
defaults totrue
so nothing has changed when not specifing this option.I just implemented it for the
@nrwl/js:library
generator but I am willing to submit follow-up PRs if this gets merged.