Skip to content

Commit

Permalink
Merge pull request #6 from kunai-consulting/pkg-change
Browse files Browse the repository at this point in the history
add in the feed component and packages to the docs demo
  • Loading branch information
thejackshelton-kunaico authored Aug 13, 2024
2 parents ba745da + 190850c commit 33f6a98
Showing 11 changed files with 20 additions and 63 deletions.
4 changes: 3 additions & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -34,7 +34,9 @@
"vite": "5.3.5",
"vite-tsconfig-paths": "^4.2.1",
"@types/estree-jsx": "1.0.5",
"unified": "^11.0.4"
"unified": "^11.0.4",
"@kunai-consulting/qwik-components": "workspace:*",
"@kunai-consulting/qwik-hooks": "workspace:*"
},
"dependencies": {
"clsx": "^2.1.1",
3 changes: 2 additions & 1 deletion apps/docs/src/routes/intro/examples/test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { component$ } from "@builder.io/qwik";
import { Feed } from "@kunai-consulting/qwik-components";

export default component$(() => {
return <div>Hello World</div>;
return <Feed />;
});
21 changes: 0 additions & 21 deletions libs/components/src/components/counter/counter.test.ts

This file was deleted.

16 changes: 0 additions & 16 deletions libs/components/src/components/counter/counter.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions libs/components/src/components/logo/logo.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions libs/components/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { Logo } from "./components/logo/logo";
export { Counter } from "./components/counter/counter";
export * from "./styled";
6 changes: 1 addition & 5 deletions libs/components/src/root.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import { Counter } from "./components/counter/counter";
import { Logo } from "./components/logo/logo";

export default () => {
return (
<>
@@ -9,8 +6,7 @@ export default () => {
<title>Qwik Blank App</title>
</head>
<body>
<Logo />
<Counter />
<h1>Hello World</h1>
</body>
</>
);
5 changes: 5 additions & 0 deletions libs/components/src/styled/feed/feed.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { component$ } from "@builder.io/qwik";

export const Feed = component$(() => {
return <div>Feed</div>;
});
1 change: 1 addition & 0 deletions libs/components/src/styled/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./feed/feed";
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"dev": "pnpm --filter ./apps/docs dev",
"build": "pnpm --filter ./libs/headless build",
"build": "pnpm --filter ./libs/hooks build && pnpm --filter ./libs/components build",
"preview": "pnpm --filter ./apps/docs preview",
"check": "biome ci .",
"check.format": "biome format .",
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 33f6a98

Please sign in to comment.