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.

Add /config/addon-docs.js to npmignore automatically

See original GitHub issue

Any ideas what could be causing this.

When running yarn run lint:js in my addon, eslint throws the following error on /config/addon-docs.js:

4:33  error  "ember-cli-addon-docs" is not published  node/no-unpublished-require
  • ember-cli: 3.1.0-beta.1
  • node: 8.9.0
  • os: linux x64
  • ember-cli-addon-docs as a devDependency

error occured on non-beta as well before

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
pzuraqcommented, Mar 15, 2018

@ro0gr I agree that adding it to the .npmignore would be the best way to do this, and as part of the blueprint. Will change the issue name to track that, let’s keep it open for now

1reaction
bravo-kernelcommented, Mar 15, 2018

Wrong button, totally works. Do you folk want me to close the ticket?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue with `no-unpublished-require` and `devDependencies ...
The check is stating out that files are getting published to npmjs.com loading devDependencies via require. So, add all files / folders of...
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