承接 rbg/greenwich-base-theme 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rbg/greenwich-base-theme

最新稳定版本:2023.12.13-10.56

Composer 安装命令:

composer require rbg/greenwich-base-theme

包简介

Mono repo containing packages for various applications and components

README 文档

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,

commandaction
make helpList all commands
make installInstalls the project
make startStarts the drupal component library storybook
make start-greenwichStarts everything you need for drupal development
make generate-componentCreates a component, see below for more information
make watch-storybook-greenwichLoads greenwich design system storybook development task
make watch-theme-greenwichLoads 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-nostylesWatch greenwich theme without any styles being built
make watch-theme-greenwich-juststylesWatch greenwich theme with only styles being build, optionallay provide theme=website\|gcd to just build one theme at a time
make build-storybook-greenwichBuilds greenwich design system storybook
make build-theme-greenwichBuilds greenwich_base for the drupal theme, optionallay provide theme=website\|gcd to just build one theme at a time
make build-theme-greenwich-nostylesBuild greenwich theme without any styles being built
make build-theme-greenwich-juststylesBuild greenwich theme with only styles being build, optionallay provide theme=website\|gcd to just build one theme at a time
make build-greenwich-baseBuilds 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

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-04-11