diff --git a/bin/index.mjs b/bin/index.mjs new file mode 100755 index 0000000..75eacce --- /dev/null +++ b/bin/index.mjs @@ -0,0 +1,3 @@ +#!/usr/bin/env node + +import '../dist/bin/index.mjs' diff --git a/package.json b/package.json index 3dac3ac..845494f 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,11 @@ "main": "./dist/module.cjs", "types": "./dist/types.d.ts", "files": [ - "dist" + "dist", + "template", + "bin" ], - "bin": "./dist/bin/index.mjs", + "bin": "./bin/index.mjs", "scripts": { "prepack": "nuxt-module-build build", "dev": "nuxi dev playground", diff --git a/yarn.lock b/yarn.lock index 586dfb1..bd1c3eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1844,7 +1844,7 @@ __metadata: vitest: "npm:^2.0.5" vue-tsc: "npm:^2.0.26" bin: - nuxt-proxy-party: ./dist/bin/index.mjs + nuxt-proxy-party: ./bin/index.mjs languageName: unknown linkType: soft