diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 035f6ac..e345697 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,21 +13,17 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2.4.0 + - id: setup-bun + name: Setup Bun + uses: oven-sh/setup-bun@v1 with: - version: 8.x.x - - - name: Set up Node - uses: actions/setup-node@v4 - with: - node-version: 16 - cache: pnpm + bun-version: latest - name: Install Dependencies - run: pnpm install --frozen-lockfile + run: bun install --frozen-lockfile - name: Build Packages - run: pnpm run build --filter='./packages/*' + run: bun run build - name: Create a release id: changesets diff --git a/README.md b/README.md index 937d42f..e982ecf 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ fastify.register(fastifyJWT, { Then, register the Supabase plugin. ```ts -import fastifySupabase from "@hellomateo/fastify-supabase"; +import fastifySupabase from "@psteinroe/fastify-supabase"; fastify.register(fastifySupabase, { url: SUPABASE_URL, diff --git a/bun.lockb b/bun.lockb index 8f3a05d..e34ffb5 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 6a2d278..90b4a7a 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,8 @@ "ci:release": "changeset publish" }, "peerDependencies": { - "@supabase/supabase-js": "^2.0.0" + "@supabase/supabase-js": "^2.0.0", + "@fastify/jwt": "^7.0.0" }, "dependencies": { "@fastify/error": "3.4.1", @@ -56,8 +57,7 @@ "devDependencies": { "bun-plugin-dts": "0.2.1", "@biomejs/biome": "1.4.1", - "@changesets/cli": "2.27.0", - "@fastify/jwt": "7.2.4", + "@changesets/cli": "2.27.1", "bun-types": "latest", "fast-jwt": "3.3.2", "fastify": "4.24.3",