- Fork/clone this repo.
npm ci- Make your changes. If you want to alter the CSS, do the changes in the
.scssfiles. npm run build. The build step compiles the SCSS file into CSS.- You can also run
npm run watchautomatically compiles the CSS file after a change is detected in the SCSS file.
- You can also run
- Test your changes by opening
semanticForms.htmlin your browser.- If you want to test your work on an actual HTTP server, run
npm run devornpm run d, and then visit http://localhost:3000/test/semanticForms
- If you want to test your work on an actual HTTP server, run
- Commit, push, open pull request.
- Be sure all tests pass:
npm t. - Ensure good test coverage and write new tests if necessary:
npm run coverage. - Add your changes to
CHANGELOG.md.
If you are a maintainer, please follow the following release procedure:
- Merge all desired pull requests into main.
- Run
npm run buildto generate a new dist bundle. - Bump
package.jsonto a new version and runnpm ito generate a newpackage-lock.json. - Add new version to CHANGELOG.
- Paste contents of CHANGELOG into new version commit.
- Open and merge a pull request with those changes.
- Tag the merge commit as the a new release version number.
- Publish commit to npm.
- Submit a pull request to the Roosevelt website following the instructions here.