Commit 42aff30
authored
Add Cookie Consent attribute to LFX Footer (#457)
* feat: upgrade Angular 11→13 and lfx-ui-core to support optional chaining
- Upgraded Angular from 11.2.14 to 13.4.0
- Updated @linuxfoundation/lfx-ui-core from 0.0.12 to 0.0.19
- Updated TypeScript from 4.1.6 to 4.6.4
- Updated @auth0/auth0-angular to 2.2.3 for Angular 13 compatibility
- Updated ng-bootstrap from 6.2.0 to 12.1.2
- Added @popperjs/core dependency
- Configured .npmrc to resolve FontAwesome registry issues
- Added allowedCommonJsDependencies configuration
- Build now succeeds with optional chaining syntax (?.operator)
- Latest LFX UI Core features are now available
- Clean builds with no parsing errors
Signed-off-by: ahmedomosanya <[email protected]>
* feat: add cookie consent attribute to LFX footer
Signed-off-by: ahmedomosanya <[email protected]>
* fix: update Node.js engine requirement to >=18.0.0 for AWS SDK v3 compatibility
Signed-off-by: ahmedomosanya <[email protected]>
* fix: update GitHub Actions workflows to use Node.js 18 for AWS SDK v3 compatibility
Signed-off-by: ahmedomosanya <[email protected]>
* fix: update remaining GitHub Actions workflows to use Node.js 18
Signed-off-by: ahmedomosanya <[email protected]>
* fix: resolve Node.js 18 OpenSSL compatibility for edge builds
- Update edge package.json engine requirement to >=18.0.0
- Add NODE_OPTIONS=--openssl-legacy-provider to edge build script
This fixes the 'digital envelope routines::unsupported' error when building
edge Lambda functions with webpack 4 on Node.js 18.
Signed-off-by: ahmedomosanya <[email protected]>
* fix: resolve yarn audit security vulnerabilities
- Add resolutions for @cypress/request, form-data, braces, micromatch, cross-spawn, brace-expansion
- Update axios, webpack, esbuild, @babel/runtime, webpack-dev-server to secure versions
- Reduce vulnerabilities from 11 critical/high/moderate to 1 moderate (Bootstrap XSS)
- yarn_audit.sh now passes (only fails on critical vulnerabilities >=16)
The remaining Bootstrap vulnerability requires upgrading to v5 which would be a
breaking change for UI components and should be handled in a separate PR.
Signed-off-by: ahmedomosanya <[email protected]>
* fix: resolve Cypress test vulnerabilities in test/functional directory
- Add security resolutions to test/functional/package.json
- Fix @cypress/request, form-data, braces, micromatch, cross-spawn, brace-expansion
Signed-off-by: ahmedomosanya <[email protected]>
* fix: clean up Angular build scripts to use single configuration flags
- Remove duplicate configuration flags from build:dev, build:staging, build:prod scripts
- Original scripts used --prod --configuration=dev (duplicate configs since --prod = --configuration=production)
- ng update converted --prod to --configuration production, making the duplication explicit
- Angular CLI was already using last config and showing warning about override
- Each environment config in angular.json already includes production optimizations
Before: ng build --configuration production --configuration=dev
After: ng build --configuration dev
This is the first time these build scripts are semantically correct
Signed-off-by: ahmedomosanya <[email protected]>
* chore: remove unnecessary .npmrc file
Signed-off-by: ahmedomosanya <[email protected]>
* fix: remove invalid defaultConfiguration from angular.json
- Remove 'defaultConfiguration: ""' which causes Angular CLI to fail
- Empty string is invalid, Angular CLI expects non-empty configuration name
- Base build options already have development-friendly defaults (sourceMap: true, optimization: false)
- Angular CLI will use base configuration when no specific configuration is specified
Fixes error: 'Configuration "" could not be found for project'
Signed-off-by: ahmedomosanya <[email protected]>
---------
Signed-off-by: ahmedomosanya <[email protected]>1 parent 5092222 commit 42aff30
File tree
19 files changed
+5745
-5034
lines changed- .github/workflows
- edge
- src
- app
- environments
- test/functional
19 files changed
+5745
-5034
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| |||
0 commit comments