Skip to content

liquidweb/wme

Folders and files

NameName
Last commit message
Last commit date
Apr 11, 2023
Sep 12, 2023
Dec 20, 2022
Aug 4, 2023
Sep 12, 2023
Jan 6, 2023
Apr 28, 2023
Sep 8, 2022
Sep 8, 2022
Jan 25, 2023
Oct 12, 2022
Nov 15, 2022
Dec 10, 2022
Jan 25, 2023
Jun 30, 2023
Dec 13, 2022
Jan 9, 2023

Repository files navigation

Wordpress Made Easy: Monorepo

This guide allows you to make changes in the monorepo and have them reflected directly in the wme-sitebuilder plugin.

Prerequisites

Get started with local development

Create "watched" development builds and make them available as packages through yalc.

  1. Run pnpm install
  2. Run pnpm dev

Note: If you've built the project in the past and the build is now failing, run pnpm clean:hard , then retry the "get started" steps.

Using monorepo packages for local development

After the dev build has successfully completed, yalc should will have published the following packages for use in other local projects:

@moderntribe/sitebuilder
@moderntribe/storebuilder
@moderntribe/wme-ui

You can now use these packages by running yalc add [package] in the desired project.

See the WME Sitebuilder documentation for more explicit directions.

After these steps, this is the expected pipeline:

  • Make a change in the monorepo
  • A new bundle will be generated in the monorepo
  • Because a new bundle has been generated in the monorepo and it's linked using yalc, a new bundle will be generated in the plugin
  • Reload the page
  • See your change