mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
e4f0ccddd76266f5cfc486d860eb6d54f70facdf
Bumps the github-actions group in /.github/actions/setup with 2 updates: [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) and [actions/setup-node](https://github.com/actions/setup-node). Updates `Alfresco/alfresco-build-tools` from 18.13.0 to 18.21.0 - [Release notes](https://github.com/alfresco/alfresco-build-tools/releases) - [Commits](https://github.com/alfresco/alfresco-build-tools/compare/v18.13.0...v18.21.0) Updates `actions/setup-node` from 6 to 7 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v6...v7) --- updated-dependencies: - dependency-name: Alfresco/alfresco-build-tools dependency-version: 18.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[ACS-10100][Security] Remove npx usage from CI/CD and shell scripts to mitigate supply chain risks (#4795)
Alfresco Content Application
Please refer to the public documentation for more details
Requirements
| Name | Version |
|---|---|
| Node.js | 24.x |
| Npm | 11.x |
Compatibility
| ACA | ADF | ACS | Node | Angular |
|---|---|---|---|---|
| 8.0.x | 9.0.0 | 26.x | 24.x | 20.x |
| 7.5.x | 8.5.0 | 26.x | 24.x | 19.x |
| 7.4.x | 8.4.1 | 26.x | 24.x | 19.x |
| 7.3.x | 8.3.1 | 26.x | 24.x | 19.x |
| 7.2.x | 8.2.1 | 23.x, 25.x | 22.x | 19.x |
| 7.1.x | 8.1.1 | 25.2 | 22.x | 19.x |
| 7.0.x | 8.0.0 | 25.2 | 22.x | 19.x |
| 6.0.x | 7.0.0 | 25.1 | 20.x | 17.x |
| 5.3.x | 7.0.0-alpha.7 | 23.4 | 18.x | 16.x |
| 5.2.x | 7.0.0-alpha.6 | 23.4 | 18.x | 16.x |
| 5.1.x | 7.0.0-alpha.3 | 23.3 | 18.x | 15.x |
| 5.0.x | 7.0.0-alpha.2 | 23.3 | 18.x | 15.x |
| 4.4.x | 6.7 | 23.2 | 18.x | 14.x |
| 4.3.x | 6.4 | 23.1 | 18.x | 14.x |
| 4.2.x | 6.3 | 23.1.0-M4 | 18.x | 14.x |
| 4.1.x | 6.2 | 7.4 | 18.x | 14.x |
| 4.0.x | 6.1 | 7.4 | 14.x | 14.x |
| 3.1.x | 5.1 | 7.3 | ||
| 3.0.x | 5.0 | 7.3 |
See https://angular.io/guide/versions for more details on Angular and Node.js compatibility
Running
Create an .env file in the project root folder with the following content
BASE_URL="<URL>"
Where <URL> is the address of the ACS.
Run the following commands:
npm install
npm start
Unit Tests
Use following command to test the projects:
nx test <project>
Code Coverage
The projects are already configured to produce code coverage reports in console and HTML output.
You can view HTML reports in the ./coverage/<project> folder.
When working with unit testing and code coverage improvement, you can run unit tests in the "live reload" mode:
nx test <project> -- --watch
Upon changing unit tests code, you can track the coverage results either in the console output, or by reloading the HTML report in the browser.
Languages
TypeScript
91.1%
SCSS
4.1%
HTML
3.6%
JavaScript
1%
Shell
0.2%