Skip to content

Feature/integrating frontend toolkit

Han requested to merge feature/integrating-frontend-toolkit into main

See the companion PR here: https://gitlab.com/rbgreenwich/gcd/gcd-drupal/-/merge_requests/17

  • Brings in a structure similar to the TPX starter kit and supports multiple themes, design systems and storybooks depending on our future needs
dist/ - compiled assets
src/ - source files - monorepo
   apps/ - storybooks
   design-systems/ - this is where patterns live
   themes/ - drupal themes, wordpress themes etc
  • The code is setup for a future greenwich_design_system but for now the interface refers to things as the drupal_component_library since that is its main use.
  • It is configured and setup to work with chromatic (everyone should have received an invite to login) but to enable auto deployment we will need to connect a gitlab account (see #11 (closed))
  • Linting has been enabled on all merge requests (hence this MR failing!)
  • Various builds are now setup to enable production (or non theme development) deployment of gcd-drupal.
  • Tailwind is now enabled and allowed within the site, it is configured minimally for the greenwich_design_system for now but means we have the option in the future
  • I have purposely left demos and examples in the codebase for quicker development. The TPX starter kit also has a lot of working patterns we will be able to reference for quicker development.

NB: Before merging there are some branches hard coded into the automations that will need to be amended

  • .gitlab-ci.yml - swap debug_rules over to default_rules
Edited by Han

Merge request reports

Loading