diff --git a/.changeset/config.json b/.changeset/config.json index a109e23..a5e95f4 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,5 +7,11 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": ["@qwikdev/astro-website", "astro-deno-demo", "astro-node-demo", "astro-demo"] + "ignore": [ + "@qwikdev/astro-website", + "astro-deno-demo", + "astro-node-demo", + "astro-demo", + "demo-lib" + ] } diff --git a/apps/demo/src/components/qwik/counter.tsx b/apps/demo/src/components/qwik/counter.tsx index 49b16ea..90597e2 100644 --- a/apps/demo/src/components/qwik/counter.tsx +++ b/apps/demo/src/components/qwik/counter.tsx @@ -4,10 +4,8 @@ export const Counter = component$<{ initial: number }>((props) => { const counter = useSignal(props.initial); return ( - <> - - > + ); }); diff --git a/apps/node-demo/package.json b/apps/node-demo/package.json index 081cb7c..256c50f 100644 --- a/apps/node-demo/package.json +++ b/apps/node-demo/package.json @@ -20,6 +20,7 @@ "@types/react-dom": "^18.2.21", "astro": "^4.12.2", "react": "^18.2.0", - "react-dom": "^18.2.0" + "react-dom": "^18.2.0", + "demo-lib": "workspace:*" } } diff --git a/apps/node-demo/src/pages/index.astro b/apps/node-demo/src/pages/index.astro index 8baeb19..23a52c9 100644 --- a/apps/node-demo/src/pages/index.astro +++ b/apps/node-demo/src/pages/index.astro @@ -1,6 +1,5 @@ --- -import { Counter } from "@components/qwik/counter"; -import { SayHi } from "@components/qwik/say-hi"; +import { Counter } from "demo-lib"; --- @@ -13,9 +12,7 @@ import { SayHi } from "@components/qwik/say-hi";