Skip to content

Commit 2a264fa

Browse files
committed
Migrate from CRA to Vite
1 parent 4c764d7 commit 2a264fa

12 files changed

Lines changed: 7075 additions & 17706 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

craco.config.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,17 @@ export default [
3030
{
3131
rules: {
3232
"no-unused-vars": "off",
33-
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
33+
"@typescript-eslint/no-unused-vars": [
34+
"warn",
35+
{
36+
argsIgnorePattern: "^_",
37+
}
38+
],
39+
"react/react-in-jsx-scope": "off",
3440
"quotes": ["error", "double", { avoidEscape: true }],
3541
"@stylistic/indent": ["error", 2],
3642
"@stylistic/jsx-quotes": ["error"],
3743
"@stylistic/semi": ["error", "always"],
38-
"no-console": ["warn"],
3944
}
4045
},
4146
];

index.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<!-- Favicon -->
6+
<link rel="icon" type="image/png" href="/favicon96.png" sizes="96x96" />
7+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
8+
<link rel="shortcut icon" href="/favicon.ico" />
9+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
10+
<link rel="manifest" href="/manifest.json" />
11+
12+
<meta name="viewport" content="width=device-width, initial-scale=1" />
13+
<meta name="theme-color" content="#011936" />
14+
<meta
15+
name="description"
16+
content="A web application that generates an Entity-Relationship Diagram (ERD) from a SQLite database file"
17+
/>
18+
<meta property="og:image" content="/logo512.png" />
19+
<meta property="og:image:width" content="512" />
20+
<meta property="og:image:height" content="512" />
21+
22+
<title>SQLite ERD</title>
23+
</head>
24+
<body>
25+
<noscript>You need to enable JavaScript to run this app.</noscript>
26+
<div id="root"></div>
27+
<script type="module" src="/src/index.tsx"></script>
28+
</body>
29+
</html>

0 commit comments

Comments
 (0)