Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
thien-do committed Jul 6, 2024
1 parent bb1c9c3 commit 4c15be6
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 73 deletions.
17 changes: 14 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -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: {
Expand Down
13 changes: 0 additions & 13 deletions index.html

This file was deleted.

17 changes: 7 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": "[email protected]"
}
13 changes: 13 additions & 0 deletions package.json.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion package.json.txt

This file was deleted.

31 changes: 0 additions & 31 deletions tsconfig.app.json

This file was deleted.

13 changes: 0 additions & 13 deletions tsconfig.node.json

This file was deleted.

3 changes: 1 addition & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -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()],
})

0 comments on commit 4c15be6

Please sign in to comment.