7b8d616a9f AAE-50678 Fix: report test coverage to SonarCloud (#12181),
* fix: enable LCOV coverage reporting for SonarCloud

Add lcov reporter to all karma configs, upload coverage artifacts from
unit test matrix jobs, and add a SonarCloud scan job that merges
coverage reports and runs the sonar-scanner with proper LCOV paths.

Co-authored-by: eromano <1030050+eromano@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: pass secrets to unit-test-workflow and set SONAR_HOST_URL for SonarCloud

Co-authored-by: eromano <1030050+eromano@users.noreply.github.com>

* fix: add test outputs to nx.json so NX caches and restores coverage reports

Co-authored-by: eromano <1030050+eromano@users.noreply.github.com>

* test: add unit tests for Chart model to verify coverage reporting

* fix: use find to locate lcov.info in downloaded artifacts for SonarCloud coverage

Co-authored-by: eromano <1030050+eromano@users.noreply.github.com>

* test: add fake file with unit test to verify coverage reporting

Co-authored-by: eromano <1030050+eromano@users.noreply.github.com>

* ci: add full SonarCloud scan workflow on develop push

Co-authored-by: eromano <1030050+eromano@users.noreply.github.com>

* test: remove fake coverage-canary file and its spec

Co-authored-by: eromano <1030050+eromano@users.noreply.github.com>

* fix: replace secrets inherit with explicit SONAR_TOKEN in workflow call

Co-authored-by: eromano <1030050+eromano@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: eromano <1030050+eromano@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-08-19 19:44:15 +02:00
2022-08-25 10:50:30 +01:00
2016-06-29 11:42:48 +01:00

Alfresco Application Development Framework (ADF)

Introduction

See the introduction page in our documentation for an overview of ADF along with links to useful starting points.

Prerequisites

Node: 18.x
NPM: 9.x

Also, check out the tutorial: Creating your first ADF Application for full details on what you may need to install before using ADF.

See also

Installation

This project uses pnpm for package management with built-in supply chain attack protection.

pnpm install            # install all packages
pnpm run add <package>  # add a new package (with security check)

Supply Chain Security

Layer 1: pnpm script blocking

  • All lifecycle scripts (postinstall, etc.) are blocked by default
  • Only trusted packages in pnpm-workspace.yaml can run scripts
  • Protects during pnpm install and pnpm add

Layer 2: Security database check

  • pnpm run add checks packages against OSV and GitHub Advisory databases BEFORE installing
  • Pre-commit hook blocks commits containing known malicious packages

Layer 3: npm blocked

  • Running npm install will fail - enforces pnpm usage

Components

You can find the sources for all ADF components in the lib folder.

Libraries

ADF Libraries list:

Browser Support

All components are supported in the following browsers:

Browser Version
Chrome Latest
Safari Latest
Firefox Latest
Edge Latest
S
Description
Alfresco Angular Components
Readme
776 MiB
Languages
TypeScript 91.9%
HTML 4.3%
SCSS 1.9%
JavaScript 1%
C 0.7%
Other 0.2%