Skip to content

Commit

Permalink
fix: only set bins on pack (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis authored Jun 13, 2022
1 parent 4f4b831 commit 7ae489a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
"url": "https://github.com/nodejs/corepack.git"
},
"license": "MIT",
"bin": {
"corepack": "./dist/corepack.js",
"pnpm": "./dist/pnpm.js",
"pnpx": "./dist/pnpx.js",
"yarn": "./dist/yarn.js",
"yarnpkg": "./dist/yarnpkg.js"
},
"packageManager": "[email protected]",
"devDependencies": {
"@babel/core": "^7.14.3",
Expand Down Expand Up @@ -68,6 +61,13 @@
"LICENSE.md"
],
"publishConfig": {
"bin": {
"corepack": "./dist/corepack.js",
"pnpm": "./dist/pnpm.js",
"pnpx": "./dist/pnpx.js",
"yarn": "./dist/yarn.js",
"yarnpkg": "./dist/yarnpkg.js"
},
"executableFiles": [
"./dist/npm.js",
"./dist/npx.js",
Expand Down
6 changes: 0 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2255,12 +2255,6 @@ __metadata:
webpack: "npm:^5.38.1"
webpack-cli: "npm:^4.0.0"
which: "npm:^2.0.2"
bin:
corepack: ./dist/corepack.js
pnpm: ./dist/pnpm.js
pnpx: ./dist/pnpx.js
yarn: ./dist/yarn.js
yarnpkg: ./dist/yarnpkg.js
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 7ae489a

Please sign in to comment.