nuxt-processor 0.0.6 → 0.0.7
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/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/server/utils/workers.js +5 -3
- package/dist/shared/{nuxt-processor.BhHJSy2L.mjs → nuxt-processor.4D52SGZK.mjs} +1 -1
- package/dist/shared/{nuxt-processor.BYUls4Ut.cjs → nuxt-processor.DGLbEfyc.cjs} +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const pathe = require('pathe');
|
|
|
8
8
|
const consola = require('consola');
|
|
9
9
|
const citty = require('citty');
|
|
10
10
|
const kit = require('@nuxt/kit');
|
|
11
|
-
const _package = require('./shared/nuxt-processor.
|
|
11
|
+
const _package = require('./shared/nuxt-processor.DGLbEfyc.cjs');
|
|
12
12
|
|
|
13
13
|
const ensureNuxtProject = async (args) => {
|
|
14
14
|
const dir = pathe.resolve(args.dir);
|
package/dist/cli.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { resolve } from 'pathe';
|
|
|
6
6
|
import { consola } from 'consola';
|
|
7
7
|
import { createMain, defineCommand } from 'citty';
|
|
8
8
|
import { loadNuxtConfig } from '@nuxt/kit';
|
|
9
|
-
import { v as version, d as description, n as name } from './shared/nuxt-processor.
|
|
9
|
+
import { v as version, d as description, n as name } from './shared/nuxt-processor.4D52SGZK.mjs';
|
|
10
10
|
|
|
11
11
|
const ensureNuxtProject = async (args) => {
|
|
12
12
|
const dir = resolve(args.dir);
|
package/dist/module.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const kit = require('@nuxt/kit');
|
|
4
|
-
const _package = require('./shared/nuxt-processor.
|
|
4
|
+
const _package = require('./shared/nuxt-processor.DGLbEfyc.cjs');
|
|
5
5
|
const node_path = require('node:path');
|
|
6
6
|
const fg = require('fast-glob');
|
|
7
7
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useNuxt, createResolver, defineNuxtModule, addTypeTemplate } from '@nuxt/kit';
|
|
2
|
-
import { c as configKey, a as compatibility, v as version, n as name } from './shared/nuxt-processor.
|
|
2
|
+
import { c as configKey, a as compatibility, v as version, n as name } from './shared/nuxt-processor.4D52SGZK.mjs';
|
|
3
3
|
import { relative } from 'node:path';
|
|
4
4
|
import fg from 'fast-glob';
|
|
5
5
|
|
|
@@ -9,11 +9,13 @@ export function $workers() {
|
|
|
9
9
|
function setConnection(connection) {
|
|
10
10
|
if (connection && typeof connection === "object" && "url" in connection && connection.url) {
|
|
11
11
|
const { url, ...rest } = connection;
|
|
12
|
-
|
|
12
|
+
const opts = { ...rest, maxRetriesPerRequest: null };
|
|
13
|
+
registry.connection = new IORedis(url, opts);
|
|
13
14
|
} else if (typeof connection === "string") {
|
|
14
|
-
registry.connection = new IORedis(connection);
|
|
15
|
+
registry.connection = new IORedis(connection, { maxRetriesPerRequest: null });
|
|
15
16
|
} else {
|
|
16
|
-
|
|
17
|
+
const normalized = { ...connection, maxRetriesPerRequest: null };
|
|
18
|
+
registry.connection = normalized;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
19
21
|
function createQueue(name, options) {
|