mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-02 17:53:30 +00:00
* [AAE-45695] Group @typescript-eslint/* packages in dependabot @typescript-eslint/parser and @typescript-eslint/eslint-plugin must be bumped together (matching versions) due to a peer-dependency between them. Grouping all @typescript-eslint/* packages ensures Dependabot updates them in lock-step instead of opening separate PRs that fail npm ci with a peer-dep conflict. Co-authored-by: Cursor <cursoragent@cursor.com> * [ci:force] AAE-45695 Bump @typescript-eslint/parser and eslint-plugin to 8.59.3 Bump both packages together (peer-dep requires matching versions) to unblock the Dependabot bump that was previously failing. --------- Co-authored-by: Cursor <cursoragent@cursor.com>
76 lines
1.8 KiB
JSON
76 lines
1.8 KiB
JSON
{
|
|
"name": "cli",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "lib/cli",
|
|
"projectType": "library",
|
|
"prefix": "adf",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": ["{workspaceRoot}/dist/libs/cli"],
|
|
"dependsOn": ["installDeps"],
|
|
"options": {
|
|
"command": "cd lib/cli && npm run dist"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "lib/cli/tsconfig.json"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"bundle": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"commands": [
|
|
{
|
|
"command": "echo cli bundle created"
|
|
}
|
|
]
|
|
},
|
|
"dependsOn": ["copyToNodeModules"]
|
|
},
|
|
"copyToNodeModules": {
|
|
"executor": "nx:run-commands",
|
|
"cache": false,
|
|
"options": {
|
|
"commands": [
|
|
{
|
|
"command": "rm -rf ./node_modules/@alfresco/adf-cli/ && mkdir -p ./node_modules/@alfresco/adf-cli/ && cp -R ./dist/libs/cli/* ./node_modules/@alfresco/adf-cli/"
|
|
}
|
|
]
|
|
},
|
|
"dependsOn": ["installDeps", "build"]
|
|
},
|
|
"installDeps": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"commands": [
|
|
{
|
|
"command": "cd lib/cli && npm i"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"options": {
|
|
"lintFilePatterns": ["lib/cli/**/*.ts", "lib/cli/**/*.html"]
|
|
}
|
|
},
|
|
"npm-publish": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": ["build"],
|
|
"options": {
|
|
"cwd": "dist/libs/cli",
|
|
"commands": [
|
|
{
|
|
"command": "npm publish --tag {args.tag}",
|
|
"forwardAllArgs": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|