Skip to content

v10.0.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@illepic illepic released this 30 Mar 22:54

Twig is now on the Webpack dependency chain! We have a Yeoman generator for new design system components!

  • Gulp is further deprecated to just running PL build commands, no more active file watching.
  • All webpack files are now split into dev and prod configurations, at the root level and per-app. This means that all apps can use config that best suites active development or production deployment.
  • package.json scripts are now heavily refactored to to utilize these new webpack splits. You'll notice:
    • dev:pl and build:pl
    • dev:drupal and build:drupal
    • dev:grav and build:grav
  • package.json scripts are now used to run simultaneously via npm-run-all, further letting us rely less on Gulp
  • All javascript files can now import .twig files and trigger a PL rebuild and Webpack DevServer browser refresh when those twig files change
  • apps/pl/index.js now imports all source demo folders via a webpack "glob" loader. This keeps the design system and demos system separate.
  • source/design-system.js now includes API functions like componentNames() and enableAllComponents(). Apps have been updated to use these functions instead of manually iterating all components.
  • As many source/_data json files converted to yaml as we can
  • Spinny loader for PL welcome page while Webpack builds
  • PL templates and pages updates and cleanup