Skip to content

Commit 4c43c8b

Browse files
committed
prepare v0.0.1 release
1 parent 1dd6be6 commit 4c43c8b

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @onmax/nuxt-better-auth
1+
# @onmax_/nuxt-better-auth
22

33
[![npm version][npm-version-src]][npm-version-href]
44
[![npm downloads][npm-downloads-src]][npm-downloads-href]
@@ -25,14 +25,14 @@ Nuxt module for [Better Auth](https://better-auth.com) with auto schema generati
2525
### 1. Install
2626

2727
```bash
28-
pnpm add @onmax/nuxt-better-auth better-auth drizzle-orm @nuxthub/core
28+
pnpm add @onmax_/nuxt-better-auth better-auth drizzle-orm @nuxthub/core
2929
```
3030

3131
### 2. Configure Nuxt
3232

3333
```ts
3434
export default defineNuxtConfig({
35-
modules: ['@nuxthub/core', '@onmax/nuxt-better-auth'],
35+
modules: ['@nuxthub/core', '@onmax_/nuxt-better-auth'],
3636

3737
hub: { database: true },
3838

@@ -55,7 +55,7 @@ Create `server/auth.config.ts`:
5555

5656
```ts
5757
import { admin } from 'better-auth/plugins'
58-
import { defineServerAuth } from '@onmax/nuxt-better-auth'
58+
import { defineServerAuth } from '@onmax_/nuxt-better-auth'
5959

6060
export default defineServerAuth(({ db }) => ({
6161
appName: 'My App',
@@ -167,14 +167,14 @@ pnpm dev
167167
MIT
168168

169169
<!-- Badges -->
170-
[npm-version-src]: https://img.shields.io/npm/v/@onmax/nuxt-better-auth/latest.svg?style=flat&colorA=020420&colorB=00DC82
171-
[npm-version-href]: https://npmjs.com/package/@onmax/nuxt-better-auth
170+
[npm-version-src]: https://img.shields.io/npm/v/@onmax_/nuxt-better-auth/latest.svg?style=flat&colorA=020420&colorB=00DC82
171+
[npm-version-href]: https://npmjs.com/package/@onmax_/nuxt-better-auth
172172

173-
[npm-downloads-src]: https://img.shields.io/npm/dm/@onmax/nuxt-better-auth.svg?style=flat&colorA=020420&colorB=00DC82
174-
[npm-downloads-href]: https://npm.chart.dev/@onmax/nuxt-better-auth
173+
[npm-downloads-src]: https://img.shields.io/npm/dm/@onmax_/nuxt-better-auth.svg?style=flat&colorA=020420&colorB=00DC82
174+
[npm-downloads-href]: https://npm.chart.dev/@onmax_/nuxt-better-auth
175175

176-
[license-src]: https://img.shields.io/npm/l/@onmax/nuxt-better-auth.svg?style=flat&colorA=020420&colorB=00DC82
177-
[license-href]: https://npmjs.com/package/@onmax/nuxt-better-auth
176+
[license-src]: https://img.shields.io/npm/l/@onmax_/nuxt-better-auth.svg?style=flat&colorA=020420&colorB=00DC82
177+
[license-href]: https://npmjs.com/package/@onmax_/nuxt-better-auth
178178

179179
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
180180
[nuxt-href]: https://nuxt.com

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "@onmax/nuxt-better-auth",
2+
"name": "@onmax_/nuxt-better-auth",
33
"type": "module",
4-
"version": "0.1.0",
4+
"version": "0.0.1",
55
"description": "Nuxt module for Better Auth integration with NuxtHub, route protection, session management, and role-based access",
66
"license": "MIT",
77
"author": "onmax",
@@ -48,6 +48,8 @@
4848
"dependencies": {
4949
"@nuxt/kit": "^4.2.2",
5050
"defu": "^6.1.4",
51+
"jiti": "^2.4.2",
52+
"pathe": "^2.0.3",
5153
"radix3": "^1.1.2"
5254
},
5355
"devDependencies": {

pnpm-lock.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)