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>
* [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>
Remove eslint-plugin-prefer-arrow dependency as the only rule from this plugin (prefer-arrow/prefer-arrow-functions) was disabled in all ESLint configurations.
* [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>
* [AAE-45391] - Lazy loading some of the big external libs
* [AAE-45391] - Added some extra units to pdfjs viewer
* [AAE-45391] - Some improement on viewer component
* [AAE-45391] - Fixed the way it was redered to a newer angular system
* [AAE-45391] - Fixed the way it was redered to a newer angular system
* [AAE-45391] - fixed schematic
* [AAE-45391] - Added some docs for the schematics as well
* [AAE-37328] - Fixed comment on missing provider
* AAE-44946 - Sending also previous value to allow valuation and validation
* AAE-44946 - Sending also previous value to allow valuation and validation
* AAE-44749 - Fixed wrong subscribe in test
* AAE-45038 - Fixing logs and unit tests
* Update package dependencies: remove unused 'picomatch' and 'minimatch' modules from package-lock.json, and add specific versions for 'picomatch', 'minimatch', 'path-to-regexp', and 'serialize-javascript' in package.json.
* Upgrade nx and @nx/workspace to fix minimatch vulnerabilities
- Upgrade nx from 22.4.1 to 22.6.3
- Upgrade @nx/workspace from 22.4.5 to 22.6.3
- Remove minimatch override to maintain Karma compatibility
This resolves the high severity minimatch vulnerabilities while
keeping tests functional.
* Refactor nx.json: Consolidate sharedGlobals array and add analytics flag
- Merged multiple lines in the sharedGlobals array for better readability.
- Added an analytics flag set to false for configuration.
* Update package dependencies: bump @nx packages to version 22.6.5 [ci:force]
* Add test specifications for feature flags and user initial pipe [ci:force]
- Introduced new selectors for feature flag components in `features.directive.spec.ts` and `not-features.directive.spec.ts`.
- Added an injectable sanitizer class in `user-initial.pipe.spec.ts` to enhance testing capabilities.
- Created a new log file `out.txt` to capture Karma test execution details and warnings.
* AAE-44184 Colspan setting on form fields is ignored or not properly applied
* AAE-44184 Better handling of empty columns
* AAE-44184 Fixing stale adf-form-field instances
* AAE-44184 Consolidating duplicate code