Skip to content

Commit

Permalink
port dev env from CRA to Vite and refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
BoringBoredom committed Jan 9, 2024
1 parent aece7b4 commit a631ecd
Show file tree
Hide file tree
Showing 28 changed files with 3,997 additions and 15,296 deletions.
27 changes: 27 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:react/jsx-runtime",
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
project: ["./tsconfig.json", "./tsconfig.node.json"],
tsconfigRootDir: __dirname,
},
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
};
22 changes: 0 additions & 22 deletions .eslintrc.json

This file was deleted.

41 changes: 20 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

.vscode
node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
28 changes: 28 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/bios.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Aptio V UEFI Editor" />
<title>UEFI Editor</title>
<meta property="og:title" content="UEFI Editor" />
<meta property="og:description" content="Aptio V UEFI Editor" />
<meta
property="og:image"
content="https://raw.githubusercontent.com/BoringBoredom/UEFI-Editor/gh-pages/bios.png"
/>
<meta property="og:type" content="website" />
<meta name="twitter:title" content="UEFI Editor" />
<meta name="twitter:description" content="Aptio V UEFI Editor" />
<meta
name="twitter:image"
content="https://raw.githubusercontent.com/BoringBoredom/UEFI-Editor/gh-pages/bios.png"
/>
<meta name="twitter:card" content="summary" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading

0 comments on commit a631ecd

Please sign in to comment.