Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
bun-version: latest
- run: bun install --frozen-lockfile
- name: Run type check
run: bun -b type-check
run: bun type-check

lint:
runs-on: ubuntu-latest
Expand All @@ -46,7 +46,7 @@ jobs:
bun-version: latest
- run: bun install --frozen-lockfile
- name: Run fmt
run: bun -b fmt --check
run: bun fmt --check

test:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"experimentalSortImports": { "newlinesBetween": false },
"experimentalTailwindcss": {
"sortImports": { "newlinesBetween": false },
"sortTailwindcss": {
"stylesheet": "./src/styles.css",
"attributes": ["classnames", "classNames", "className", "clsx", "class"],
"functions": ["clsx", "cn", "cva"],
Expand Down
4 changes: 2 additions & 2 deletions .prototools
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bun = "1.3.9"
node = "25.3.0"
bun = "1.3.10"
node = "25.3.1"

[settings]
auto-install = true
15 changes: 7 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"typescript.experimental.useTsgo": true,
"typescript.preferences.importModuleSpecifierPreference": "non-relative",
"typescript.preferences.importModuleSpecifier": "non-relative",

"files.watcherExclude": {
"**/routeTree.gen.ts": true
},
Expand All @@ -13,24 +14,18 @@
},

"auto-close-tag.disableOnLanguage": ["typescript", "typescriptreact"],

"tailwindCSS.emmetCompletions": true,
"tailwindCSS.classAttributes": ["classnames", "classNames", "className", "clsx"],
"tailwindCSS.experimental.classRegex": [
["cn\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"],
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
],

"prettier.enable": false,
"eslint.enable": false,
"biome.enabled": false,
"oxc.enable": true,
"oxc.typeAware": true,
"oxc.unusedDisableDirectives": "warn",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always",
"source.fixAll.oxc": "always"
},
"oxc.fmt.configPath": ".oxfmtrc.json",
"editor.defaultFormatter": "oxc.oxc-vscode",
"[javascript]": {
Expand Down Expand Up @@ -64,5 +59,9 @@
"source.organizeImports": "never",
"source.fixAll": "never"
}
}
},

"prettier.enable": false,
"eslint.enable": false,
"biome.enabled": false
}
372 changes: 179 additions & 193 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion deployment/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oven/bun:1-alpine AS base
FROM oven/bun:1.3.10-alpine AS base
WORKDIR /app
ENV NODE_ENV=production
ENV BUILD_ENV=production
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "miniverso",
"version": "1.9.4",
"version": "1.10.0",
"private": true,
"type": "module",
"scripts": {
Expand Down Expand Up @@ -46,11 +46,11 @@
"@tanstack/query-core": "^5.90.20",
"@tanstack/react-form": "^1.28.3",
"@tanstack/react-query": "^5.90.21",
"@tanstack/react-router": "^1.161.3",
"@tanstack/react-router-ssr-query": "^1.161.3",
"@tanstack/react-start": "^1.161.3",
"@tanstack/react-router": "^1.163.2",
"@tanstack/react-router-ssr-query": "^1.163.2",
"@tanstack/react-start": "^1.163.2",
"@tanstack/react-table": "^8.21.3",
"better-auth": "^1.4.18",
"better-auth": "^1.4.19",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
Expand All @@ -68,37 +68,37 @@
"zod": "^4.3.6"
},
"devDependencies": {
"@tailwindcss/vite": "^4.2.0",
"@tailwindcss/vite": "^4.2.1",
"@tanstack/devtools-vite": "^0.5.1",
"@tanstack/react-devtools": "^0.9.6",
"@tanstack/react-form-devtools": "^0.2.16",
"@tanstack/react-query-devtools": "^5.91.3",
"@tanstack/react-router-devtools": "^1.161.3",
"@tanstack/router-plugin": "^1.161.3",
"@tanstack/react-router-devtools": "^1.163.2",
"@tanstack/router-plugin": "^1.163.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/bun": "^1.3.9",
"@types/node": "^25.3.0",
"@types/node": "^25.3.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript/native-preview": "7.0.0-dev.20260220.1",
"@typescript/native-preview": "7.0.0-dev.20260225.1",
"@vitejs/plugin-react": "^5.1.4",
"cross-env": "^10.1.0",
"drizzle-kit": "0.31.9",
"jsdom": "^28.1.0",
"oxfmt": "^0.34.0",
"oxlint": "^1.49.0",
"oxlint-tsgolint": "^0.14.2",
"oxfmt": "^0.35.0",
"oxlint": "^1.50.0",
"oxlint-tsgolint": "^0.15.0",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.0",
"tailwindcss": "^4.2.1",
"tailwindcss-animate": "^1.0.7",
"vite": "8.0.0-beta.15"
},
"overrides": {
"vite": "8.0.0-beta.15"
},
"engines": {
"bun": ">=1.3.9",
"bun": ">=1.3.10",
"node": ">=25"
},
"_notes": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { $getNextOrderReference } from '@/server/functions/inventory/order-refer
export function NextReference({ prefixId }: { prefixId: string }) {
const { data } = useQuery({
queryKey: ['next-order-ref', prefixId],
queryFn: () => $getNextOrderReference({ data: { prefixId } }),
queryFn: ({ signal }) => $getNextOrderReference({ data: { prefixId }, signal }),
})
return data ? <p className="text-xs text-muted-foreground">Next reference: {data}</p> : null
}
2 changes: 1 addition & 1 deletion src/server/functions/column-visibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function parseVisibilityState(raw: unknown): VisibilityState {
export function getColumnVisibilityQueryOptions(key: string) {
return queryOptions({
queryKey: ['columnVisibility', key] as const,
queryFn: () => $getColumnVisibility({ data: { key } }),
queryFn: ({ signal }) => $getColumnVisibility({ data: { key }, signal }),
staleTime: 1000 * 60 * 5,
})
}
Expand Down