@vueless/nuxt 1.0.1-beta.4 → 1.0.1-beta.6

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
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.13.0"
6
6
  },
7
- "version": "1.0.1-beta.4",
7
+ "version": "1.0.1-beta.6",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.1",
10
10
  "unbuild": "3.5.0"
package/dist/module.mjs CHANGED
@@ -1,6 +1,7 @@
1
+ import fs from 'node:fs';
1
2
  import path from 'node:path';
2
3
  import { cwd } from 'node:process';
3
- import fs from 'node:fs';
4
+ import { pathToFileURL } from 'node:url';
4
5
  import { createRequire } from 'node:module';
5
6
  import { defineNuxtModule, createResolver, hasNuxtModule, addPlugin, addComponent, addImportsDir } from '@nuxt/kit';
6
7
  import { TailwindCSS, Vueless } from 'vueless/plugin-vite.js';
@@ -46,7 +47,7 @@ const module = defineNuxtModule({
46
47
  });
47
48
  if (_nuxt.options.dev) {
48
49
  const chokidarPath = require.resolve("chokidar");
49
- const chokidar = await import(chokidarPath);
50
+ const chokidar = await import(pathToFileURL(chokidarPath).href);
50
51
  const watcher = chokidar.watch(dependencies, { ignoreInitial: true });
51
52
  watcher.on("change", async () => {
52
53
  const { dependencies: newDependencies } = await getVuelessConfig();
@@ -69,7 +70,7 @@ const module = defineNuxtModule({
69
70
  });
70
71
  async function getVuelessConfig() {
71
72
  const esbuildPath = require.resolve("esbuild");
72
- const esbuild = await import(esbuildPath);
73
+ const esbuild = await import(pathToFileURL(esbuildPath).href);
73
74
  const esbuildConfig = {
74
75
  bundle: true,
75
76
  platform: "node",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/nuxt",
3
- "version": "1.0.1-beta.4",
3
+ "version": "1.0.1-beta.6",
4
4
  "license": "MIT",
5
5
  "description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@nuxt/kit": "^3.17.4",
58
- "vueless": "^1.0.2-beta.7"
58
+ "vueless": "^1.0.2-beta.9"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@material-symbols/svg-500": "^0.31.4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/nuxt",
3
- "version": "1.0.1-beta.4",
3
+ "version": "1.0.1-beta.6",
4
4
  "license": "MIT",
5
5
  "description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@nuxt/kit": "^3.17.4",
58
- "vueless": "^1.0.2-beta.7"
58
+ "vueless": "^1.0.2-beta.9"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@material-symbols/svg-500": "^0.31.4",