mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Aae 0000 change cli build (#10031)
* Changing build for cli * Fixing build and tooling for cli:
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"build": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"command": "cd lib/cli && npm i && npm run dist"
|
||||
"command": "cd lib/cli && npm run dist"
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
@@ -26,7 +26,9 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"dependsOn": ["copyToNodeModules"]
|
||||
"dependsOn": [
|
||||
"copyToNodeModules"
|
||||
]
|
||||
},
|
||||
"copyToNodeModules": {
|
||||
"executor": "nx:run-commands",
|
||||
@@ -37,17 +39,37 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"dependsOn": ["build"]
|
||||
"dependsOn": [
|
||||
"installDeps", "build"
|
||||
]
|
||||
},
|
||||
"installDeps": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "cd lib/cli && npm i"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dependsOn": [
|
||||
"build"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nrwl/linter:eslint",
|
||||
"options": {
|
||||
"lintFilePatterns": ["lib/cli/**/*.ts", "lib/cli/**/*.html"]
|
||||
"lintFilePatterns": [
|
||||
"lib/cli/**/*.ts",
|
||||
"lib/cli/**/*.html"
|
||||
]
|
||||
}
|
||||
},
|
||||
"npm-publish": {
|
||||
"executor": "nx:run-commands",
|
||||
"dependsOn": ["build"],
|
||||
"dependsOn": [
|
||||
"build"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "dist/libs/cli",
|
||||
"commands": [
|
||||
|
Reference in New Issue
Block a user