@regle/nuxt 1.9.6 → 1.9.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "regle",
3
3
  "configKey": "regle",
4
- "version": "1.9.6",
4
+ "version": "1.9.8",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -7,15 +7,14 @@ const module = defineNuxtModule({
7
7
  configKey: "regle"
8
8
  },
9
9
  defaults: {},
10
- async setup(options, nuxt) {
10
+ async setup(options) {
11
11
  const { resolve } = createResolver(import.meta.url);
12
12
  if (options.setupFile) {
13
13
  try {
14
14
  const setupFilePathOS = await resolvePath(options.setupFile);
15
15
  const setupFilePath = path.posix.normalize(setupFilePathOS.replace(/\\/g, "/"));
16
16
  if (setupFilePath) {
17
- const dotNuxtFolder = resolve(`${nuxt.options.rootDir}/.nuxt`);
18
- const relativePath = path.relative(dotNuxtFolder, setupFilePath);
17
+ const relativePath = resolve(setupFilePath);
19
18
  const setupFilePathWithoutExtension = path.join(
20
19
  path.dirname(relativePath),
21
20
  path.basename(relativePath, path.extname(relativePath))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regle/nuxt",
3
- "version": "1.9.6",
3
+ "version": "1.9.8",
4
4
  "description": "Regle nuxt module",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,19 +20,19 @@
20
20
  "dist"
21
21
  ],
22
22
  "dependencies": {
23
- "@nuxt/kit": "4.1.3",
24
- "@nuxt/schema": "4.1.3",
25
- "@regle/core": "1.9.6",
26
- "@regle/rules": "1.9.6"
23
+ "@nuxt/kit": "4.1.2",
24
+ "@nuxt/schema": "4.1.2",
25
+ "@regle/rules": "1.9.8",
26
+ "@regle/core": "1.9.8"
27
27
  },
28
28
  "optionalDependencies": {
29
- "@regle/schemas": "1.9.6"
29
+ "@regle/schemas": "1.9.8"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@nuxt/module-builder": "1.0.2",
33
33
  "@nuxt/test-utils": "3.19.2",
34
34
  "@types/node": "22.18.10",
35
- "nuxt": "4.1.3",
35
+ "nuxt": "4.1.2",
36
36
  "prettier": "3.6.2",
37
37
  "type-fest": "5.1.0",
38
38
  "typescript": "5.9.3",