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>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/smart-contracts/src",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/js:tsc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/smart-contracts",
|
|
"main": "libs/smart-contracts/src/index.ts",
|
|
"tsConfig": "libs/smart-contracts/tsconfig.lib.json",
|
|
"assets": ["libs/smart-contracts/*.md"]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/smart-contracts/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/smart-contracts"],
|
|
"options": {
|
|
"jestConfig": "libs/smart-contracts/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"build-spec": {
|
|
"executor": "@nrwl/workspace:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"command": "yarn tsc --project ./libs/smart-contracts/tsconfig.spec.json"
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|