nuxt-users 1.34.3 → 1.34.4

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,30 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v1.34.4
5
+
6
+ [compare changes](https://github.com/rrd108/nuxt-users/compare/v1.34.3...v1.34.4)
7
+
8
+ ### 🩹 Fixes
9
+
10
+ - Conflicting runtimeconfig ([563dcca](https://github.com/rrd108/nuxt-users/commit/563dcca))
11
+ - Lint errors ([b590e6d](https://github.com/rrd108/nuxt-users/commit/b590e6d))
12
+ - **deps:** Update nuxtjs monorepo to v3.19.2 ([9963034](https://github.com/rrd108/nuxt-users/commit/9963034))
13
+ - Use runtimeconfig for nitro ([346ad0d](https://github.com/rrd108/nuxt-users/commit/346ad0d))
14
+
15
+ ### 🏡 Chore
16
+
17
+ - **release:** V1.34.3 ([23b3a30](https://github.com/rrd108/nuxt-users/commit/23b3a30))
18
+ - Fix whitespace ([2e24416](https://github.com/rrd108/nuxt-users/commit/2e24416))
19
+
20
+ ### ✅ Tests
21
+
22
+ - Add for config conflict ([59271e3](https://github.com/rrd108/nuxt-users/commit/59271e3))
23
+
24
+ ### ❤️ Contributors
25
+
26
+ - Rrd108 ([@rrd108](https://github.com/rrd108))
27
+
4
28
  ## v1.34.3
5
29
 
6
30
  [compare changes](https://github.com/rrd108/nuxt-users/compare/v1.34.2...v1.34.3)
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-users",
3
3
  "configKey": "nuxtUsers",
4
- "version": "1.34.3",
4
+ "version": "1.34.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.0"
package/dist/module.mjs CHANGED
@@ -205,29 +205,6 @@ const module = defineNuxtModule({
205
205
  nuxt.hook("nitro:config", async (nitroConfig) => {
206
206
  nitroConfig.experimental = nitroConfig.experimental || {};
207
207
  nitroConfig.experimental.database = true;
208
- nitroConfig.database = nitroConfig.database || {};
209
- if (!nitroConfig.database.default) {
210
- const finalConnectorConfig = nuxt.options.runtimeConfig.nuxtUsers;
211
- const connectorOptions = { ...finalConnectorConfig.connector.options };
212
- let nitroConnector;
213
- switch (finalConnectorConfig.connector.name) {
214
- case "sqlite":
215
- nitroConnector = "better-sqlite3";
216
- break;
217
- case "mysql":
218
- nitroConnector = "mysql2";
219
- break;
220
- case "postgresql":
221
- nitroConnector = "postgresql";
222
- break;
223
- default:
224
- nitroConnector = "better-sqlite3";
225
- }
226
- nitroConfig.database.default = {
227
- connector: nitroConnector,
228
- options: connectorOptions
229
- };
230
- }
231
208
  nitroConfig.experimental.tasks = true;
232
209
  nitroConfig.scanDirs = nitroConfig.scanDirs || [];
233
210
  nitroConfig.scanDirs.push(resolver.resolve("./runtime/server/tasks"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-users",
3
- "version": "1.34.3",
3
+ "version": "1.34.4",
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",