mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-46219 Skip prod deps in cli:installDeps to unblock release (#11899)
* [ci:force] AAE-46219 Remove redundant installDeps dependency from cli build target The build target's installDeps dependency is already covered transitively via bundle -> copyToNodeModules -> installDeps, and the duplicate npm i caused a race condition that broke the ADF release. Co-authored-by: Cursor <cursoragent@cursor.com> * AAE-46219 Skip prod deps in cli:installDeps to unblock release The release workflow rewrites lib/cli/package.json so @alfresco/js-api points at an unpublished build-tagged version, then nx triggers cli:installDeps (cd lib/cli && npm i) which fails ETARGET. tsc only needs the devDependencies (typescript, @types/ejs, @types/node); @alfresco/js-api is resolved via the tsconfig "paths" mapping to dist/libs/js-api, not from node_modules. Adding --omit=prod skips the unresolvable runtime deps without affecting the published package. Also restores the build -> installDeps edge so tsc and npm install do not race in lib/cli/node_modules. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
"options": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "cd lib/cli && npm i"
|
||||
"command": "cd lib/cli && npm i --omit=prod --no-audit --no-fund"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user