fix(pkg): avoid conflicting nuxt binraries (resolves #512)

This commit is contained in:
Pooya Parsa 2021-09-09 09:24:26 +02:00
parent 8324376c7d
commit 35f7f10c43
4 changed files with 3 additions and 9 deletions

View File

@ -6,8 +6,7 @@
"main": "./dist/index.js", "main": "./dist/index.js",
"bin": { "bin": {
"nu": "./bin/nuxi.js", "nu": "./bin/nuxi.js",
"nuxi": "./bin/nuxi.js", "nuxi": "./bin/nuxi.js"
"nuxt": "./bin/nuxi.js"
}, },
"scripts": { "scripts": {
"prepack": "unbuild" "prepack": "unbuild"

View File

@ -6,9 +6,7 @@
"main": "./dist/index.js", "main": "./dist/index.js",
"types": "./types.d.ts", "types": "./types.d.ts",
"bin": { "bin": {
"nu": "./bin/nuxi.js", "nuxt": "./bin/nuxt.js"
"nuxi": "./bin/nuxi.js",
"nuxt": "./bin/nuxi.js"
}, },
"files": [ "files": [
"bin", "bin",

View File

@ -9851,7 +9851,6 @@ fsevents@~2.3.2:
bin: bin:
nu: ./bin/nuxi.js nu: ./bin/nuxi.js
nuxi: ./bin/nuxi.js nuxi: ./bin/nuxi.js
nuxt: ./bin/nuxi.js
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -9963,9 +9962,7 @@ fsevents@~2.3.2:
"@vue/shared": 3.2.10 "@vue/shared": 3.2.10
vue: 3.2.10 vue: 3.2.10
bin: bin:
nu: ./bin/nuxi.js nuxt: ./bin/nuxt.js
nuxi: ./bin/nuxi.js
nuxt: ./bin/nuxi.js
languageName: unknown languageName: unknown
linkType: soft linkType: soft