boltdesignsystem / bolt

The Bolt Design System provides robust Twig and Web Component-powered UI components, reusable visual styles, and powerful tooling to help developers, designers, and content authors build, maintain, and scale best of class digital experiences.
https://boltdesignsystem.com
MIT License
292 stars 45 forks source link

DS-867 (Part 1 of 2) Remove Image task #2554

Closed danielamorse closed 2 years ago

danielamorse commented 2 years ago

Jira

https://pegadigitalit.atlassian.net/browse/DS-867

Summary

Remove the image task from Bolt.

Details

Part 1 of 2

https://github.com/boltdesignsystem/bolt/pull/2555 is part 2 of 2, where we add the missing images and consolidate the images used in the Pattern Lab demos.

The image task takes a folder of images and creates several resized versions of each and puts them in the www directory. This process is time consuming and relies on Sharp which has been a source of many build errors over the years. It's just not worth it for our docs site.

This PR removes the image task and its dependencies, all references to Bolt image data, and updates snapshots.

There is only one component change, the image component, which removes the reference to Bolt image data. This data is only used in PL and has no effect downstream.

This PR is based on the work done in https://github.com/boltdesignsystem/bolt/pull/2551.

How to test

Release notes