detect repository in package.json
See original GitHub issueIn the current implementation, repo
is a required option. We could attempt to look for it in a package.json
file, and parse it using github-url-to-object or similar. I would be in favor of looking for the package.json
in the process.cwd()
or similar, and failing fast if it’s not there, rather than trying to move up the directory tree in search of another package.json
file.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
package.json - npm Docs
This helps people discover your package, as it's listed in npm search . ... the git repo is on GitHub, then the npm...
Read more >Search for GitHub repos which have certain package.json ...
I can get all repos which use next-mdx-enhanced by visiting next-mdx-enhanced repo and clicking on Used by xxx i.e. dependency graph. Similar ...
Read more >The Basics of Package.json - NodeSource
The repository property. The repository property of a package.json is an array that defines where the source code for the module lives.
Read more >package.json Quick Start Guide | phoenixNAP KB
Learn how the package.json file lets you automatically manage various Node.js package metadata, such as project dependencies in this guide.
Read more >find-package-json - npm Package Health Analysis - Snyk
Find package.json files in parent directories, keep finding until you find the right one using iterators. For more information about how to use...
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 FreeTop 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
Top GitHub Comments
My explanation was a rather complicated way of saying that when the app gets packaged,
app
becomes the root 😆🎉 This issue has been resolved in version 1.1.1 🎉
The release is available on:
Your semantic-release bot 📦🚀