Basic setup

This commit is contained in:
shamoon
2026-02-02 21:21:22 -08:00
parent 99f1540d8c
commit b497b877db
4 changed files with 1380 additions and 1 deletions

View File

@@ -8,6 +8,8 @@
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "eslint .", "lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest",
"telemetry": "next telemetry disable" "telemetry": "next telemetry disable"
}, },
"dependencies": { "dependencies": {
@@ -57,12 +59,16 @@
"eslint-plugin-prettier": "^5.5.4", "eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.4", "eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-hooks": "^5.2.0",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"jsdom": "^26.1.0",
"postcss": "^8.5.6", "postcss": "^8.5.6",
"prettier": "^3.7.3", "prettier": "^3.7.3",
"prettier-plugin-organize-imports": "^4.3.0", "prettier-plugin-organize-imports": "^4.3.0",
"tailwind-scrollbar": "^4.0.2", "tailwind-scrollbar": "^4.0.2",
"tailwindcss": "^4.1.18", "tailwindcss": "^4.1.18",
"typescript": "^5.7.3" "typescript": "^5.7.3",
"vitest": "^3.2.4"
}, },
"optionalDependencies": { "optionalDependencies": {
"osx-temperature-sensor": "^1.0.8" "osx-temperature-sensor": "^1.0.8"

1363
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

9
vitest.config.mjs Normal file
View File

@@ -0,0 +1,9 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "node",
setupFiles: ["./vitest.setup.js"],
include: ["src/**/*.test.{js,jsx}", "src/**/*.spec.{js,jsx}"],
},
});

1
vitest.setup.js Normal file
View File

@@ -0,0 +1 @@
import "@testing-library/jest-dom/vitest";