Skip to content

docs: describe repoplone-native distribution management - #137

Merged
sneridagh merged 2 commits into
mainfrom
docs-distribution-repoplone
Sep 15, 2026
Merged

sneridagh merged 2 commits into
mainfrom
docs-distribution-repoplone

Conversation

@sneridagh

@sneridagh sneridagh commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Summary

Updates the distribution how-to guides to match the workflow now built into repoplone (plone/repoplone#86), which replaces the project-local frontend/scripts/upgrade-distribution.js script and moves the generated enforcement data from the volto.config.js distribution key into a dedicated frontend/distribution.json.

Changes

  • ensure-versions-distribution-projects.md: rewritten. Enforcement is now driven by a generated frontend/distribution.json plus frontend/.pnpmfile.cjs. Explains that RepoPlone auto-detects a distribution via its published volto_version field, and embeds the up-to-date .pnpmfile.cjs and the optional internal-check test (both now reading distribution.json). Removes the upgrade-distribution.js copy step.
  • upgrade-distribution-make-upgrade.md: the make upgrade target now runs uvx repoplone deps upgrade frontend; the "what it does" section describes the distribution.json / mrs.developer.json output and the .pnpmfile.cjs enforcement at install time.
  • upgrade-distribution.md: adds a note that upgrading a distribution frontend also regenerates distribution.json and aligns mrs.developer.json.
  • release.md: documents uvx repoplone deps stamp-volto-version and the .release-it.json after:bump hook that stamps volto_version when releasing a distribution package.

Verification

sphinx-build completes with no new warnings or errors from the edited files (the only warnings are pre-existing external-link ones in index.md).

Follow-up (not in this PR)

The canonical reference files under frontend/scripts/ in this repo (upgrade-distribution.js, .pnpmfile.cjs, internalChecks.test.ts) and kitconcept-core's own frontend still use the old volto.config.js flow; migrating them to distribution.json is a separate change.


📚 Documentation preview 📚: https://kitconcept.core--137.org.readthedocs.build/

Update the distribution how-to guides to reflect the workflow now built
into repoplone, replacing the project-local upgrade-distribution.js script:

- ensure-versions-distribution-projects: enforcement is now driven by a
  generated frontend/distribution.json + .pnpmfile.cjs; embed the new
  pnpmfile and internal-check test contents.
- upgrade-distribution-make-upgrade: the make upgrade target now runs
  'uvx repoplone deps upgrade frontend'; document distribution.json output.
- upgrade-distribution: note the automatic distribution.json regeneration.
- release: document 'uvx repoplone deps stamp-volto-version' and its
  release-it after:bump hook for distribution packages.
@sneridagh
sneridagh merged commit 390b105 into main Sep 15, 2026
11 of 12 checks passed
@sneridagh
sneridagh deleted the docs-distribution-repoplone branch September 15, 2026 16:58
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