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>
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"name": "@probo/trust",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --port 5174",
|
|
"build": "tsc -b && vite build",
|
|
"check": "tsc --noEmit -p tsconfig.app.json",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^5.0.1",
|
|
"@probo/helpers": "1.0.0",
|
|
"@probo/hooks": "1.0.0",
|
|
"@probo/i18n": "1.0.0",
|
|
"@probo/routes": "^1.0.0",
|
|
"@probo/ui": "1.0.0",
|
|
"clsx": "^2.1.1",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"react-error-boundary": "^6.0.0",
|
|
"react-hook-form": "^7.56.4",
|
|
"react-pdf": "^10.3.0",
|
|
"react-relay": "^21.0.1",
|
|
"react-router": "^8.0.0",
|
|
"relay-runtime": "^21.0.1",
|
|
"usehooks-ts": "^3.1.1",
|
|
"zod": "^3.25.71"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.29.0",
|
|
"@probo/eslint-plugin-relay-types": "^1.0.0",
|
|
"@rolldown/plugin-babel": "^0.2.3",
|
|
"@tailwindcss/vite": "^4.3.1",
|
|
"@types/babel__core": "^7.20.5",
|
|
"@types/node": "^24",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.2",
|
|
"babel-plugin-relay": "^21.0.1",
|
|
"graphql": "^17.0.1",
|
|
"tailwindcss": "^4.3.1",
|
|
"typescript": "~6.0.3",
|
|
"vite": "^8.0.16"
|
|
},
|
|
"volta": {
|
|
"node": "24.4.0"
|
|
}
|
|
}
|