Files
iptvnator/apps/web-backend/project.json
T
4grayandClaude Fable 5 5dbf205935 fix(lint): quote eslint globs in web-backend and database lint targets (#1177)
The unquoted globs in these two nx:run-commands lint targets are expanded
by the POSIX shell on Linux CI, which matches only a shallow subset of
files, while on Windows the literal pattern reaches ESLint and the full
tree is linted. Quoting the glob (as tools/packaging already does) makes
both platforms lint the same complete file set.

Full-tree lint of both projects passes on Windows, so the widened Linux
coverage introduces no new errors.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 20:50:35 +02:00

51 lines
1.7 KiB
JSON

{
"name": "web-backend",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/web-backend/src",
"tags": ["scope:app", "domain:web", "type:app"],
"targets": {
"build": {
"executor": "@nx/esbuild:esbuild",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/web-backend",
"main": "apps/web-backend/src/main.ts",
"tsConfig": "apps/web-backend/tsconfig.app.json",
"format": ["cjs"],
"platform": "node",
"target": "node22",
"bundle": true,
"thirdParty": true,
"generatePackageJson": true
}
},
"serve": {
"continuous": true,
"executor": "nx:run-commands",
"options": {
"command": "pnpm tsx apps/web-backend/src/main.ts",
"cwd": "{workspaceRoot}",
"color": true,
"env": {
"PORT": "3333",
"CLIENT_URL": "http://localhost:4200",
"BACKEND_URL": "/api",
"IPTVNATOR_PROXY_ALLOW_PRIVATE_NETWORKS": "1",
"TSX_TSCONFIG_PATH": "tsconfig.base.json"
}
}
},
"lint": {
"command": "eslint \"apps/web-backend/**/*.ts\""
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/web-backend/jest.config.ts"
}
}
}
}