chore: rename nu to nuxt-cli

This commit is contained in:
Pooya Parsa 2021-04-04 17:48:19 +02:00
parent afab36ce07
commit 236cb3f7a1
5 changed files with 19 additions and 13 deletions

3
packages/cli/bin/nuxt.js Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env node
require('../dist').main()

View File

@ -1,10 +1,14 @@
{
"name": "@nuxt/nu",
"name": "nuxt-cli",
"version": "0.1.0",
"repository": "nuxt/framework",
"license": "MIT",
"main": "./dist/index.js",
"bin": "./bin/nu.js",
"bin": {
"nu": "./bin/nuxt.js",
"nuxt": "./bin/nuxt.js",
"nuxt-cli": "./bin/nuxt.js"
},
"files": [
"bin",
"dist"

View File

@ -1,3 +0,0 @@
#!/usr/bin/env node
require('..').main()

View File

@ -1830,14 +1830,6 @@ __metadata:
languageName: unknown
linkType: soft
"@nuxt/nu@workspace:packages/nu":
version: 0.0.0-use.local
resolution: "@nuxt/nu@workspace:packages/nu"
bin:
nu: ./bin/nu.js
languageName: unknown
linkType: soft
"@nuxt/un@npm:^0.1.1":
version: 0.1.1
resolution: "@nuxt/un@npm:0.1.1"
@ -10328,6 +10320,16 @@ __metadata:
languageName: node
linkType: hard
"nuxt-cli@workspace:packages/cli":
version: 0.0.0-use.local
resolution: "nuxt-cli@workspace:packages/cli"
bin:
nu: ./bin/nuxt.js
nuxt: ./bin/nuxt.js
nuxt-cli: ./bin/nuxt.js
languageName: unknown
linkType: soft
"nuxt-framework@workspace:.":
version: 0.0.0-use.local
resolution: "nuxt-framework@workspace:."