From 5d17c9809e7b95a15713acde51811ec1e329218d Mon Sep 17 00:00:00 2001 From: systemfsoftware-bot <318394648+systemfsoftware-bot@users.noreply.github.com> Date: Sun, 22 Nov 2026 21:49:35 -0500 Subject: [PATCH] fix(lint): run oxlint through effect-tsgo so the effecttsgo plugin never depends on a node_modules patch Lint scripts ran bare oxlint, which only knows the effecttsgo plugin after the prepare patch has run. A install that skips or loses the patch fails with 'Unknown plugin: effecttsgo'. effect-tsgo oxlint has the plugin built in, and the prepare patch drops --skip-missing so a missing replacement fails loudly. --- package.json | 2 +- packages/effect-daemon-microvm/package.json | 2 +- packages/effect-microsandbox/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 52c5542..2895e2f 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "check:ci": "s=0; pnpm check:static || s=1; turbo --concurrency=${TURBO_CONCURRENCY:-50%} --continue test test:integration || s=1; exit $s", "check:local": "s=0; pnpm check:static || s=1; CONFORMANCE_PROFILE=local VITEST_MAX_WORKERS=${VITEST_MAX_WORKERS:-4} turbo --concurrency=${TURBO_CONCURRENCY:-50%} --continue test || s=1; exit $s", "bootstrap": "sandbox -- pnpm install", - "prepare": "effect-tsgo patch --oxlint --no-typescript --skip-missing" + "prepare": "effect-tsgo patch --oxlint --no-typescript" }, "devDependencies": { "@commitlint/cli": "^21", diff --git a/packages/effect-daemon-microvm/package.json b/packages/effect-daemon-microvm/package.json index df4e895..e699fce 100644 --- a/packages/effect-daemon-microvm/package.json +++ b/packages/effect-daemon-microvm/package.json @@ -41,7 +41,7 @@ "typecheck": "tsc -b", "test": "vitest run --project unit", "mutation": "stryker run", - "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}", + "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; effect-tsgo oxlint . --format=${f:-default}", "attw": "attw --pack .", "api:check": "api-extractor-quiet run", "api:update": "api-extractor run --local", diff --git a/packages/effect-microsandbox/package.json b/packages/effect-microsandbox/package.json index 31046b8..1ca3d52 100644 --- a/packages/effect-microsandbox/package.json +++ b/packages/effect-microsandbox/package.json @@ -42,7 +42,7 @@ "mutation": "stryker run", "smoke": "pnpm exec turbo run smoke:journey --filter=@systemfsoftware/effect-microsandbox", "smoke:journey": "node examples/boot-alpine.ts", - "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}", + "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; effect-tsgo oxlint . --format=${f:-default}", "attw": "attw --pack .", "api:check": "api-extractor-quiet run", "api:update": "api-extractor run --local"