This is the monorepo for all Gatsby packages related to Municipio.
All packages are inside the /packages
directory
A Gatsby theme for a basic setup of Municipio. It's dependent on
@whitespace/gatbsy-theme-wordpress-basic
which handles the sourcing from Wordpress and provides some basic components and
layout. The @municipio/gatsby-theme-basic
package adds components for the core
Modularity modules.
A Gatsby theme adapted for intranets. It comes with more opinionated layout and styling as well as an SSO integration with Wordpress.
The /examples
directory contains demo apps. In this case, they are actually
submodules linking to the two Gatsby starters – one for each theme.
If your want to make a pull request, fork the repo and create a branch based on
main
but the name must start with feature/
. Commit messages should follow
Conventional Commits. Publishing is done
via Lerna.
- Install Lerna globally:
npm install --global lerna
- Make sure you have the latest version of the
main
branch or if you are making a patch release for an older minor version, use that branch, e.g.1.4.x
. - Run
lerna publish --force
. The--force
ensures that all packages are released with the new version number even if they haven’t changed. - Make sure the version numbers are correct before you continue