diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 29cb6d5a..cd699f2d 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -1,8 +1,19 @@
module.exports = {
root: true,
- env: { browser: true, es2020: true },
- extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'plugin:storybook/recommended'],
- ignorePatterns: ['dist', '.eslintrc.cjs'],
+ env: {
+ browser: true,
+ es2020: true
+ },
+ extends: [
+ 'eslint:recommended',
+ 'plugin:@typescript-eslint/recommended',
+ 'plugin:react-hooks/recommended',
+ 'plugin:storybook/recommended'
+ ],
+ ignorePatterns: [
+ 'dist',
+ '.eslintrc.cjs'
+ ],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
diff --git a/index.html b/index.html
deleted file mode 100644
index e4b78eae..00000000
--- a/index.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
- Vite + React + TS
-
-
-
-
-
-
diff --git a/package.json b/package.json
index b773bf43..44293f46 100644
--- a/package.json
+++ b/package.json
@@ -1,15 +1,12 @@
{
- "name": "new_root",
+ "name": "moai",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
- "dev": "vite",
- "build": "tsc -b && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
- "preview": "vite preview",
- "storybook": "storybook dev -p 6006",
- "build-storybook": "storybook build"
+ "dev": "storybook dev -p 6006",
+ "build": "storybook build"
},
"dependencies": {
"@storybook/theming": "^8.1.11",
@@ -22,16 +19,16 @@
"@storybook/react-vite": "^8.1.11",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "@typescript-eslint/eslint-plugin": "^7.13.1",
- "@typescript-eslint/parser": "^7.13.1",
+ "@typescript-eslint/eslint-plugin": "^7.15.0",
+ "@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"eslint-plugin-storybook": "^0.8.0",
"storybook": "^8.1.11",
- "typescript": "^5.2.2",
- "vite": "^5.3.1"
+ "typescript": "^5.5.3",
+ "vite": "^5.3.3"
},
"packageManager": "pnpm@9.4.0"
}
\ No newline at end of file
diff --git a/package.json.md b/package.json.md
new file mode 100644
index 00000000..b83acb2c
--- /dev/null
+++ b/package.json.md
@@ -0,0 +1,13 @@
+```
+"storybook-dark-mode": "4.0.1",
+```
+
+4.0.2 has a bug in Docs Container.
+See https://github.com/hipstersmoothie/storybook-dark-mode/issues/282
+
+```
+"eslint": "^8.57.0",
+```
+
+TypeScript ESLint does not support ESLint 9 yet.
+See https://github.com/typescript-eslint/typescript-eslint/issues/8211
diff --git a/package.json.txt b/package.json.txt
deleted file mode 100644
index 158a33bf..00000000
--- a/package.json.txt
+++ /dev/null
@@ -1 +0,0 @@
-https://github.com/hipstersmoothie/storybook-dark-mode/issues/282
diff --git a/tsconfig.app.json b/tsconfig.app.json
deleted file mode 100644
index 214149ae..00000000
--- a/tsconfig.app.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "compilerOptions": {
- "composite": true,
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
- "target": "ES2020",
- "useDefineForClassFields": true,
- "lib": [
- "ES2020",
- "DOM",
- "DOM.Iterable"
- ],
- "module": "ESNext",
- "skipLibCheck": true,
- /* Bundler mode */
- "moduleResolution": "bundler",
- "allowImportingTsExtensions": true,
- "resolveJsonModule": true,
- "isolatedModules": true,
- "moduleDetection": "force",
- "noEmit": true,
- "jsx": "preserve",
- /* Linting */
- "strict": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "noFallthroughCasesInSwitch": true
- },
- "include": [
- "src"
- ]
-}
\ No newline at end of file
diff --git a/tsconfig.node.json b/tsconfig.node.json
deleted file mode 100644
index 3afdd6e3..00000000
--- a/tsconfig.node.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "compilerOptions": {
- "composite": true,
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
- "skipLibCheck": true,
- "module": "ESNext",
- "moduleResolution": "bundler",
- "allowSyntheticDefaultImports": true,
- "strict": true,
- "noEmit": true
- },
- "include": ["vite.config.ts"]
-}
diff --git a/vite.config.ts b/vite.config.ts
index 5a33944a..ae745180 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,7 +1,6 @@
-import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
+import { defineConfig } from 'vite'
-// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
})