From e1535f352376af756d7f2cb622000ed449234b0f Mon Sep 17 00:00:00 2001 From: systemfsoftware-bot <318394648+systemfsoftware-bot@users.noreply.github.com> Date: Sun, 22 Nov 2026 21:56:59 -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-schema-extensions/package.json | 2 +- packages/hex-schema/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4e83941..a21a227 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-schema-extensions/package.json b/packages/effect-schema-extensions/package.json index 4fa8124..c4e7803 100644 --- a/packages/effect-schema-extensions/package.json +++ b/packages/effect-schema-extensions/package.json @@ -46,7 +46,7 @@ "test": "vitest run", "api:check": "api-extractor-quiet run && api-extractor-quiet run --config api-extractor.hex-schema.json", "api:update": "api-extractor run --local && api-extractor run --local --config api-extractor.hex-schema.json", - "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 ." }, "dependencies": { diff --git a/packages/hex-schema/package.json b/packages/hex-schema/package.json index b212f3b..44c4160 100644 --- a/packages/hex-schema/package.json +++ b/packages/hex-schema/package.json @@ -41,7 +41,7 @@ "test": "vitest run", "api:check": "api-extractor-quiet run", "api:update": "api-extractor run --local", - "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 ." }, "devDependencies": {