@vueless/nuxt 1.2.1-beta.2 → 1.2.1-beta.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.json +1 -1
- package/dist/module.mjs +3 -9
- package/dist/package.json +2 -2
- package/package.json +2 -2
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import fs from 'node:fs';
|
|
2
|
-
import path from 'node:path';
|
|
3
1
|
import { defineNuxtModule, createResolver, hasNuxtModule, addPlugin, addComponent, addImportsDir } from '@nuxt/kit';
|
|
4
2
|
import { TailwindCSS, Vueless } from 'vueless/plugin-vite';
|
|
5
3
|
import { getVuelessConfig } from 'vueless/utils/node/vuelessConfig.js';
|
|
6
4
|
import { autoImportUserConfigs, cacheMergedConfigs } from 'vueless/utils/node/helper.js';
|
|
7
|
-
import { NUXT_MODULE_ENV,
|
|
5
|
+
import { NUXT_MODULE_ENV, VUELESS_PACKAGE_DIR, COMPONENTS } from 'vueless/constants';
|
|
8
6
|
|
|
9
7
|
const module = defineNuxtModule({
|
|
10
8
|
meta: {
|
|
@@ -42,12 +40,8 @@ const module = defineNuxtModule({
|
|
|
42
40
|
Vueless({ env: NUXT_MODULE_ENV, basePath, debug, include })
|
|
43
41
|
);
|
|
44
42
|
});
|
|
45
|
-
_nuxt.hook("
|
|
46
|
-
|
|
47
|
-
const src = path.resolve(vuelessConfigPath);
|
|
48
|
-
const dest = path.join(nitro.options.output.dir, vuelessConfigPath);
|
|
49
|
-
fs.mkdirSync(path.dirname(dest), { recursive: true });
|
|
50
|
-
fs.copyFileSync(src, dest);
|
|
43
|
+
_nuxt.hook("builder:watch", async () => {
|
|
44
|
+
await getVuelessConfig(basePath);
|
|
51
45
|
});
|
|
52
46
|
await autoImportUserConfigs(basePath);
|
|
53
47
|
await cacheMergedConfigs(VUELESS_PACKAGE_DIR);
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vueless/nuxt",
|
|
3
|
-
"version": "1.2.1-beta.
|
|
3
|
+
"version": "1.2.1-beta.3",
|
|
4
4
|
"description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
|
|
5
5
|
"author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
|
|
6
6
|
"homepage": "https://vueless.com",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"sb:preview": "vite preview --host --outDir=storybook-static"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"vueless": "^1.2.5
|
|
33
|
+
"vueless": "^1.2.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@material-symbols/svg-500": "^0.34.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vueless/nuxt",
|
|
3
|
-
"version": "1.2.1-beta.
|
|
3
|
+
"version": "1.2.1-beta.3",
|
|
4
4
|
"description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
|
|
5
5
|
"author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
|
|
6
6
|
"homepage": "https://vueless.com",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"sb:preview": "vite preview --host --outDir=storybook-static"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"vueless": "^1.2.5
|
|
33
|
+
"vueless": "^1.2.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@material-symbols/svg-500": "^0.34.1",
|