Skip to content

0.5.10

Compare
Choose a tag to compare
@brandon-schabel brandon-schabel released this 27 Nov 19:10
· 43 commits to main since this release

What's Changed

Bun Nook Kit Medium Banner

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

IMG_1321

Added biome for formatting/linting in development cause this:
Screenshot 2023-11-27 at 11 31 47 AM

Bun Nook Kit Introductory Blog Post

Read Here

Full Changelog: 0.4.20...0.5.2