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
Added biome for formatting/linting in development cause this:
Bun Nook Kit Introductory Blog Post
Full Changelog: 0.4.20...0.5.2