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.

Usage with scoped packages?

See original GitHub issue

I have a package named: @scope/core, and when generating the readme, the name of the package in the readme file becomes: scope, not core or @scope/core. How can I get the correct package name in the readme?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
doowbcommented, Jun 18, 2018

@phun-ky and @olstenlarck I had this issue and I thought that I fixed it. I might not have merged a PR or published the change though. I’ll take a look and get it published. It had to do with how the name and alias were normalized.

1reaction
phun-kycommented, Jun 18, 2018

My package.json:

{
  "name": "@guybrusssh/color",
}

My .verb.md:

# {%= name %} v{%= version %}

My generated README.md:

# guybrusssh v0.0.0
Read more comments on GitHub >

github_iconTop Results From Across the Web

scope - npm Docs
Scopes can be associated with a separate registry. This allows you to seamlessly use a mix of packages from the primary npm registry...
Read more >
npm - Understanding Scoped Packages - Nitay Neeman's Blog
Scoped Packages is a way to group related npm packages together, and connect them to each other by a specified “scope”, that acts...
Read more >
14 - How to work with scoped packages | npm Documentation
Scopes are used to group related packages together, and to create a namespace, like a domain, for npm modules. This is explained in...
Read more >
Use npm scopes - Azure Artifacts - Microsoft Learn
A scope allows you to create a package with the same name as other packages created by different users without conflicts. Using scopes,...
Read more >
How to use semantic versioning,work with scoped packages ...
If you want to create a scoped package, you have to simply use a package name that starts with your scope. { "name":...
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