From 70b6d833aa1584f8c06080100d9b88d0d88be275 Mon Sep 17 00:00:00 2001 From: MK Date: Thu, 15 Oct 2026 17:30:51 +0800 Subject: [PATCH] chore: upgrade Vite+ to 1.2.0 --- .agents/skills/cnode-docs/SKILL.md | 22 +- .agents/skills/migrate-radix-to-base/SKILL.md | 2 +- .../migrate-radix-to-base/wrapper-shapes.md | 4 +- apps/api/.gitignore | 1 + apps/api/package.json | 2 +- apps/api/test/account-auth-policy.test.ts | 4 +- apps/api/test/telemetry-sanitize.test.ts | 50 +- apps/web/.gitignore | 1 + apps/web/app/components/Sidebar.tsx | 74 +- apps/web/app/components/cnpm/DepsView.tsx | 5 +- apps/web/app/components/cnpm/DownloadCard.tsx | 8 +- apps/web/app/components/cnpm/FilesView.tsx | 15 +- .../web/app/components/cnpm/NpmSearchForm.tsx | 5 +- apps/web/app/components/cnpm/PkgHeader.tsx | 18 +- apps/web/app/components/cnpm/PkgSidebar.tsx | 21 +- apps/web/app/components/cnpm/PkgTabs.tsx | 5 +- apps/web/app/components/cnpm/VersionTable.tsx | 13 +- apps/web/app/components/ui/chart.tsx | 200 +-- apps/web/app/entry.server.tsx | 5 +- apps/web/app/lib/csp-report.ts | 6 +- apps/web/app/lib/registry/client.ts | 9 +- apps/web/app/lib/registry/gravatar.ts | 4 +- apps/web/app/lib/registry/parse.ts | 25 +- apps/web/app/lib/security-headers.ts | 12 +- apps/web/app/routes/_index.tsx | 6 +- apps/web/app/routes/cnpm.pkg.tsx | 31 +- apps/web/app/routes/cnpm.search.tsx | 8 +- apps/web/app/routes/cnpm.tsx | 11 +- apps/web/package.json | 1 - apps/web/public/openapi.json | 1585 ++++------------- .../tests/AccountActivationRecovery.test.tsx | 4 +- apps/web/tests/CnpmRegistry.test.tsx | 13 +- apps/web/tests/CspReport.test.ts | 4 +- apps/web/tests/SecurityDeployment.test.ts | 5 +- apps/web/tests/SecurityHeaders.test.ts | 19 +- apps/web/tests/TopicActions.test.tsx | 5 +- apps/web/tests/TopicReplySorting.test.tsx | 116 +- apps/web/tests/registry-parse.test.ts | 24 +- docs/arch/design-system.md | 20 +- docs/deployment/scripts/smoke-web-security.ts | 11 +- .../proposal.md | 2 + .../specs/cnpm-registry-browser/spec.md | 29 + .../design.md | 16 +- .../specs/test-data-services/spec.md | 19 + .../design.md | 14 +- .../specs/application-tracing/spec.md | 21 + .../specs/telemetry-pipeline/spec.md | 13 + .../specs/database-inspection-access/spec.md | 6 + .../specs/openobserve-compose-service/spec.md | 10 + .../harden-web-security-headers/design.md | 34 +- .../specs/web-response-security/spec.md | 24 + .../upgrade-vite-plus-v1/.openspec.yaml | 2 + .../changes/upgrade-vite-plus-v1/design.md | 34 + .../changes/upgrade-vite-plus-v1/proposal.md | 31 + .../specs/vite-plus-toolchain/spec.md | 28 + .../changes/upgrade-vite-plus-v1/tasks.md | 12 + .../specs/application-logs-metrics/spec.md | 3 + openspec/specs/application-tracing/spec.md | 21 + openspec/specs/auth/spec.md | 2 + .../specs/container-image-delivery/spec.md | 6 + .../specs/database-inspection-access/spec.md | 6 + openspec/specs/messaging/spec.md | 2 + .../specs/openobserve-compose-service/spec.md | 10 + .../production-deployment-governance/spec.md | 5 + openspec/specs/production-ops/spec.md | 6 + openspec/specs/telemetry-pipeline/spec.md | 16 + openspec/specs/web-ui-state/spec.md | 2 + pnpm-lock.yaml | 1323 +++++++------- pnpm-workspace.yaml | 10 +- 69 files changed, 1774 insertions(+), 2307 deletions(-) create mode 100644 apps/api/.gitignore create mode 100644 apps/web/.gitignore create mode 100644 openspec/changes/upgrade-vite-plus-v1/.openspec.yaml create mode 100644 openspec/changes/upgrade-vite-plus-v1/design.md create mode 100644 openspec/changes/upgrade-vite-plus-v1/proposal.md create mode 100644 openspec/changes/upgrade-vite-plus-v1/specs/vite-plus-toolchain/spec.md create mode 100644 openspec/changes/upgrade-vite-plus-v1/tasks.md diff --git a/.agents/skills/cnode-docs/SKILL.md b/.agents/skills/cnode-docs/SKILL.md index b437f11..9e5c28e 100644 --- a/.agents/skills/cnode-docs/SKILL.md +++ b/.agents/skills/cnode-docs/SKILL.md @@ -9,17 +9,17 @@ Keep repository documentation concise, current, safe, and owned by one source. ## Choose The Owner -| Content | Location | -| --- | --- | -| Generated API reference asset | `apps/web/public/openapi.json` | -| Runtime, data, and design-system architecture | `docs/arch/` | -| Business rules, community governance, and legacy knowledge | `docs/biz/` | -| Deployment guide, example configuration, Compose, and operator helpers | `docs/deployment/` | -| Project overview | `README.md` | -| Agent boundaries and skill triggers | `AGENTS.md` | -| Contributor workflow | `CONTRIBUTING.md` | -| Vulnerability reporting | `SECURITY.md` | -| App-specific setup and commands | `apps/*/README.md` | +| Content | Location | +| ---------------------------------------------------------------------- | ------------------------------ | +| Generated API reference asset | `apps/web/public/openapi.json` | +| Runtime, data, and design-system architecture | `docs/arch/` | +| Business rules, community governance, and legacy knowledge | `docs/biz/` | +| Deployment guide, example configuration, Compose, and operator helpers | `docs/deployment/` | +| Project overview | `README.md` | +| Agent boundaries and skill triggers | `AGENTS.md` | +| Contributor workflow | `CONTRIBUTING.md` | +| Vulnerability reporting | `SECURITY.md` | +| App-specific setup and commands | `apps/*/README.md` | Do not create `README.md` or `index.md` inside `docs/`. Do not recreate top-level `wiki/`, `api/`, or `deployment/` documentation domains. diff --git a/.agents/skills/migrate-radix-to-base/SKILL.md b/.agents/skills/migrate-radix-to-base/SKILL.md index cc173ce..3984fb7 100644 --- a/.agents/skills/migrate-radix-to-base/SKILL.md +++ b/.agents/skills/migrate-radix-to-base/SKILL.md @@ -42,7 +42,7 @@ transforming, and record gaps in the report. fetch base variants directly by URL instead (`https://ui.shadcn.com/r/styles/base-