diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f174caa..67a9ae5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,6 +4,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/prepare + - run: pnpm build - run: pnpm lint name: Lint diff --git a/index.js b/index.js new file mode 100644 index 0000000..bc26e1c --- /dev/null +++ b/index.js @@ -0,0 +1,2 @@ +#!/usr/bin/env node +import "./lib/index.js"; diff --git a/package.json b/package.json index 040f779..9a2dcf2 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,9 @@ }, "type": "module", "main": "./lib/index.js", - "bin": "./lib/index.js", + "bin": "./index.js", "files": [ + "index.js", "lib/", "package.json", "LICENSE.md",