Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] man pages are linked to the project at "/Users/wraithgar/Development/npm/cli" #3478

Closed
1 task done
RA80533 opened this issue Jun 28, 2021 · 4 comments · Fixed by npm/read-package-json#102
Closed
1 task done
Assignees
Labels
Bug thing that needs fixing Priority 2 secondary priority issue Release 7.x work is associated with a specific npm 7 release

Comments

@RA80533
Copy link
Contributor

RA80533 commented Jun 28, 2021

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

$ npm view npm man
[
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-access.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-adduser.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-audit.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-bin.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-bugs.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-build.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-bundle.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-cache.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-ci.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-completion.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-config.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-dedupe.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-deprecate.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-diff.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-dist-tag.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-docs.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-doctor.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-edit.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-exec.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-explain.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-explore.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-find-dupes.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-fund.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-help-search.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-help.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-hook.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-init.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-install-ci-test.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-install-test.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-install.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-link.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-logout.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-ls.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-org.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-outdated.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-owner.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-pack.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-ping.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-prefix.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-profile.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-prune.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-publish.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-README.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-rebuild.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-repo.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-restart.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-root.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-run-script.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-search.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-set-script.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-shrinkwrap.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-star.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-stars.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-start.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-stop.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-team.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-test.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-token.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-uninstall.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-unpublish.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-unstar.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-update.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-version.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-view.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm-whoami.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npm.1',
  '/Users/wraithgar/Development/npm/cli/man/man1/npx.1',
  '/Users/wraithgar/Development/npm/cli/man/man5/folders.5',
  '/Users/wraithgar/Development/npm/cli/man/man5/install.5',
  '/Users/wraithgar/Development/npm/cli/man/man5/npm-shrinkwrap-json.5',
  '/Users/wraithgar/Development/npm/cli/man/man5/npmrc.5',
  '/Users/wraithgar/Development/npm/cli/man/man5/package-json.5',
  '/Users/wraithgar/Development/npm/cli/man/man5/package-lock-json.5',
  '/Users/wraithgar/Development/npm/cli/man/man5/package-locks.5',
  '/Users/wraithgar/Development/npm/cli/man/man5/shrinkwrap-json.5',
  '/Users/wraithgar/Development/npm/cli/man/man7/config.7',
  '/Users/wraithgar/Development/npm/cli/man/man7/developers.7',
  '/Users/wraithgar/Development/npm/cli/man/man7/disputes.7',
  '/Users/wraithgar/Development/npm/cli/man/man7/orgs.7',
  '/Users/wraithgar/Development/npm/cli/man/man7/registry.7',
  '/Users/wraithgar/Development/npm/cli/man/man7/removal.7',
  '/Users/wraithgar/Development/npm/cli/man/man7/scope.7',
  '/Users/wraithgar/Development/npm/cli/man/man7/scripts.7',
  '/Users/wraithgar/Development/npm/cli/man/man7/semver.7',
  '/Users/wraithgar/Development/npm/cli/man/man7/workspaces.7'
]

Expected Behavior

They should not be linked to the project folder owned by @wraithgar.

Steps To Reproduce

Run npm view npm man using npm@7 to verify this behavior.

Environment

  • Node: v16.4.0
  • npm: 7.18.1
@RA80533 RA80533 added Bug thing that needs fixing Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release labels Jun 28, 2021
@ljharb
Copy link
Contributor

ljharb commented Jun 28, 2021

See also, npm/npm#17138 and npm/npm#14541 and npm/npm#14293

@RA80533
Copy link
Contributor Author

RA80533 commented Jun 28, 2021

Thanks for linking those.

@wraithgar wraithgar added Priority 2 secondary priority issue and removed Needs Triage needs review for next steps labels Jun 28, 2021
@wraithgar wraithgar self-assigned this Jul 2, 2021
@ljharb
Copy link
Contributor

ljharb commented Aug 23, 2021

See also, npm/npm#14293

@wraithgar
Copy link
Member

wraithgar commented Aug 26, 2021

~/D/n/cli (release-next|✔) $ npm view npm man
[
  'man1/npm-access.1',
  ...
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Priority 2 secondary priority issue Release 7.x work is associated with a specific npm 7 release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants