@vueless/storybook 1.2.1-beta.4 → 1.2.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/.storybook-js/themes/preview.css +1 -1
- package/.storybook-js/vite.config.js +1 -1
- package/.storybook-ts/themes/preview.css +1 -1
- package/.storybook-ts/vite.config.ts +1 -1
- package/README.md +1 -1
- package/index.browser.js +2 -0
- package/index.d.ts +4 -6
- package/index.js +1 -2
- package/package.json +11 -3
- package/webTypes/index.js +1 -1
|
@@ -2,7 +2,7 @@ import { defineConfig } from "vite";
|
|
|
2
2
|
|
|
3
3
|
// Plugins
|
|
4
4
|
import Vue from "@vitejs/plugin-vue";
|
|
5
|
-
import { Vueless, TailwindCSS } from "vueless/plugin-vite";
|
|
5
|
+
import { Vueless, TailwindCSS } from "vueless/plugin-vite.js";
|
|
6
6
|
import { STORYBOOK_ENV } from "vueless/constants.js";
|
|
7
7
|
|
|
8
8
|
export default defineConfig({
|
|
@@ -2,7 +2,7 @@ import { defineConfig } from "vite";
|
|
|
2
2
|
|
|
3
3
|
// Plugins
|
|
4
4
|
import Vue from "@vitejs/plugin-vue";
|
|
5
|
-
import { Vueless, TailwindCSS } from "vueless/plugin-vite";
|
|
5
|
+
import { Vueless, TailwindCSS } from "vueless/plugin-vite.js";
|
|
6
6
|
import { STORYBOOK_ENV } from "vueless/constants.js";
|
|
7
7
|
|
|
8
8
|
export default defineConfig({
|
package/README.md
CHANGED
package/index.browser.js
ADDED
package/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
export declare function defineConfigWithVueless(options?: any): () => any;
|
|
2
|
+
export declare function getVuelessStoriesGlob(vuelessEnv?: string): Promise<string[]>;
|
|
2
3
|
|
|
3
|
-
export { storyDarkModeDecorator } from "./decorators/storyDarkModeDecorator";
|
|
4
|
-
export { vue3SourceDecorator } from "./decorators/vue3SourceDecorator";
|
|
5
|
-
|
|
6
|
-
export declare function defineConfigWithVueless(options?: UnknownObject): () => UnknownObject;
|
|
7
|
-
export function getVuelessStoriesGlob(vuelessEnv?: string): Promise<string[]>;
|
|
4
|
+
export { storyDarkModeDecorator } from "./decorators/storyDarkModeDecorator.js";
|
|
5
|
+
export { vue3SourceDecorator } from "./decorators/vue3SourceDecorator.js";
|
package/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { vue3SourceDecorator } from "./decorators/vue3SourceDecorator";
|
|
1
|
+
export { buildWebTypes } from "./webTypes/index.js";
|
|
3
2
|
|
|
4
3
|
import { getVuelessConfig } from "vueless/utils/node/vuelessConfig.js";
|
|
5
4
|
import {
|
package/package.json
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vueless/storybook",
|
|
3
|
-
"version": "1.2.1-beta.
|
|
3
|
+
"version": "1.2.1-beta.6",
|
|
4
4
|
"description": "Simplifies Storybook configuration for Vueless UI library.",
|
|
5
5
|
"author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
|
|
6
6
|
"homepage": "https://vueless.com",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"type": "module",
|
|
10
8
|
"publishConfig": {
|
|
11
9
|
"access": "public"
|
|
12
10
|
},
|
|
@@ -58,6 +56,16 @@
|
|
|
58
56
|
"vue-tsc": "^3.0.6",
|
|
59
57
|
"vueless": "^1.2.2"
|
|
60
58
|
},
|
|
59
|
+
"type": "module",
|
|
60
|
+
"main": "index.js",
|
|
61
|
+
"types": "./index.d.ts",
|
|
62
|
+
"exports": {
|
|
63
|
+
".": {
|
|
64
|
+
"node": "./index.js",
|
|
65
|
+
"types": "./index.d.ts",
|
|
66
|
+
"browser": "./index.browser.js"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
61
69
|
"overrides": {
|
|
62
70
|
"vue-docgen-api": {
|
|
63
71
|
"vue": "latest",
|
package/webTypes/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { extractConfig } from "./lib/config.js";
|
|
3
3
|
import build from "./lib/build.js";
|
|
4
4
|
|
|
5
|
-
export
|
|
5
|
+
export async function buildWebTypes(vuelessConfig, srcDir) {
|
|
6
6
|
const config = await extractConfig();
|
|
7
7
|
|
|
8
8
|
build(config, vuelessConfig, srcDir);
|