Replace the duplicated per-workspace eslint.config.mjs files in apps/console, apps/trust, packages/ui, and packages/eslint-config with one root eslint.config.mjs that reuses the shared @probo/eslint-config rule sets and scopes them per directory. Linting now runs from the repo root, so pin the type-checked project service root and broaden the import-x resolver to every workspace tsconfig (the #/* aliases live in each app's tsconfig.app.json). Drop the now-redundant per-package lint scripts and lint-only devDeps, and add a root lint script that runs eslint over the four dirs with multithreading restored via --concurrency auto, then lints n8n-node through a direct workspace call. packages/n8n-node keeps its own external preset. Collapse the redundant lint-js -> npm-lint Makefile chain into a single lint-js target and update the make docs accordingly. Signed-off-by: Émile Ré <emile@probo.com>
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"name": "probo",
|
|
"description": "Probo monorepo containing applications and shared packages",
|
|
"engines": {
|
|
"node": "^24.0.0",
|
|
"npm": "^11.8.0"
|
|
},
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*",
|
|
"examples/*"
|
|
],
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"dev": "turbo run dev",
|
|
"lint": "eslint apps/console apps/trust packages/ui packages/eslint-config --concurrency auto && npm -w @probo/n8n-nodes-probo run lint",
|
|
"check": "turbo run check",
|
|
"relay": "relay-compiler"
|
|
},
|
|
"devDependencies": {
|
|
"@probo/eslint-config": "1.0.0",
|
|
"eslint": "^10.5.0",
|
|
"relay-compiler": "^21.0.1",
|
|
"turbo": "^2.9.14"
|
|
},
|
|
"overrides": {
|
|
"brace-expansion": "^5.0.5",
|
|
"minimatch@3": {
|
|
"brace-expansion": "^1.1.11"
|
|
},
|
|
"minimatch@9": "^9.0.9",
|
|
"@langchain/classic": "^1.0.27",
|
|
"langsmith": "^0.5.19",
|
|
"handlebars": "4.7.9",
|
|
"@langchain/community": "^1.1.25",
|
|
"lodash": "^4.18.1",
|
|
"lodash-es": "^4.18.1",
|
|
"axios": "^1.16.0",
|
|
"uuid": "^14.0.0"
|
|
},
|
|
"license": "MIT",
|
|
"packageManager": "npm@11.8.0",
|
|
"dependencies": {
|
|
"react-dom": "^19.2.7"
|
|
}
|
|
}
|