chore: maintenance
This commit is contained in:
@@ -6,17 +6,23 @@
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nx/js:tsc",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"outputs": [
|
||||
"{options.outputPath}"
|
||||
],
|
||||
"options": {
|
||||
"outputPath": "dist/libs/container",
|
||||
"main": "libs/container/src/index.ts",
|
||||
"tsConfig": "libs/container/tsconfig.lib.json",
|
||||
"assets": ["libs/container/*.md"]
|
||||
"assets": [
|
||||
"libs/container/*.md"
|
||||
]
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/linter:eslint",
|
||||
"outputs": ["{options.outputFile}"],
|
||||
"outputs": [
|
||||
"{options.outputFile}"
|
||||
],
|
||||
"options": {
|
||||
"lintFilePatterns": [
|
||||
"libs/container/**/*.ts",
|
||||
@@ -26,7 +32,9 @@
|
||||
},
|
||||
"test": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"outputs": [
|
||||
"{workspaceRoot}/coverage/{projectRoot}"
|
||||
],
|
||||
"options": {
|
||||
"jestConfig": "libs/container/jest.config.ts",
|
||||
"passWithNoTests": true
|
||||
@@ -37,6 +45,39 @@
|
||||
"codeCoverage": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"storybook": {
|
||||
"executor": "@nx/storybook:storybook",
|
||||
"options": {
|
||||
"port": 4400,
|
||||
"configDir": "libs/container/.storybook"
|
||||
},
|
||||
"configurations": {
|
||||
"ci": {
|
||||
"quiet": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"build-storybook": {
|
||||
"executor": "@nx/storybook:build",
|
||||
"outputs": [
|
||||
"{options.outputDir}"
|
||||
],
|
||||
"options": {
|
||||
"outputDir": "dist/storybook/container",
|
||||
"configDir": "libs/container/.storybook"
|
||||
},
|
||||
"configurations": {
|
||||
"ci": {
|
||||
"quiet": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"test-storybook": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"command": "test-storybook -c libs/container/.storybook --url=http://localhost:4400"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": []
|
||||
|
||||
Reference in New Issue
Block a user