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>
88 lines
2.6 KiB
JSON
88 lines
2.6 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "apps/multisig-signer/src",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "./tools/executors/webpack:build",
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"compiler": "babel",
|
|
"outputPath": "dist/apps/multisig-signer",
|
|
"index": "apps/multisig-signer/src/index.html",
|
|
"baseHref": "/",
|
|
"main": "apps/multisig-signer/src/main.tsx",
|
|
"polyfills": "apps/multisig-signer/src/polyfills.ts",
|
|
"tsConfig": "apps/multisig-signer/tsconfig.app.json",
|
|
"assets": ["apps/multisig-signer/src/assets"],
|
|
"styles": ["apps/multisig-signer/src/styles.css"],
|
|
"scripts": [],
|
|
"webpackConfig": "apps/multisig-signer/webpack.config.js"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/multisig-signer/src/environments/environment.ts",
|
|
"with": "apps/multisig-signer/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": true,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "./tools/executors/webpack:serve",
|
|
"options": {
|
|
"port": 3000,
|
|
"buildTarget": "multisig-signer:build:development",
|
|
"hmr": true
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "multisig-signer:build:production",
|
|
"hmr": false
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["apps/multisig-signer/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/apps/multisig-signer"],
|
|
"options": {
|
|
"jestConfig": "apps/multisig-signer/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"build-netlify": {
|
|
"executor": "@nrwl/workspace:run-commands",
|
|
"options": {
|
|
"commands": [
|
|
"cp apps/multisig-signer/netlify.toml netlify.toml",
|
|
"nx build multisig-signer"
|
|
]
|
|
}
|
|
},
|
|
"build-spec": {
|
|
"executor": "@nrwl/workspace:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"command": "yarn tsc --project ./apps/multisig-signer/tsconfig.spec.json"
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|