chore: Simplify binary setup (#62)

This commit is contained in:
Aaron
2023-07-21 19:58:57 -05:00
committed by GitHub
parent aea866c9cd
commit 936d83bc08
5 changed files with 6 additions and 12 deletions
+1 -4
View File
@@ -28,10 +28,7 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
run: |
pnpm install --ignore-scripts
pnpm build
pnpm install --ignore-scripts
run: pnpm install
- name: Bump and Tag
run: |
+1 -5
View File
@@ -30,11 +30,7 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
run: |
pnpm install --ignore-scripts
pnpm build
pnpm install --ignore-scripts
cd demo && pnpm wxt prepare
run: pnpm install
- name: Formatting
run: pnpm format:check
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('../dist/cli.cjs');
+2 -1
View File
@@ -26,9 +26,10 @@
},
"license": "MIT",
"files": [
"bin",
"dist"
],
"bin": "dist/cli.cjs",
"bin": "./bin/wxt.cjs",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
-2
View File
@@ -1,5 +1,3 @@
#!/usr/bin/env node
import cac from 'cac';
import { version } from '../../package.json';
import * as commands from './commands';