Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

fix(checks): order artifact-backed lint after compilation

morluto0d5033ad12e1
diff --git a/package.json b/package.json
index 57ac5889e..da611da56 100644
--- a/package.json
+++ b/package.json
@@ -102,23 +102,24 @@
"prebuild": "npm run deps:check",
"build": "node scripts/run-exclusive.mjs artifacts turbo run artifacts:skills --force",
"precheck": "npm run deps:check",
- "check": "node scripts/run-exclusive.mjs artifacts turbo run typecheck lint format:check knip metadata:check && npm run verify:architecture-guards",
+ "check": "node scripts/run-exclusive.mjs artifacts turbo run typecheck lint:built format:check knip metadata:check && npm run verify:architecture-guards",
"precheck:fast": "npm run deps:check",
"check:fast": "turbo run typecheck lint --output-logs=errors-only",
"precheck:changed": "npm run deps:check",
"check:changed": "npm run check:fast && npm run test:changed",
"precheck:test": "npm run deps:check",
- "check:test": "node scripts/run-exclusive.mjs artifacts turbo run typecheck lint format:check knip metadata:check test:run",
+ "check:test": "node scripts/run-exclusive.mjs artifacts turbo run typecheck lint:built format:check knip metadata:check test:run",
"precheck:pr": "npm run deps:check",
- "check:pr": "node scripts/run-exclusive.mjs artifacts turbo run typecheck lint format:check knip metadata:check test:run && npm run docs:check && npm run jscpd && npm run scan:todos",
+ "check:pr": "node scripts/run-exclusive.mjs artifacts turbo run typecheck lint:built format:check knip metadata:check test:run && npm run docs:check && npm run jscpd && npm run scan:todos",
"precheck:ci": "npm run deps:check",
- "check:ci": "node scripts/run-exclusive.mjs artifacts turbo run typecheck lint format:check knip metadata:check jscpd scan:todos && npm run verify:architecture-guards",
+ "check:ci": "node scripts/run-exclusive.mjs artifacts turbo run typecheck lint:built format:check knip metadata:check jscpd scan:todos && npm run verify:architecture-guards",
"build:cached": "node scripts/check-dependency-install.mjs && node scripts/run-exclusive.mjs artifacts turbo run artifacts:skills",
"build:termux": "node scripts/run-exclusive.mjs artifacts npm run build:termux:run",
"build:termux:run": "npm run compile:termux && npm run artifacts:skills",
"format": "oxfmt .",
"format:check": "oxfmt --check .",
"lint": "oxlint && npm run verify:module-boundaries",
+ "lint:built": "npm run lint",
"lint:fix": "oxlint --fix && npm run verify:module-boundaries",
"knip": "knip",
"jscpd": "jscpd src/ tests/",
diff --git a/turbo.json b/turbo.json
index a88829261..50bfacfb3 100644
--- a/turbo.json
+++ b/turbo.json
@@ -57,6 +57,19 @@
"vitest.config.ts"
]
},
+ "lint:built": {
+ "dependsOn": ["compile"],
+ "inputs": [
+ ".nvmrc",
+ ".oxlintrc.json",
+ "package.json",
+ "package-lock.json",
+ "scripts/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}",
+ "src/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}",
+ "tests/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}",
+ "vitest.config.ts"
+ ]
+ },
"format:check": {},
"knip": {
"dependsOn": ["compile"],