Closed CapriciousRebel closed 2 years ago
I would appreciate if anyone could help me out here and confirm if my steps were right, and if they were not, what are the right steps to follow in this case, I would also make a PR to update the readme with the setup instructions
You're right :-) the readme should be for users, not contributors, so it should tell them to run npx repo-report
- the src/index filename predates a lot of code review.
Contributors need to run ./bin/run
. npm start
is only for development, not consumers, and it'd cause some other complications if we tried to use that in dev.
In both cases, a $GH_TOKEN
env var needs to be available (or provided explicitly on the command line)
The following Line in readme asks to run a command that involves
./src/index.js
file, which does not exist in the repository. I used the following steps to try and set up the repository:cd
into itnpm install
to install dependencies:repo
scope.env
file withGH_TOKEN=<mytoken>
./bin/run
Now I am able to get the list of my repos in the terminal, but I ran the binary(actually a nodeJS script) to do this as there was no
src/index.js
file, I feel this must be wrong, or at least there must have been astart
command inpackage.json
which would run the correct file