From ffe280cca2f7156159abf0bb540b3e33ecd01586 Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Mon, 25 May 2026 18:05:10 -0700 Subject: [PATCH] Use npm instead of bun to run scripts As a work around, some similar issues suggest using npm instead of bun. It's the easiest workaround, so this is to see if we can't at least unblock the lint check. --- .tangled/workflows/lint.yml | 7 +++---- packages/cli/package.json | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) 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", -- 2.54.0