Overview
Webite: https://rfui.deno.dev/
Releasing
Versioning
To create a new version of this library (be sure to follow semantic versioning):
- Add version-specific CSS file in
static
directory. (See “Generating the Tailwind CSS file” below.) - Update
utilities/get-stylesheet-url.ts
to the most recent version.- In this repo.
- And in
rfui-react
.
- Update docs. Make the following “find and replace” changes:
- Change v0.1.17 to next version.
- Change 0-1-17 to next version.
- Change v0.1.16 to next version.
- Change 0-1-16 to next version.
- Update
CHANGELOG.md
. - Commit and push.
- Use https://github.com/adamzerner/rfui/releases/new to update the third party
module.
- Creating a new tag should trigger a GitHub webhook that Deno’s third party module repo subscribes to and releases the new version. (Note: I was having issues here but I think they’ve been resolved.)
- Click “Choose a tag”.
- Type in the new version in the input field.
- Click “Create a new tag”.
- Fill in other fields and submit.
- Update
rfui-react
(see the README in that repo for more information).
Generating the Tailwind CSS file
Here’s the process:
- Download the
tailwindcss
executable by following these instructions. - Go to
tailwind.config.ts
and removeroutes
since that directory is just for the documentation, not for code that will be used by library users. - Run
./tailwindcss -i static/app.css -o static/rfui.css --minify
- Run the same command for whatever the new version is, eg
static/rfui-x-y-z.css
to that there is a CSS file for the current version. - Add
routes
back in totailwind.config.ts
(it was removed in step one).