mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-02 17:53:30 +00:00
Demonstration revert PR to check whether PRs #11880 and #11899 caused the recent ADF release failures. The PR pipeline result will indicate whether reverting the `cli:build` dependsOn edge (#11880) and the `--omit=prod` install command (#11899) is sufficient to restore green CI. Reverts the relevant pieces of: - #11880 (e3430ae36e): removes `dependsOn: ["installDeps"]` from `cli:build`, and reverts the @typescript-eslint bump from 8.59.3 back to 8.57.2 / 8.41.0 in package.json + package-lock.json. The dependabot `@typescript-eslint/*` grouping config is kept. - #11899 (4044fafc39): restores the `cli:installDeps` command back to plain `cd lib/cli && npm i` (the `--omit=prod` value is not a valid npm flag). Not intended for merge. Co-authored-by: Cursor <cursoragent@cursor.com>
75 lines
1.8 KiB
JSON
75 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"],
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|