Skip to content

chore(website): bump @conduction/docusaurus-preset to ^2.10.2 - #70

Merged
rubenvdlinde merged 1 commit into
mainfrom
chore/website-preset-bump-2-10-2
May 14, 2026
Merged

chore(website): bump @conduction/docusaurus-preset to ^2.10.2#70
rubenvdlinde merged 1 commit into
mainfrom
chore/website-preset-bump-2-10-2

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #69. Bumps the preset from ^2.6.1 to ^2.10.2 so the docs site picks up:

  • <cn-arch-flow> and <cn-pair> as published subpath exports (@conduction/docusaurus-preset/diagrams/cn-arch-flow, /diagrams/cn-pair)
  • App Builder hex always KNVB orange (the conditional has-badge cobalt fallback in the platform diagram was reverted preset-side in 2.10.2)
  • 2.7.x..2.10.x: clickable platform-diagram items, expanded apps registry, version pill on <DetailHero>, navbar logo useBaseUrl fix, footer "Conduction ♥ Nextcloud" citation, partner/academy cross-link refinements

What changes here

  • website/package.json: dep bump
  • website/src/diagrams/index.js: registration collapses from import './cn-arch-flow.js' to import '@conduction/docusaurus-preset/diagrams/cn-arch-flow'
  • website/src/diagrams/cn-arch-flow.js: deleted (was a stopgap copy during the preset version bump)

Test plan

  • npm install --legacy-peer-deps clean
  • npm run start boots, no console errors
  • Spec-Driven Development page: cn-arch-flow rows under "Claude Code" upgrade to shadow-rooted custom elements
  • Hydra README page: cn-arch-flow rows under "How it works" upgrade
  • npm run build (will run on CI via merge)

Brings in cn-pair, cn-arch-flow, and the App Builder hex orange fix.
Drops the local website/src/diagrams/cn-arch-flow.js stopgap copy that
was committed alongside PR #69 before the preset version bump.

Site-wide cn-arch-flow registration now lives in one line:

  import '@conduction/docusaurus-preset/diagrams/cn-arch-flow';

(in website/src/diagrams/index.js, side-effect-imported via the
clientModules entry in docusaurus.config.js — no per-page imports
needed in MDX/Markdown).

Verified locally: cn-arch-flow upgrades to a shadow-rooted custom
element on the Spec-Driven Development and Hydra pages, no console
errors, no missing-module warnings.
@rubenvdlinde
rubenvdlinde merged commit 98156bd into main May 14, 2026
4 checks passed
@rubenvdlinde
rubenvdlinde deleted the chore/website-preset-bump-2-10-2 branch May 14, 2026 05:10
rubenvdlinde added a commit that referenced this pull request Jul 26, 2026
* ci(quality): --ignore-npm-errors on cyclonedx SBOM step (#70)

* ci(quality): install app deps before enabling app in the phpunit job

The phpunit matrix job ran 'php occ app:enable <app>' inside 'Install Nextcloud'
BEFORE the separate 'Install app dependencies' composer step. Enabling an app
runs its install-scope repair steps, which autowire services with eager
constructors (e.g. OpenRegister's SaveObject does 'new Twig\Environment(...)').
Without vendor/ present that fatals with an uncaught \Error — NC core only
catches \Exception — killing the step ('Class Twig\Extension\AbstractExtension
not found'). The newman/playwright/journeydoc jobs already composer-install
before enabling; this makes the phpunit job consistent.

---------

Co-authored-by: rubenvdlinde <rubenvdlinde@noreply.codeberg.org>
Co-authored-by: Conduction Release Bot <release-bot@conduction.nl>
rubenvdlinde added a commit that referenced this pull request Jul 26, 2026
* ci(quality): --ignore-npm-errors on cyclonedx SBOM step (#70)

* ci(quality): install app deps before enabling app (phpunit job) (#71)

* ci(quality): --omit=dev on the SBOM job's npm audit

The SBOM job ran 'npm audit --audit-level=critical' WITHOUT --omit=dev, so it
gated on dev-only build-tooling criticals (e.g. tar via node-gyp/cacache) that
never ship in the app bundle — it had been red on those regardless. The
dedicated 'Security (npm)' job already uses --audit-level=critical --omit=dev;
make the SBOM job consistent so both gate only on production-dependency
criticals.

---------

Co-authored-by: rubenvdlinde <rubenvdlinde@noreply.codeberg.org>
Co-authored-by: Conduction Release Bot <release-bot@conduction.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant