vueless 1.2.1-beta.1 → 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/modules.d.ts +6 -0
- package/package.json +4 -3
- package/utils/node/storybook.d.ts +0 -1
- package/utils/node/storybook.js +1 -1
package/modules.d.ts
CHANGED
|
@@ -20,6 +20,12 @@ declare module "*.svg?skipsvgo" {
|
|
|
20
20
|
export default component;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
declare module "vueless/storybook" {
|
|
24
|
+
import type { Config, UnknownObject } from "./types";
|
|
25
|
+
export function defineConfigWithVueless(config: Config): Promise<UnknownObject>;
|
|
26
|
+
export function getVuelessStoriesGlob(vuelessEnv: string): Promise<string[]>;
|
|
27
|
+
}
|
|
28
|
+
|
|
23
29
|
declare module "virtual:vueless/icons" {
|
|
24
30
|
import type { UnknownArray } from "./types";
|
|
25
31
|
export const cachedIcons: UnknownArray;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vueless",
|
|
3
|
-
"version": "1.2.1-beta.
|
|
3
|
+
"version": "1.2.1-beta.3",
|
|
4
4
|
"description": "Vue 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",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
56
56
|
"@vue/test-utils": "^2.4.6",
|
|
57
57
|
"@vue/tsconfig": "^0.7.0",
|
|
58
|
-
"@vueless/storybook": "^1.1.3",
|
|
58
|
+
"@vueless/storybook": "^1.1.3-beta.10",
|
|
59
59
|
"eslint": "^9.32.0",
|
|
60
60
|
"eslint-plugin-storybook": "^9.0.18",
|
|
61
61
|
"eslint-plugin-vue": "^10.3.0",
|
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
"vitest": "^3.2.4",
|
|
69
69
|
"vue": "^3.5.18",
|
|
70
70
|
"vue-router": "^4.5.1",
|
|
71
|
-
"vue-tsc": "^3.0.4"
|
|
71
|
+
"vue-tsc": "^3.0.4",
|
|
72
|
+
"vueless": "^1.2.1-beta.2"
|
|
72
73
|
},
|
|
73
74
|
"sideEffects": false,
|
|
74
75
|
"style": "tailwind.css",
|
package/utils/node/storybook.js
CHANGED
|
@@ -51,7 +51,7 @@ export function defineConfigWithVueless(config) {
|
|
|
51
51
|
* @param {string} vuelessEnv - The Vueless environment.
|
|
52
52
|
* @return {Promise<string[]>} A promise that resolves to an array of glob patterns for Vueless stories.
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
async function getVuelessStoriesGlob(vuelessEnv) {
|
|
55
55
|
const vuelessSrcDir = vuelessEnv === INTERNAL_ENV ? VUELESS_LOCAL_DIR : VUELESS_PACKAGE_DIR;
|
|
56
56
|
const vuelessConfig = await getVuelessConfig();
|
|
57
57
|
const storiesGlob = [];
|