fix(check): make the binary work in dev mode

This commit is contained in:
Princesseuh
2025-10-29 14:59:15 +01:00
parent ab486f30f7
commit b35983bd52
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env node
import path from 'node:path';
import { check, parseArgsAsCheckConfig } from './index.js';
import { check, parseArgsAsCheckConfig } from '../dist/index.js';
const args = parseArgsAsCheckConfig(process.argv.slice(2));

View File

@@ -14,7 +14,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"astro-check": "./dist/bin.js"
"astro-check": "./bin/astro-check.js"
},
"files": [
"bin",