Skip to content

Commit

Permalink
docs: Move npx to depman plugin, document pnpx (#1169)
Browse files Browse the repository at this point in the history
* Move npx to depman plugin, document node-gyp and pnpx bins

* deduplicate node-gyp
  • Loading branch information
rotu authored Nov 9, 2023
1 parent aedd139 commit 490f0a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/data/proto-tools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const BUILT_IN_TOOLS: Record<string, ProtoTool> = {
repoUrl: 'https://github.com/moonrepo/go-plugin',
},
node: {
bins: ['node', 'npx'],
bins: ['node'],
description: "Node.js is a JavaScript runtime built on Chrome's V8 engine.",
detectionSources: [
{ file: '.nvmrc', url: 'https://github.com/nvm-sh/nvm' },
Expand All @@ -94,7 +94,7 @@ export const BUILT_IN_TOOLS: Record<string, ProtoTool> = {
repoUrl: 'https://github.com/moonrepo/node-plugin',
},
node_depman: {
bins: ['npm', 'pnpm', 'yarn', 'node-gyp'],
bins: ['npm', 'npx', 'pnpm', 'pnpx', 'yarn', 'node-gyp'],
description: 'proto supports all popular Node.js package managers.',
detectionSources: [{ file: 'package.json', label: 'engines / package manager' }],
globalsDirs: ['~/.proto/tools/node/globals/bin'],
Expand Down

0 comments on commit 490f0a1

Please sign in to comment.