Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
Makisuo committed Dec 25, 2024
1 parent 8b7b427 commit 93345df
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 30 deletions.
62 changes: 62 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"ignore": ["**/*.js"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off",
"useImportType": "error"
},
"complexity": {
"useArrowFunction": "error"
},
"a11y": {
"noSvgWithoutTitle": "off"
},
"correctness": {
"useHookAtTopLevel": "error",
"noUnusedImports": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off",
"noConsoleLog": "warn"
},
"nursery": {
"useSortedClasses": "error"
}
},
"ignore": ["node_modules", ".next", "dist"]
},
"formatter": {
"enabled": true,
"indentStyle": "tab",
"indentWidth": 4,
"lineWidth": 120,
"ignore": ["node_modules", ".next", "dist"]
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"arrowParentheses": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"semicolons": "asNeeded",
"trailingCommas": "all"
}
},
"json": {
"formatter": {
"trailingCommas": "none"
}
}
}
Binary file modified bun.lockb
Binary file not shown.
53 changes: 28 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
{
"name": "justd-tanstack",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit",
"dev": "vite --port=3001",
"build": "vite build",
"serve": "vite preview",
"start": "vite"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@tanstack/router-plugin": "^1.91.1",
"@vitejs/plugin-react": "^4.3.2",
"vite": "^6.0.3"
},
"dependencies": {
"@tanstack/react-router": "^1.91.3",
"@tanstack/router-devtools": "^1.91.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}
"name": "justd-tanstack",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit",
"dev": "vite --port=3001",
"build": "vite build",
"serve": "vite preview",
"start": "vite"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@tailwindcss/vite": "^4.0.0-beta.8",
"@tanstack/router-plugin": "^1.91.1",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@vitejs/plugin-react": "^4.3.4",
"tailwindcss": "^4.0.0-beta.8",
"vite": "^6.0.5"
},
"dependencies": {
"@tanstack/react-router": "^1.92.3",
"@tanstack/router-devtools": "^1.92.3",
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}
11 changes: 6 additions & 5 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { TanStackRouterVite } from '@tanstack/router-plugin/vite'
import { TanStackRouterVite } from "@tanstack/router-plugin/vite"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"

import tailwindcss from "@tailwindcss/vite"

// https://vitejs.dev/config/
export default defineConfig({
plugins: [TanStackRouterVite({}), react()],
plugins: [TanStackRouterVite({}), react(), tailwindcss()],
})

0 comments on commit 93345df

Please sign in to comment.