@vueless/nuxt 0.0.2 → 0.0.3

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.d.mts CHANGED
@@ -1,5 +1,11 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
 
3
- declare const _default: _nuxt_schema.NuxtModule<_nuxt_schema.ModuleOptions, _nuxt_schema.ModuleOptions, false>;
3
+ declare const _default: _nuxt_schema.NuxtModule<{
4
+ mirrorCacheDir: string;
5
+ debug: boolean;
6
+ }, {
7
+ mirrorCacheDir: string;
8
+ debug: boolean;
9
+ }, false>;
4
10
 
5
11
  export { _default as default };
package/dist/module.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
 
3
- declare const _default: _nuxt_schema.NuxtModule<_nuxt_schema.ModuleOptions, _nuxt_schema.ModuleOptions, false>;
3
+ declare const _default: _nuxt_schema.NuxtModule<{
4
+ mirrorCacheDir: string;
5
+ debug: boolean;
6
+ }, {
7
+ mirrorCacheDir: string;
8
+ debug: boolean;
9
+ }, false>;
4
10
 
5
11
  export { _default as default };
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.13.0"
6
6
  },
7
- "version": "0.0.2",
7
+ "version": "0.0.3",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -45,13 +45,19 @@ const module = defineNuxtModule({
45
45
  nuxt: ">=3.13.0"
46
46
  }
47
47
  },
48
- defaults: {},
48
+ defaults: {
49
+ mirrorCacheDir: "",
50
+ debug: false
51
+ },
49
52
  async setup(_options, _nuxt) {
50
53
  const { resolve } = createResolver(import.meta.url);
54
+ const { mirrorCacheDir, debug } = _options;
51
55
  _nuxt.options.build.transpile.push("vueless", "tailwindcss");
52
56
  _nuxt.hook("vite:extendConfig", (config) => {
53
57
  config.plugins = config.plugins || [];
54
- config.plugins.push(Vueless({ mode: "nuxt-module" }));
58
+ config.plugins.push(
59
+ Vueless({ mode: "nuxt-module", mirrorCacheDir, debug })
60
+ );
55
61
  });
56
62
  await installTailwind(_nuxt);
57
63
  addPlugin(resolve("./runtime/plugin"));
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/nuxt",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -40,6 +40,7 @@
40
40
  "scripts": {
41
41
  "dev": "nuxi dev playground",
42
42
  "dev:build": "nuxi build playground",
43
+ "dev:preview": "nuxi preview playground",
43
44
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
44
45
  "prepack": "nuxt-module-build build && cp package.json LICENSE README.md dist/",
45
46
  "release:patch": "release-it patch --ci --npm.publish",
@@ -57,7 +58,7 @@
57
58
  "@nuxtjs/tailwindcss": "^6.12.1",
58
59
  "defu": "^6.1.4",
59
60
  "pathe": "^1.1.2",
60
- "vueless": "^0.0.481"
61
+ "vueless": "^0.0.492"
61
62
  },
62
63
  "devDependencies": {
63
64
  "@material-symbols/svg-500": "^0.25.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/nuxt",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -40,6 +40,7 @@
40
40
  "scripts": {
41
41
  "dev": "nuxi dev playground",
42
42
  "dev:build": "nuxi build playground",
43
+ "dev:preview": "nuxi preview playground",
43
44
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
44
45
  "prepack": "nuxt-module-build build && cp package.json LICENSE README.md dist/",
45
46
  "release:patch": "release-it patch --ci --npm.publish",
@@ -57,7 +58,7 @@
57
58
  "@nuxtjs/tailwindcss": "^6.12.1",
58
59
  "defu": "^6.1.4",
59
60
  "pathe": "^1.1.2",
60
- "vueless": "^0.0.481"
61
+ "vueless": "^0.0.492"
61
62
  },
62
63
  "devDependencies": {
63
64
  "@material-symbols/svg-500": "^0.25.0",