17f93c2b7e
* chore: add build-spec targets and execute on affected apps and libs on CI * chore: fix market-depth and react-helpers specs typings * chore: fix ui-toolkit specs typings * chore: fix trades specs typings * chore: fix orders specs typings * chore: fix deposits specs typings * chore: fix deal-ticket specs typings * feat: fix tsc on specs check * feat: fix tsc on specs check * feat: fix tsc on specs check * feat: fix tsc on specs check * feat: fix tsc on specs check - fix token app * feat: fix tsc on specs check - fix positions lib * feat: fix tsc on specs check - fix environment lib * chore: fix failling build-spec in positions lib Co-authored-by: maciek <maciek@vegaprotocol.io>
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/network-stats/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/web:rollup",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/network-stats",
|
|
"tsConfig": "libs/network-stats/tsconfig.lib.json",
|
|
"project": "libs/network-stats/package.json",
|
|
"entryFile": "libs/network-stats/src/index.ts",
|
|
"external": ["react/jsx-runtime"],
|
|
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
|
|
"compiler": "babel",
|
|
"assets": [
|
|
{
|
|
"glob": "libs/network-stats/README.md",
|
|
"input": ".",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/network-stats/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/network-stats"],
|
|
"options": {
|
|
"jestConfig": "libs/network-stats/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"build-spec": {
|
|
"executor": "@nrwl/workspace:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"command": "yarn tsc --project ./libs/network-stats/tsconfig.spec.json"
|
|
}
|
|
}
|
|
}
|
|
}
|