diff --git a/packages/bridge/bin/nuxt.mjs b/packages/bridge/bin/nuxt.mjs new file mode 100755 index 0000000000..7faab34846 --- /dev/null +++ b/packages/bridge/bin/nuxt.mjs @@ -0,0 +1,2 @@ +#!/usr/bin/env node +import 'nuxi/cli' diff --git a/packages/bridge/package.json b/packages/bridge/package.json index af1898d40a..d9d5c6067b 100644 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -11,6 +11,9 @@ "types.d.ts", "dist" ], + "bin": { + "nuxi": "./bin/nuxt.mjs" + }, "scripts": { "prepack": "unbuild" }, diff --git a/yarn.lock b/yarn.lock index 4f7a838541..a661b96b9e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2421,6 +2421,8 @@ __metadata: vue: ^2 vue-router: ^3 vue-template-compiler: ^2.6.14 + bin: + nuxi: ./bin/nuxt.mjs languageName: unknown linkType: soft