diff --git a/.tangled/workflows/lint.yml b/.tangled/workflows/lint.yml index b5c13b5..65fd802 100644 --- a/.tangled/workflows/lint.yml +++ b/.tangled/workflows/lint.yml @@ -12,13 +12,12 @@ dependencies: nixpkgs: - bun - biome + - findutils steps: - name: "Install dependencies" command: "bun install" - - name: "List biome directories" - command: "find /tangled/workspace/node_modules/.bun/ -name '*biome*'" - name: "Lint check" - command: "cd packages/cli && bun run biome lint ." + command: "cd packages/cli && npm run lint:check" - name: "Format check" - command: "cd packages/cli && bun run biome format ." + command: "cd packages/cli && npm run format:check" diff --git a/packages/cli/package.json b/packages/cli/package.json index 6a51920..adbd2fc 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -16,7 +16,9 @@ }, "scripts": { "lint": "biome lint --write", + "lint:check": "biome lint", "format": "biome format --write", + "format:check": "biome format", "build": "bun build src/index.ts --target node --outdir dist --sourcemap && mkdir -p dist/components && cp src/components/*.js dist/components/", "test": "bun test", "dev": "bun run build && bun link",