Skip to content

USWDS Compile 1.0.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@thisisdano thisisdano released this 16 Mar 00:10
· 146 commits to main since this release
fd0fbcd

What's new in USWDS Compile Beta 1

Allow for migrating to USWDS 3.0. Adds the settings.version key to set whether you're using USWDS v2 or USWDS v3 source path defaults. The default is 2. When you're ready to migrate to USWDS 3.0, install @uswds/uswds (the USWDS 3.0 package), then set settings.version = 3 in your gulpfile.js.

To compile using USWDS 2.0

Do nothing, settings.version = 2 is the default.

To compile using USWDS 3.0

/* gulpfile.js */

const uswds = require("@uswds/compile");

uswds.settings.version = 3; // compiles from @uswds/uswds 

...

Security

11 vulnerabilities (5 moderate, 6 high) with npm audit