mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
39eba35ffb356a7cd433ad8e407aeb8e626e2d45
Instead of passively reading the Date header from IAM responses (which requires IAM to be reachable and has CORS constraints), the TimeSyncService now makes a lightweight HEAD request to the application's own root URL (served by nginx). This is simpler and more reliable because: - No CORS issues (same origin) - Nginx always includes a Date header - HEAD request has minimal payload (no body) - Works before authentication is established - No dedicated serverTimeUrl configuration needed The DateHeaderTimeSyncInterceptor has been removed as it is no longer needed.
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.yamlcan run scripts - Protects during
pnpm installandpnpm add
Layer 2: Security database check
pnpm run addchecks packages against OSV and GitHub Advisory databases BEFORE installing- Pre-commit hook blocks commits containing known malicious packages
Layer 3: npm blocked
- Running
npm installwill 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 |
Languages
TypeScript
91.9%
HTML
4.3%
SCSS
1.9%
JavaScript
1%
C
0.7%
Other
0.2%