Repository navigation
Conversation
Coverage no longer waits for the test matrix, so a run finishes sooner. A new "Final result" job waits for lint, test and coverage, writes their results to the run summary, and fails when any of them did not succeed.
A specification 2 repository.toml can now declare the apps its packages are developed in with a [[component]] array, so one repository can hold a Volto site and an Aurora site that share packages. Each package lists the components it is installed in with components. Files without component tables get backend and frontend components derived from their primary packages, and behave as before. - deps info, check, upgrade, sync and constraints, versions dependencies and the frontend changelog copy work per component; make targets are <component>-install. - An Aurora component reads and pins @plone/aurora as a pnpm config dependency, from pnpm-workspace.yaml or the first lockfile document. - settings github-outputs prints components, packages, versions and a dorny/paths-filter filter as GitHub Actions step outputs. - settings migrate --components writes the derived components out. - Two-document pnpm lockfiles are read, a node package at the repository root uses the root as its workspace, and a missing mrs.developer.json no longer fails the version lookup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A specification 2
repository.tomlcan now declare the apps its packages are developed in with a[[component]]array. One repository can then hold, for example, a Volto site and an Aurora site that share packages. Each package lists the components it is installed in withcomponents.A file without component tables gets
backendandfrontendcomponents derived from its primary packages. The settings dump of every existing fixture project is unchanged apart from the newcomponentskey.Changes
deps info,check,upgrade,syncandconstraints,versions dependenciesand the frontend changelog copy work per component. The make targets are<component>-install.node-auroracomponent reads@plone/aurorafromconfigDependenciesinpnpm-workspace.yaml, falling back to the first document ofpnpm-lock.yaml.deps upgrade auroraedits that line in place and keeps its comments.settings github-outputsprintscomponents,packages,<component>-versionand adorny/paths-filterfilter as step outputs.settings migrate --componentswrites the derived components out as tables.repository-v2: a newcomponentdefinition and acomponentskey on packages.path = "."uses the root as its workspace;mrs.developer.jsonno longer fails the version lookup.Behaviour changes to review
frontend_rootreturns the repository root for a package at the root.test_utils_pathnow expects that.primaryandbase_packageon a package have no effect, and repoplone warns about them.settings.backendandsettings.frontendstill report the component versions.CI
A separate commit runs coverage alongside the test matrix. It also adds a "Final result" job that summarizes lint, test and coverage and fails when any of them did not succeed.
Closes #113