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