mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
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>
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
{
|
|
"name": "database",
|
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/shared/database/src",
|
|
"projectType": "library",
|
|
"tags": ["scope:shared", "domain:shared-runtime", "type:data-access"],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/esbuild:esbuild",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/shared/database",
|
|
"main": "libs/shared/database/src/index.ts",
|
|
"tsConfig": "libs/shared/database/tsconfig.lib.json",
|
|
"assets": ["libs/shared/database/*.md"],
|
|
"format": ["cjs"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "libs/shared/database/jest.config.ts",
|
|
"tsConfig": "libs/shared/database/tsconfig.spec.json"
|
|
}
|
|
},
|
|
"lint": {
|
|
"command": "eslint \"libs/shared/database/**/*.ts\""
|
|
}
|
|
}
|
|
}
|