Attributes
Includes Deno configuration
Repository
Current version released
9 months ago
Dependencies
esm.sh
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 version stuff. Make the following “find and replace” changes:
- Change v0.1.22 to next version.
- Change 0-1-22 to next version.
- Change v0.1.21 to next version.
- Change 0-1-21 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.
- Test in
cannabis-journal
. - 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).