Releases: nookit-dev/bnkit
0.5.15 Bug Fixes, Server Websocket Support
- Bug Fixes
- Server Websocket Support
0.5.10
What's Changed
Added a bash quickstart:
bash <(curl -fsSL https://raw.githubusercontent.com/nookit-dev/bnkit/main/scripts/quickstart.sh)
Added A CLI
CLI Docs
to install cli:
bun add bnkit -g
add this to .zshrc
or .bashrc
export BNKIT_PATH="$BUN_INSTALL/install/cache/bnkit"
function run_bnk_cli() {
echo "Bun install location: $BUN_INSTALL"
echo "Bun Nook Kit install location: $BNKIT_PATH"
# Find the latest version of bnkit
versions=$(ls $BNKIT_PATH | sort -V)
latest_version=$(echo "$versions" | tail -1)
echo "Latest version of bnkit: $latest_version"
# Define the path to the cli.sh script in the latest version
cli_script_path="$BNKIT_PATH/$latest_version/scripts/cli.sh"
echo "cli.sh path: $cli_script_path"
# Check if the script exists
if [[ -f "$cli_script_path" ]]; then
# Run the script with the --dir flag set to the current directory
"$cli_script_path" --dir "$(pwd)"
else
echo "cli.sh not found in the latest version of bnkit."
fi
}
Updated Docs!
Checkout the newly updated documentation
OAuth Module
Docs will follow shortly :)
alias bnkit='run_bnk_cli'
Cleaned Up and Simplified Server Cors Middleware Module, Fetcher Modules
HTMLody factory node helper
![Screenshot 2023-11-27 at 9 18 36 AM](https://private-user-images.githubusercontent.com/18100375/285980395-13fc2cfd-f03d-429b-8309-c940e88a8db6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMTc5MjAsIm5iZiI6MTcyNjExNzYyMCwicGF0aCI6Ii8xODEwMDM3NS8yODU5ODAzOTUtMTNmYzJjZmQtZjAzZC00MjliLTgzMDktYzk0MGU4OGE4ZGI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDA1MDcwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkZmJkYzRjM2QxMGI2YTQ1NjQyMTlkYmM5ZjgzN2ExY2ViYzEyYWQ0MjQyNGZiNzk2Mjg2ZmZlNmRlZDQ3MmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6bhX3jo1KX2AjdveTiY1yEl1s2AJS9lU6O2XaMTEt78)
Added biome for formatting/linting in development cause this:
Bun Nook Kit Introductory Blog Post
Full Changelog: 0.4.20...0.5.2
0.4.20 - Add Project Quick Start
Setup a server blazingly fast with a new project quickstart bash script!
bash <(curl -fsSL https://raw.githubusercontent.com/brandon-schabel/bun-nook-kit/main/utils/quickstart.sh)
Along with some improved docs I have also put together a quick-start script that will use buns bun create
CLI to quickly create a new project with BNK installed and a simple server. This is a great start to quickly start a prototype. Now that I have built a single starter, I would like to ideally built out several more for common use cases like a basic DB setup with Auth, a more robust fullstack app setup, but that will likely come later :)
The current stack I have in project that I am currently building a project on is called the Payments Stack
I will provide an update once the BNK 0.5.0 release is out
0.4.1 Usability Improvements
0.4.1 Doesn't bring anything huge in the way of functionality, however it certainly bring some simplification when writing code.
When importing modules now instead of before @bnk/core/modules/server
I found that a bit combersome, so now the same module can be imported with bnkit/server
.
That also means the base library is no longer @bnk/core
- it's now simply bnkit
Below are some usage screenshots.
Other than that, there are a lot of new docs to reference in the /docs
folder.
0.3.2
What's Changed
- Improved Docs
- Added Experimental Turbo Support for HTMLody
- Fix Middleware Types
Full Changelog: 0.2.20...0.3.2
0.2.20
What's Changed
- add readItemsWhere query to sqlite
- add readById query to sqlite
- tons of additional sqlite unit tests
- additional htmlody css utility classes
Full Changelog: 0.2.16...0.2.20
0.2.16
What's Changed
- add option to encrypt JWT
- redirect response
- add auth factory
- JWT backend now accepts the type for the JWT payload
- HTMLody clean up and children function and add a render function to the page generator
0.2.13
What's Changed
- Improved HTMLody docs
- fix color generation 50 is darker and then 900 is much brighter than the provided color
- additional class helpers
- improved jwt factory with built in encrypt (later will be optional)
- split jwt factory into more utility functions to better unit tests it
- organize jwt files
- add jwt refresh token and invalid tokens file handler
- improve release versioning script
Full Changelog: 0.2.6...0.2.13
0.2.6 HTMLody CSS Generation
What's Changed
- Added CSS class name generators
- created htmlody plugin for the class records plugin which works similar to tailwind but object based
- added unit tests for the css utils
- add css color pallete generator functions
- add generation of injecting css variables into ssr'd document
- add initial API for responsive class names (a mix between tailwind and classnames plugin with typescript autocomplete!)
Full Changelog: 0.2.3...0.2.6
0.2.3 HTMLody Plugins, Discord, Initial work on Tailwind Like CSS handler/generator
- HTMLody Plugins
- A bunch of unit tests
- Initial work on Tailwind Like CSS handler/generator (for HTMLody)
Come hang out on the BNK Discord! https://discord.gg/rQyWN7V6