@vueless/nuxt 0.0.9-beta.25 → 0.0.9-beta.27

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,9 +1,11 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
 
3
3
  declare const _default: _nuxt_schema.NuxtModule<{
4
+ include: never[];
4
5
  mirrorCacheDir: string;
5
6
  debug: boolean;
6
7
  }, {
8
+ include: never[];
7
9
  mirrorCacheDir: string;
8
10
  debug: boolean;
9
11
  }, false>;
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.13.0"
6
6
  },
7
- "version": "0.0.9-beta.25",
7
+ "version": "0.0.9-beta.27",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.1",
10
10
  "unbuild": "3.5.0"
package/dist/module.mjs CHANGED
@@ -3,9 +3,9 @@ import { cwd } from 'node:process';
3
3
  import fs from 'node:fs';
4
4
  import { defineNuxtModule, createResolver, addPlugin, addComponent, addImportsDir } from '@nuxt/kit';
5
5
  import { TailwindCSS, Vueless } from 'vueless/plugin-vite.js';
6
- import { getNuxtDirs } from 'vueless/utils/node/helper.js';
6
+ import { cacheMergedConfigs, getNuxtDirs } from 'vueless/utils/node/helper.js';
7
7
  import { createTailwindSafelist } from 'vueless/utils/node/tailwindSafelist.js';
8
- import { NUXT_MODULE_ENV, COMPONENTS, VUELESS_CONFIG_FILE_NAME } from 'vueless/constants.js';
8
+ import { NUXT_MODULE_ENV, VUELESS_PACKAGE_DIR, COMPONENTS, VUELESS_CONFIG_FILE_NAME } from 'vueless/constants.js';
9
9
 
10
10
  const module = defineNuxtModule({
11
11
  meta: {
@@ -16,11 +16,12 @@ const module = defineNuxtModule({
16
16
  }
17
17
  },
18
18
  defaults: {
19
+ include: [],
19
20
  mirrorCacheDir: "",
20
21
  debug: false
21
22
  },
22
23
  async setup(_options, _nuxt) {
23
- const { mirrorCacheDir, debug } = _options;
24
+ const { include, mirrorCacheDir, debug } = _options;
24
25
  const { resolve } = createResolver(import.meta.url);
25
26
  const { vuelessConfig, dependencies } = await getVuelessConfig();
26
27
  _nuxt.options.runtimeConfig.public.vueless = vuelessConfig;
@@ -29,7 +30,7 @@ const module = defineNuxtModule({
29
30
  config.plugins = config.plugins || [];
30
31
  config.plugins.push(
31
32
  TailwindCSS(),
32
- Vueless({ env: NUXT_MODULE_ENV, mirrorCacheDir, debug })
33
+ Vueless({ env: NUXT_MODULE_ENV, mirrorCacheDir, debug, include })
33
34
  );
34
35
  });
35
36
  if (_nuxt.options.dev) {
@@ -43,8 +44,11 @@ const module = defineNuxtModule({
43
44
  _nuxt.callHook("restart");
44
45
  });
45
46
  }
47
+ await cacheMergedConfigs(VUELESS_PACKAGE_DIR);
46
48
  await createTailwindSafelist({
47
- targetFiles: getNuxtDirs()
49
+ targetFiles: getNuxtDirs(),
50
+ srcDir: VUELESS_PACKAGE_DIR,
51
+ env: NUXT_MODULE_ENV
48
52
  });
49
53
  addPlugin(resolve("./runtime/plugin"));
50
54
  for (const componentName in COMPONENTS) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/nuxt",
3
- "version": "0.0.9-beta.25",
3
+ "version": "0.0.9-beta.27",
4
4
  "license": "MIT",
5
5
  "description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -55,8 +55,7 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@nuxt/kit": "^3.17.4",
58
- "tailwindcss": "^4.1.7",
59
- "vueless": "^0.0.825-beta.151"
58
+ "vueless": "^0.0.825-beta.175"
60
59
  },
61
60
  "devDependencies": {
62
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": "0.0.9-beta.25",
3
+ "version": "0.0.9-beta.27",
4
4
  "license": "MIT",
5
5
  "description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -55,8 +55,7 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@nuxt/kit": "^3.17.4",
58
- "tailwindcss": "^4.1.7",
59
- "vueless": "^0.0.825-beta.151"
58
+ "vueless": "^0.0.825-beta.175"
60
59
  },
61
60
  "devDependencies": {
62
61
  "@material-symbols/svg-500": "^0.31.4",