storybook-framework-qwik 0.4.2 → 0.4.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.
@@ -1,3 +1,3 @@
1
1
  import { FunctionComponent } from "@builder.io/qwik";
2
2
  import { Args } from "./types.js";
3
- export declare const componentToJSX: (Component: FunctionComponent, args: Args) => any;
3
+ export declare const componentToJSX: (Component: FunctionComponent, args: Args) => import("@builder.io/qwik").JSXOutput;
package/dist/preset.js CHANGED
@@ -2,6 +2,8 @@ import { mergeConfig } from "vite";
2
2
  import { QWIK_LOADER } from "@builder.io/qwik/loader";
3
3
  import { qwikDocgen } from "./docs/qwik-docgen.js";
4
4
  import { dirname, join } from "path";
5
+ import { createRequire } from "module";
6
+ const require = createRequire(import.meta.url);
5
7
  const wrapForPnP = (input) => dirname(require.resolve(join(input, "package.json")));
6
8
  export const core = {
7
9
  builder: wrapForPnP("@storybook/builder-vite"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-framework-qwik",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Storybook for Qwik: View Qwik components in isolation.",
5
5
  "keywords": [
6
6
  "storybook",