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
46 changes: 46 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
time: "06:00"
commit-message:
prefix: "chore"
labels:
- "dependencies"
open-pull-requests-limit: 5
groups:
dependencies:
patterns:
- "*"

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
time: "06:00"
commit-message:
prefix: "chore"
labels:
- "dependencies"
open-pull-requests-limit: 5
groups:
dependencies:
patterns:
- "*"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
time: "06:00"
commit-message:
prefix: "chore"
labels:
- "dependencies"
open-pull-requests-limit: 5
groups:
dependencies:
patterns:
- "*"
5 changes: 4 additions & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ jobs:
run: npm ci

- name: Check code quality 🔍
run: node --run check
run: node --run lint

- name: Check code formatting 🎨
run: node --run format:check
5 changes: 5 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"ignorePatterns": ["**/src/routeTree.gen.ts", "**/src/styles.css"],
"useTabs": true
}
26 changes: 26 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["oxc", "typescript", "unicorn", "react", "react-perf", "promise"],
"env": {
"browser": true
},
"rules": {
"no-alert": "error",
"no-console": "error",
"no-empty": "error",
"no-empty-function": "error",
"no-proto": "error",
"no-regex-spaces": "error",
"eqeqeq": "error",
"no-prototype-builtins": "error",
"require-await": "error",
"curly": "error",
"prefer-await-to-then": "error",
"func-names": ["error", "as-needed"],
"no-eval": "error",
"no-var": "error",
"no-warning-comments": "error",
"no-duplicate-imports": "error"
},
"ignorePatterns": ["dist/", "node_modules/", "build/", "**/routeTree.gen.ts", ".tanstack/"]
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["biomejs.biome"]
"recommendations": ["oxc.oxc-vscode"]
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome"
"editor.formatOnSave": true,
"editor.defaultFormatter": "oxc.oxc-vscode"
}
30 changes: 30 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM node:24-alpine AS builder

WORKDIR /app

COPY package.json package-lock.json* ./
RUN npm ci

COPY . .
RUN npm run build

FROM nginx:alpine

COPY --from=builder /app/dist/client /usr/share/nginx/html/docs

RUN printf 'server {\n\
listen 80;\n\
root /usr/share/nginx/html;\n\
\n\
location /docs {\n\
try_files $uri $uri/ /docs/index.html;\n\
}\n\
\n\
location = / {\n\
return 301 /docs;\n\
}\n\
}\n' > /etc/nginx/conf.d/default.conf

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]
33 changes: 0 additions & 33 deletions biome.json

This file was deleted.

6 changes: 3 additions & 3 deletions content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ Hey there! Fumadocs is the docs framework that also works on Tanstack Start!
Hello World!

<Cards>
<Card title="Learn more about Tanstack Start" href="https://tanstack.com/start" />
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
<Card title="Learn more about Tanstack Start" href="https://tanstack.com/start" />
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
</Cards>

### CodeBlock

```ts
console.log('Hello World');
console.log("Hello World");
```

#### Table
Expand Down
Loading