From 4884c719672e1438d5c81d9014c106deb1dcfe99 Mon Sep 17 00:00:00 2001 From: systemfsoftware-bot <318394648+systemfsoftware-bot@users.noreply.github.com> Date: Sun, 22 Nov 2026 21:48:15 -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-cluster/package.json | 2 +- packages/effect-daemon-conformance/package.json | 2 +- packages/effect-daemon-process/package.json | 2 +- packages/effect-daemon-socket/package.json | 2 +- packages/effect-daemon-spec/package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 6484d0a..c084a2f 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "check:static": "s=0; ./bin/dprint check || s=1; turbo --concurrency=${TURBO_CONCURRENCY:-50%} --continue build lint typecheck test:types api:check attw || s=1; exit $s", "check:ci": "s=0; pnpm check:static || s=1; turbo --concurrency=${TURBO_CONCURRENCY:-50%} --continue test || 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", - "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-cluster/package.json b/packages/effect-daemon-cluster/package.json index 0a87fd6..d9cb30e 100644 --- a/packages/effect-daemon-cluster/package.json +++ b/packages/effect-daemon-cluster/package.json @@ -40,7 +40,7 @@ "build": "tsdown -l warn && pnpm api:check", "typecheck": "tsc -b", "test": "vitest run --project unit", - "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-daemon-conformance/package.json b/packages/effect-daemon-conformance/package.json index f9d6e95..c71419d 100644 --- a/packages/effect-daemon-conformance/package.json +++ b/packages/effect-daemon-conformance/package.json @@ -40,7 +40,7 @@ "typecheck": "tsc -b", "test": "vitest run --config vitest.config.ts", "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-daemon-process/package.json b/packages/effect-daemon-process/package.json index 7e08024..1812d91 100644 --- a/packages/effect-daemon-process/package.json +++ b/packages/effect-daemon-process/package.json @@ -40,7 +40,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-daemon-socket/package.json b/packages/effect-daemon-socket/package.json index 053f9f3..185c35d 100644 --- a/packages/effect-daemon-socket/package.json +++ b/packages/effect-daemon-socket/package.json @@ -40,7 +40,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-daemon-spec/package.json b/packages/effect-daemon-spec/package.json index c4816c8..6f7aa9b 100644 --- a/packages/effect-daemon-spec/package.json +++ b/packages/effect-daemon-spec/package.json @@ -44,7 +44,7 @@ "test": "vitest run", "test:types": "TSTYCHE_TYPESCRIPT_MODULE=tstyche-typescript tstyche", "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}", "api:check": "api-extractor-quiet run", "api:update": "api-extractor run --local", "attw": "attw --pack ."