nuxt-authenticate-module 1.2.1 → 1.2.3
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/dist/module.json +4 -1
- package/dist/module.mjs +8 -1
- package/package.json +3 -3
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -23,7 +23,11 @@ function nuxtConfigAlias(nuxt, alias) {
|
|
|
23
23
|
const module$1 = defineNuxtModule({
|
|
24
24
|
meta: {
|
|
25
25
|
name: "authenticate-module",
|
|
26
|
-
configKey: "authenticateModule"
|
|
26
|
+
configKey: "authenticateModule",
|
|
27
|
+
// Declarar nuxt-auth-utils como dependencia del módulo
|
|
28
|
+
compatibility: {
|
|
29
|
+
nuxt: "^3.0.0 || ^4.0.0"
|
|
30
|
+
}
|
|
27
31
|
},
|
|
28
32
|
// Configuración por defecto del módulo de autenticación
|
|
29
33
|
defaults: {
|
|
@@ -32,6 +36,9 @@ const module$1 = defineNuxtModule({
|
|
|
32
36
|
async setup(options, nuxt) {
|
|
33
37
|
if (!options.enabled) return;
|
|
34
38
|
const { resolve } = createResolver(import.meta.url);
|
|
39
|
+
if (!nuxt.options.modules.includes("nuxt-auth-utils")) {
|
|
40
|
+
nuxt.options.modules.push("nuxt-auth-utils");
|
|
41
|
+
}
|
|
35
42
|
nuxtConfigAlias(nuxt, {
|
|
36
43
|
modules: resolve("./runtime/server/modules"),
|
|
37
44
|
utility: resolve("./runtime/server/utility"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-authenticate-module",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Módulo de autenticación con inversión de dependencias",
|
|
5
5
|
"repository": "jmg03ndorg/authenticate-module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"@prisma/adapter-mssql": "^7.2.0",
|
|
40
40
|
"@prisma/client": "^7.2.0",
|
|
41
41
|
"bcrypt": "6.0.0",
|
|
42
|
-
"mssql": "^12.2.0"
|
|
42
|
+
"mssql": "^12.2.0",
|
|
43
|
+
"nuxt-auth-utils": "^0.5.27"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@iconify-json/lucide": "^1.2.82",
|
|
@@ -61,7 +62,6 @@
|
|
|
61
62
|
"happy-dom": "^20.0.11",
|
|
62
63
|
"magicast": "^0.3.5",
|
|
63
64
|
"nuxt": "4.2.2",
|
|
64
|
-
"nuxt-auth-utils": "^0.5.26",
|
|
65
65
|
"prisma": "^7.2.0",
|
|
66
66
|
"typescript": "5.9.2",
|
|
67
67
|
"vitest": "3.2.4",
|