Skip to content

Commit c21648b

Browse files
committed
Update documentation on updating USWDS
1 parent 4e30e15 commit c21648b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,14 @@ CSS and SASS can be added or imported into the `styles/styles.scss`. You can als
175175

176176
Javascript can be added to the admin UI or site UI by adding or importing code into the `js/admin.js` or `js/app.js` files respectively. This template uses [esbuild](https://esbuild.github.io/) to bundle your javascript and fingerprint the files in the site build.
177177

178+
### Updating USWDS
179+
180+
1. Version numbers can be manually controlled in `package.json`. Edit that, if desired.
181+
2. Delete `node_modules` and `package-lock.json`
182+
3. Run `npm install`
183+
4. Read the [release notes](https://github.com/uswds/uswds/releases) for the new versions installed, note 'Breaking' and 'Markup change' and make adjustments to the code base as needed.
184+
185+
178186
### Managing environment variables
179187

180188
Environment variables are set and managed on [pages.cloud.gov](https://pages.cloud.gov/)

0 commit comments

Comments
 (0)