rbg / greenwich-base-theme
There is no license information available for the latest version (2023.12.13-10.56) of this package.
Mono repo containing packages for various applications and components
2023.12.13-10.56
2023-12-13 10:44 UTC
- dev-main
- 2023.12.13-10.56
- 0.1.3.01
- 0.1.3
- 0.1.3.00
- 0.1.2
- 0.1.1
- 0.1.0
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- dev-feature/speed-up-ci
- dev-test/chromatic-ds-changes
- dev-test/chromatic-drupal-changes
- dev-feature/gitlab-ci-chromatic-only-on-ds-changes
- dev-feature/optimisation-experimentation
- dev-feature/build-fix
- dev-feature/LMW-129-Events-Filters-squashed
- dev-feature/LMW-129-Events-Filters
- dev-bkup/feature/hn-events
- dev-feature/LMW-129-Events-date-filter
- dev-feature/74-cookie-banner
- dev-feature/static_pages
- dev-feature/116-improve-speed-of-webpack-storybook-wingsuit-build
- dev-feature/73-alert-banner
- dev-bug/sl-preview-card
- dev-feature/68-search-box
- dev-bug/pagination
- dev-feature/118-button-states-hn
- dev-feature/118-button-states
- dev-feature/62-service-listings-filters
- dev-feature/58-suggest-an-edit
- dev-feature/extensible-head
- dev-feature/65-search-service
- dev-feature/65-search-service-rebased
- dev-bug/103-list-indentation
- dev-feature/service-views
- dev-feature/87-spike-confirm-process-to-tag-releases-of-base-theme
- dev-feature/composer-package
- dev-feature/61-all-service-listings
- dev-feature/service-details-amends
- dev-feature/57-service-page-finn
- dev-revert-77acd76b
- dev-feature/31-grids
- dev-feature/chromatic_design_system
- dev-feature/move-theme-into-base-theme
- dev-feature/update-drupal-from-design-system
- dev-feature/9-header-styling-amends
- dev-feature/29-menu-horizontal
- dev-feature/28-footer-styling
- dev-feature/-23-typography-scale-tokens-update
- dev-feature/-36-list-token
- dev-feature/26-breadcrumbs
- dev-feature/17-svg-icons
- dev-feature/36-Protons-Inline-List-Styles
- dev-feature/menu-component
- dev-feature/17-icons
- dev-feature/improve-yarn-caching-for-build-times
- dev-feature/9-header-component
- dev-feature/68-delete-frontend-toolkit-2
- dev-feature/import-scss-variables-into-js
- dev-feature/19-tidy-scripts-2
- dev-feature/13-logo-component
- dev-feature/9-header
- dev-feature/9-header-from-main
- dev-feature/test-chromatic
- dev-feature/header
- dev-feature/15-test-component-deploy
- dev-bkup/feature/integrating-frontend-toolkit
- dev-niall/dev
- dev-3-Grid-system-component
- dev-emulsify
- dev-1-deploy-frontend-toolkit-to-browser-for-review
- dev-feature/eleventy_base_path
- dev-feature/listing
- dev-feature/frontend_tooling
This package is not auto-updated.
Last update: 2025-03-05 22:39:36 UTC
README
For further documentation, please see the storybook site, rbgreenwich.gitlab.io/design_system
Getting started
git clone git@gitlab.com:rbgreenwich/greenwich_base.git && cd greenwich_base
# install
make install
# run
make start
Commands
Run make help
to view a list of all the commands,
command | action |
---|---|
make help | List all commands |
make install | Installs the project |
make start | Starts the drupal component library storybook |
make start-greenwich | Starts everything you need for drupal development |
make generate-component | Creates a component, see below for more information |
make watch-storybook-greenwich | Loads greenwich design system storybook development task |
make watch-theme-greenwich | Loads greenwich_base development task to create assets for the drupal theme, optionallay provide theme=website\|gcd to just build one theme at a time |
make watch-theme-greenwich-nostyles | Watch greenwich theme without any styles being built |
make watch-theme-greenwich-juststyles | Watch greenwich theme with only styles being build, optionallay provide theme=website\|gcd to just build one theme at a time |
make build-storybook-greenwich | Builds greenwich design system storybook |
make build-theme-greenwich | Builds greenwich_base for the drupal theme, optionallay provide theme=website\|gcd to just build one theme at a time |
make build-theme-greenwich-nostyles | Build greenwich theme without any styles being built |
make build-theme-greenwich-juststyles | Build greenwich theme with only styles being build, optionallay provide theme=website\|gcd to just build one theme at a time |
make build-greenwich-base | Builds the final artifacts for the drupal theme package |
Troubleshooting
Install/enable yarn
corepack enable
Install NVM
To install NVM follow the instructions here. Its worth noting if you installed node from nodejs.org you may run into issues with nvm.
Don't forget about nvm use
if you run into issues locally.
Running tests
yarn lint
Creating a new component
For more information see below
make generate-component
choose greenwich_component_library
Add as a package to drupal theme
ddev composer config repositories.rbgreenwich composer https://gitlab.com/api/v4/group/rbgreenwich/-/packages/composer/packages.json
ddev composer require rbgreenwich/greenwich_base
TODO
- better testing support and documentation
- [ ] create a custom generator that includes our frontend toolkit setup