mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
* chore(deps): upgrade Angular to 22.1 and Nx to 23.2 * fix(deps): complete Angular migrations after rebasing on master * fix(ci): use the Node pin for Windows runtime refresh * docs(deps): synchronize the workspace-shell Node requirements
70 lines
2.6 KiB
JSON
70 lines
2.6 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
|
|
},
|
|
"inputs": [
|
|
"default",
|
|
"^default",
|
|
"{workspaceRoot}/pnpm-workspace.yaml",
|
|
{
|
|
"json": "{workspaceRoot}/package.json",
|
|
"fields": [
|
|
"packageManager",
|
|
"pnpm.onlyBuiltDependencies",
|
|
"pnpm.neverBuiltDependencies",
|
|
"pnpm.allowBuilds",
|
|
"pnpm.supportedArchitectures",
|
|
"pnpm.patchedDependencies"
|
|
]
|
|
},
|
|
{
|
|
"runtime": "node -e \"try{console.log('pnpm major '+require('child_process').execSync('pnpm --version',{stdio:['ignore','pipe','ignore']}).toString().trim().split('.')[0])}catch{console.log('pnpm major unavailable')}\""
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|