Skip to content

Commit 099fc39

Browse files
authored
Merge pull request #7 from Blooym/use-vite
use vite, better log view, update tailwind
2 parents fa53fd2 + c78047e commit 099fc39

15 files changed

Lines changed: 1584 additions & 11799 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
# production
1212
/build
13+
/dist
1314

1415
# misc
1516
.DS_Store
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
4+
<meta charset="UTF-8" />
5+
<link rel="icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
8-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
8+
<link rel="manifest" href="/manifest.json" />
99
<title>loggy</title>
1010
</head>
1111
<body>
1212
<noscript>You need to enable JavaScript to run this app.</noscript>
1313
<div id="root"></div>
14+
<script type="module" src="/src/index.jsx"></script>
1415
</body>
1516
</html>

package.json

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,11 @@
22
"name": "loggy",
33
"version": "0.1.0",
44
"private": true,
5-
"homepage": "https://notnite.github.io/loggy",
6-
"dependencies": {
7-
"@testing-library/jest-dom": "^6.9.1",
8-
"@testing-library/react": "^16.3.1",
9-
"@testing-library/user-event": "^14.6.1",
10-
"@types/jest": "^30.0.0",
11-
"@types/node": "^20",
12-
"@types/react": "^19.2.7",
13-
"@types/react-dom": "^19.2.3",
14-
"buffer": "^6.0.3",
15-
"jszip": "^3.10.1",
16-
"react": "^19.2.3",
17-
"react-dom": "^19.2.3",
18-
"react-router-dom": "7",
19-
"react-scripts": "5.0.1",
20-
"typescript": "^5.9.3",
21-
"url-safe-base64": "^1.3.0",
22-
"web-vitals": "^5.1.0"
23-
},
5+
"homepage": "https://loggy.goat.place",
246
"scripts": {
25-
"start": "react-scripts start",
26-
"build": "react-scripts build",
27-
"test": "react-scripts test",
28-
"eject": "react-scripts eject"
7+
"dev": "vite",
8+
"build": "vite build",
9+
"preview": "vite preview"
2910
},
3011
"eslintConfig": {
3112
"extends": [
@@ -46,8 +27,24 @@
4627
]
4728
},
4829
"devDependencies": {
49-
"autoprefixer": "^10.4.8",
50-
"postcss": "^8.4.14",
51-
"tailwindcss": "^3.1.7"
30+
"@tailwindcss/vite": "^4.1.18",
31+
"@vitejs/plugin-react": "^5.1.2",
32+
"tailwindcss": "^4.1.18",
33+
"vite": "^7.3.0",
34+
"@types/jest": "^30.0.0",
35+
"@types/node": "^25.0.3",
36+
"@types/react": "^19.2.7",
37+
"@types/react-dom": "^19.2.3",
38+
"@testing-library/jest-dom": "^6.9.1",
39+
"@testing-library/react": "^16.3.1",
40+
"@testing-library/user-event": "^14.6.1",
41+
"buffer": "^6.0.3",
42+
"jszip": "^3.10.1",
43+
"react": "^19.2.3",
44+
"react-dom": "^19.2.3",
45+
"react-router-dom": "7",
46+
"typescript": "^5.9.3",
47+
"url-safe-base64": "^1.3.0",
48+
"web-vitals": "^5.1.0"
5249
}
5350
}

0 commit comments

Comments
 (0)