question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI: Generate compodoc command based on user's setup

See original GitHub issue

According to @LeandroCarolino01 the new angular CLI template is not working out of the box in his project https://github.com/storybookjs/storybook/issues/10869#issuecomment-660639116

[14:50:23] “./tsconfig.base.json” file was not found in the current directory npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! testing-sb@0.0.0 docs:json: compodoc -p ./tsconfig.base.json -e json -d . npm ERR! Exit status 1

We should generate the docs:json command based on the user’s setup rather than hard-coding it to the latest angular-cli. Help wanted @tooppaaa @kroeder @gaetanmaisse

@LeandroCarolino01 can you help kick this off by telling us more about your setup?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
LeandroCarolino01commented, Jul 23, 2020

Thank you so much, it is working fine now.

1reaction
shilmancommented, Jul 21, 2020

Whoopee!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.0.0-rc.13 containing PR #11622 that references this issue. Upgrade today to try it out!

You can find this prerelease on the @next NPM tag.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Options - Compodoc
-c, --config [config], A configuration file : .compodocrc, .compodocrc.json, ... -d, --output [folder], Where to store the generated documentation.
Read more >
compodoc/compodoc - Gitter
Hii I am trying to install Compodoc but after installing the compodoc when I run ... using compodoc "bash: compodoc: command not found"...
Read more >
When i am using compodoc tool to generate documentation ...
json. Move content of that files array into includes array. if that array is empty just remove it. then try running this command....
Read more >
Storybook for Angular 12
Zero-config setup w/ built-in TypeScript support ... information from compodoc to automatically generate controls and documentation based on ...
Read more >
Overview - CLI | NestJS - A progressive Node.js framework
The Nest CLI is a command-line interface tool that helps you to initialize ... Install the CLI globally using the npm install -g...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found