Skip to content

Commit e1869f7

Browse files
committed
chore: changes before refactoring to monorepo.
1 parent f968eae commit e1869f7

File tree

11 files changed

+1522
-54
lines changed

11 files changed

+1522
-54
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
node_modules
22
dist
33
gitignore
4-
_context
4+
#_context
55

66
# tsup
77
tsup.config.bundled_*.{m,c,}s

bun.lock

Lines changed: 1473 additions & 0 deletions
Large diffs are not rendered by default.

bun.lockb

-314 KB
Binary file not shown.

dev/components/demos/base-demo.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ import {
1313
onCleanup,
1414
onMount,
1515
Show,
16-
splitProps,
17-
} from "solid-js"
18-
import { cn } from "@/utils/cn"
16+
# splitProps,
17+
#} from "solid-js"
18+
#import { cn } from "../../utils/cn"
1919

20-
// TODO: Dropdown (use @kobalte)
21-
// Dropdown
20+
#// TODO: Dropdown (use @kobalte)
21+
#// Dropdown
2222
// import {
2323
// Menu,
2424
// MenuButton,

dev/components/ui/dropdown-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { PolymorphicProps } from "@kobalte/core/polymorphic"
33
import type { Component, ComponentProps, JSX, ValidComponent } from "solid-js"
44
import { For, splitProps } from "solid-js"
55

6-
import { cn } from "@/utils/cn"
6+
import { cn } from "../../utils/cn"
77

88
const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger
99
const DropdownMenuPortal = DropdownMenuPrimitive.Portal

dev/components/ui/switch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as SwitchPrimitive from "@kobalte/core/switch"
33
import type { ComponentProps, JSX, ValidComponent } from "solid-js"
44
import { children, Show, splitProps } from "solid-js"
55

6-
import { cn } from "@/utils/cn"
6+
import { cn } from "../../utils/cn"
77

88
const Switch = SwitchPrimitive.Root
99
const SwitchDescription = SwitchPrimitive.Description

dev/components/ui/tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as TabsPrimitive from "@kobalte/core/tabs"
33
import type { ValidComponent } from "solid-js"
44
import { splitProps } from "solid-js"
55

6-
import { cn } from "@/utils/cn"
6+
import { cn } from "../../utils/cn"
77

88
const Tabs = TabsPrimitive.Root
99

dev/tsconfig.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
4-
"types": ["vite/client"],
5-
"paths": {
6-
"@/*": ["./dev/*"]
7-
}
8-
},
9-
"exclude": ["node_modules", "dist"]
4+
# "types": ["vite/client"],
5+
# "paths": {
6+
# // "@/*": ["./dev/*"]
7+
# }
8+
# },
9+
# "exclude": ["node_modules", "dist"]
1010
}

dev/vite.config.ts

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
import tailwindcss from "@tailwindcss/vite"
2-
import vike from "vike/plugin"
1+
#import tailwindcss from "@tailwindcss/vite"
2+
#import vike from "vike/plugin"
3+
#// Vike
4+
#import vikeSolid from "vike-solid/vite"
5+
#import { defineConfig } from "vite"
36

4-
// Vike
5-
import vikeSolid from "vike-solid/vite"
6-
import { defineConfig } from "vite"
7-
import tsConfigPaths from "vite-tsconfig-paths"
8-
9-
export default defineConfig({
10-
plugins: [
11-
tsConfigPaths({ root: "./" }),
12-
vike({
13-
prerender: true,
14-
}),
7+
#export default defineConfig({
8+
# root: ".",
9+
# plugins: [
10+
# vike({
11+
# prerender: true,
12+
# }),
1513
vikeSolid(),
1614
tailwindcss(),
1715
],

package.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,22 @@
1717
"@shikijs/rehype": "^3.19.0",
1818
"@tailwindcss/typography": "^0.5.15",
1919
"@tailwindcss/vite": "^4.1.17",
20-
"@types/node": "^20.12.12",
20+
"@types/node": "^24.10.1",
2121
"auto-changelog": "^2.5.0",
22-
"autoprefixer": "^10.4.20",
22+
"bagon-hooks": "^0.0.5",
2323
"clsx": "^2.1.1",
2424
"concurrently": "^8.2.2",
2525
"jsdom": "^24.0.0",
26-
"postcss": "^8.4.47",
27-
"solid-js": "^1.9.4",
26+
"solid-js": "^1.9.10",
2827
"solid-jsx": "^1.1.4",
2928
"tailwind-merge": "^3.4.0",
3029
"tailwindcss": "^4.1.17",
3130
"tsup": "^8.3.0",
3231
"tsup-preset-solid": "^2.2.0",
3332
"typescript": "^5.6.3",
34-
"vike": "^0.4.199",
35-
"vike-metadata-solid": "^1.0.4",
36-
"vike-solid": "^0.7.6",
37-
"vite": "^5.4.9",
33+
"vike": "^0.4.247",
34+
"vike-solid": "^0.7.13",
35+
"vite": "^7.2.6",
3836
"vite-plugin-solid": "^2.10.2",
3937
"vite-tsconfig-paths": "^5.1.4",
4038
"vitest": "^1.6.0"
@@ -92,10 +90,10 @@
9290
"license": "MIT",
9391
"private": false,
9492
"scripts": {
95-
"dev": "vite serve dev",
93+
"dev": "vike dev",
9694
"build": "tsup",
97-
"build:site": "vite build dev",
98-
"preview:site": "vite preview dev",
95+
"build:site": "vike build dev",
96+
"preview:site": "vike preview dev",
9997
"test": "concurrently bun:test:*",
10098
"test:client": "vitest",
10199
"test:ssr": "bun run test:client --mode ssr",

0 commit comments

Comments
 (0)