uswds / uswds-compile

Simple Gulp 5 functions for copying USWDS static assets and transforming USWDS Sass into browser-readable CSS.
Other
20 stars 13 forks source link

USWDS Compile 1.0.0 Beta 3 #36

Closed thisisdano closed 2 years ago

thisisdano commented 2 years ago

What's new in USWDS Compile 1.0.0 Beta 3

Allow compiling on M1 Macs. Updates to a more modern SVG sprite compiler (gulp-svgstore) to resolve an incompatibility with M1 Macs and ARM-based chips.

Allow custom icons directory. You can now pass an optional directory (paths.src.projectIcons) whose contents will either add to (the default) or replace the contents of the icon sprite (with sprite.projectIconsOnly = true).

API updates

Setting Default Description
paths.src.projectIcons "" Source location of any additional project icons to include in the icon sprite. (Use only these project icons in the sprite by setting sprite.projectIconsOnly to true.)
sprite.projectIconsOnly false Include only the icons in paths.src.projectIcons in the icon sprite.

Security

package old new
gulp-svg-sprite 1.3.7 REMOVED
gulp-svgstore 9.0.0

Added uswds and @uswds/uswds to dev dependencies for testing.

6 high vulnerabilities using npm audit