Skip to content

v10.2.0 "Phil"

Compare
Choose a tag to compare
@illepic illepic released this 25 Oct 19:41

Particle v10.2.0 "Phil" is out!

The main goal of v10.2.0 was to bring the "multi-design-system" architecture to the folder and configuration structure. This means that below source/ should be folders containing totally self-sufficient design systems. You get one out of the box: source/default/. Note the config at the root of source/default/, especially namespaces.js. Each design system now not only provides its own twig, sass, and js files, it also informs any consuming apps/ about its "namespaces". These namespaces (just a name like "atoms" and a path where "atoms" live) are shared between webpack and jest, as well as understood by Drupal, Grav, and Pattern Lab!

Other notable changes:

  • Babel and Jest config is handled by dynamic babel|jest.config.js files instead of passive .rc (JSON) files.
  • twig-lint dependency is moved to root composer.json
  • npm run setup not composer installs at root
  • dist/ is now separated out by app. There is no longer a single dump of assets, but per-app folders.
  • The Drupal app now checks if the Component Libraries module is installed and informs the user to install it
  • All webpack has been updated to use defined app/design-system names dynamically
  • gulp config now depends entirely on being passed a config.js file. This makes gulp tasks dynamic per app, allowing multiple Pattern Labs to run in a single Particle
  • pa11y tests by default now automatically read the Pattern Lab json an test ALL Pattern Lab urls.
  • Lots of cleanup, formatting, dependency updates