Commit b5c4c00
committed
Refresh web sample and template lockfiles onto a non-vulnerable Vite line
After the bridge DX and test-host fixes, CI was still blocked by the
npm dependency governance gate. The affected sample/template web
workspaces were resolving vulnerable Vite versions in lockfiles even
though the current DX direction expects these workspaces to be safe for
first-run and documentation-driven adoption.
This change lifts the sample/template web apps onto a safe Vite range
and refreshes the corresponding lockfiles so the governance scan sees
a clean high/critical vulnerability surface.
Constraint: Keep the change limited to the governed sample/template web workspaces and their lockfiles so the dependency-governance signal stays precise
Constraint: Preserve the current app-builder DX story without introducing a larger frontend-toolchain migration
Rejected: Downgrade the dependency vulnerability gate | the gate is correctly identifying a real adoption risk in shipped sample/template apps
Rejected: Patch only package.json without refreshing lockfiles | CI audits the resolved dependency graph, not just the declared range
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: When bumping frontend tooling for governed sample/template apps, update both declared ranges and lockfiles together or CI governance will keep failing
Tested: `npm audit --json --audit-level=high` on governed sample web workspaces (no high/critical findings)
Tested: `./build.sh --target DependencyVulnerabilityGovernance` (succeeded)
Tested: `dotnet test tests/Agibuild.Fulora.UnitTests/Agibuild.Fulora.UnitTests.csproj --configuration Release -v minimal` (2177 passed)
Not-tested: Fresh GitHub Actions status for this dependency-governance follow-up until remote CI completes
Related: 95c22d01 parent 95c22d0 commit b5c4c00
16 files changed
Lines changed: 327 additions & 207 deletions
File tree
- samples
- avalonia-ai-chat/AvaloniAiChat.Web
- avalonia-react/AvaloniReact.Web
- avalonia-vue/AvaloniVue.Web
- showcase-todo/ShowcaseTodo.Web
- templates/agibuild-hybrid
- HybridApp.Web.Vite.React
- HybridApp.Web.Vite.Vue
- tests
- Agibuild.Fulora.Integration.Tests
- Agibuild.Fulora.Integration.Tests.Android
- Agibuild.Fulora.Integration.Tests.Browser
- Agibuild.Fulora.Integration.Tests.Desktop
- Agibuild.Fulora.UnitTests
Lines changed: 69 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
0 commit comments