nuxt-users 1.34.0 → 1.34.1

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/CHANGELOG.md CHANGED
@@ -1,6 +1,22 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v1.34.1
5
+
6
+ [compare changes](https://github.com/rrd108/nuxt-users/compare/v1.34.0...v1.34.1)
7
+
8
+ ### 💅 Refactors
9
+
10
+ - Component imports ([5b18736](https://github.com/rrd108/nuxt-users/commit/5b18736))
11
+
12
+ ### 🏡 Chore
13
+
14
+ - **release:** V1.34.0 ([52faf38](https://github.com/rrd108/nuxt-users/commit/52faf38))
15
+
16
+ ### ❤️ Contributors
17
+
18
+ - Rrd108 ([@rrd108](https://github.com/rrd108))
19
+
4
20
  ## v1.34.0
5
21
 
6
22
  [compare changes](https://github.com/rrd108/nuxt-users/compare/v1.33.0...v1.34.0)
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-users",
3
3
  "configKey": "nuxtUsers",
4
- "version": "1.34.0",
4
+ "version": "1.34.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.0"
package/dist/module.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { defineNuxtModule, createResolver, addPlugin, addImportsDir, addServerImportsDir, addServerHandler, addRouteMiddleware, addComponent } from '@nuxt/kit';
1
+ import { defineNuxtModule, createResolver, addPlugin, addImportsDir, addServerImportsDir, addServerHandler, addRouteMiddleware, addComponentsDir } from '@nuxt/kit';
2
2
  import { defu } from 'defu';
3
3
  export * from '../dist/runtime/server/internal/index.js';
4
4
 
@@ -230,41 +230,11 @@ const module = defineNuxtModule({
230
230
  nitroConfig.scanDirs = nitroConfig.scanDirs || [];
231
231
  nitroConfig.scanDirs.push(resolver.resolve("./runtime/server/tasks"));
232
232
  });
233
- addComponent({
234
- name: "NUsersLoginForm",
235
- filePath: resolver.resolve("./runtime/components/NUsersLoginForm.vue")
236
- });
237
- addComponent({
238
- name: "NUsersLogoutLink",
239
- filePath: resolver.resolve("./runtime/components/NUsersLogoutLink.vue")
240
- });
241
- addComponent({
242
- name: "NUsersProfileInfo",
243
- filePath: resolver.resolve("./runtime/components/NUsersProfileInfo.vue")
244
- });
245
- addComponent({
246
- name: "NUsersResetPasswordForm",
247
- filePath: resolver.resolve("./runtime/components/NUsersResetPasswordForm.vue")
248
- });
249
- addComponent({
250
- name: "NUsersPasswordStrengthIndicator",
251
- filePath: resolver.resolve("./runtime/components/NUsersPasswordStrengthIndicator.vue")
252
- });
253
- addComponent({
254
- name: "NUsersList",
255
- filePath: resolver.resolve("./runtime/components/NUsersList.vue")
256
- });
257
- addComponent({
258
- name: "NUsersUserCard",
259
- filePath: resolver.resolve("./runtime/components/NUsersUserCard.vue")
260
- });
261
- addComponent({
262
- name: "NUsersUserForm",
263
- filePath: resolver.resolve("./runtime/components/NUsersUserForm.vue")
264
- });
265
- addComponent({
266
- name: "NUsersRegisterForm",
267
- filePath: resolver.resolve("./runtime/components/NUsersRegisterForm.vue")
233
+ addComponentsDir({
234
+ path: resolver.resolve("./runtime/components"),
235
+ pathPrefix: false,
236
+ prefix: "",
237
+ global: true
268
238
  });
269
239
  nuxt.options.css = nuxt.options.css || [];
270
240
  nuxt.options.css.push(resolver.resolve("./runtime/assets/nuxt-users.css"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-users",
3
- "version": "1.34.0",
3
+ "version": "1.34.1",
4
4
  "description": "A comprehensive user management module for Nuxt 3 and Nuxt 4 applications with authentication, authorization, database support, and CLI tools",
5
5
  "keywords": [
6
6
  "nuxt",