From f833628751de5aa95630368f65f3253b03344df9 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 15 May 2024 12:47:08 +0200 Subject: [PATCH] cli: make it executable --- cli/index.mjs | 1 + cli/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/cli/index.mjs b/cli/index.mjs index 1c9912a1..e1bc724f 100755 --- a/cli/index.mjs +++ b/cli/index.mjs @@ -1,3 +1,4 @@ +#!/usr/bin/env node import { defineCommand, runMain } from 'citty' import init from './commands/init.mjs' diff --git a/cli/package.json b/cli/package.json index e08b2ffa..6cb806e8 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,5 +1,6 @@ { "name": "@nuxt/ui-cli", + "type": "module", "exports": { ".": "./index.mjs" },