nuxt-auth-kit 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +307 -0
- package/dist/module.cjs +5 -0
- package/dist/module.d.mts +5 -0
- package/dist/module.d.ts +5 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +92 -0
- package/dist/runtime/components/auth/AuthLayout.vue +117 -0
- package/dist/runtime/components/auth/ForgotPasswordForm.vue +110 -0
- package/dist/runtime/components/auth/LoginForm.vue +209 -0
- package/dist/runtime/components/auth/RegisterForm.vue +182 -0
- package/dist/runtime/components/auth/ResetPasswordForm.vue +134 -0
- package/dist/runtime/components/profile/UpdatePasswordForm.vue +115 -0
- package/dist/runtime/components/profile/UpdateProfileForm.vue +157 -0
- package/dist/runtime/composables/useAuth.d.ts +58 -0
- package/dist/runtime/composables/useAuth.js +214 -0
- package/dist/runtime/middleware/auth.d.ts +2 -0
- package/dist/runtime/middleware/auth.js +14 -0
- package/dist/runtime/middleware/guest.d.ts +2 -0
- package/dist/runtime/middleware/guest.js +11 -0
- package/dist/runtime/middleware/role.d.ts +2 -0
- package/dist/runtime/middleware/role.js +18 -0
- package/dist/runtime/plugins/auth.d.ts +2 -0
- package/dist/runtime/plugins/auth.js +20 -0
- package/dist/runtime/stores/auth.d.ts +38 -0
- package/dist/runtime/stores/auth.js +47 -0
- package/dist/runtime/types/index.d.ts +85 -0
- package/dist/runtime/types/index.js +0 -0
- package/dist/types.d.mts +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +42 -0
package/dist/types.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type AuthUser, type LoginCredentials, type ModuleOptions, type RegisterData } from './module.js'
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type AuthUser, type LoginCredentials, type ModuleOptions, type RegisterData } from './module'
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nuxt-auth-kit",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Nuxt module for authentication with Laravel API — login, register, profile, password management, roles & permissions",
|
|
5
|
+
"keywords": ["nuxt", "nuxt-module", "authentication", "laravel", "roles", "permissions"],
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/module.mjs",
|
|
11
|
+
"require": "./dist/module.cjs"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"main": "./dist/module.cjs",
|
|
15
|
+
"types": "./dist/types.d.ts",
|
|
16
|
+
"files": ["dist"],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"preinstall": "npx only-allow npm",
|
|
19
|
+
"build": "npx nuxt-module-build build",
|
|
20
|
+
"dev": "npx nuxt-module-build build --stub && npx nuxt-module-build prepare",
|
|
21
|
+
"dev:prepare": "npx nuxt-module-build build --stub && npx nuxt-module-build prepare",
|
|
22
|
+
"release": "npm run build && npm publish --access public",
|
|
23
|
+
"typecheck": "npx vue-tsc --noEmit"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"nuxt": "^3.0.0"
|
|
27
|
+
},
|
|
28
|
+
"peerDependenciesMeta": {
|
|
29
|
+
"@nuxt/ui": { "optional": true }
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@nuxt/module-builder": "^0.8.4",
|
|
33
|
+
"@nuxt/schema": "^3.13.0",
|
|
34
|
+
"nuxt": "^3.13.0",
|
|
35
|
+
"typescript": "^5.5.0",
|
|
36
|
+
"vue-tsc": "^2.1.0"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@pinia/nuxt": "^0.7.0",
|
|
40
|
+
"pinia": "^2.2.0"
|
|
41
|
+
}
|
|
42
|
+
}
|