Skip to content

Commit

Permalink
feat: ditch cra and use vite
Browse files Browse the repository at this point in the history
  • Loading branch information
hlolli committed Sep 14, 2024
1 parent f52cce7 commit 8f8ac7f
Show file tree
Hide file tree
Showing 32 changed files with 6,329 additions and 3,662 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

76 changes: 0 additions & 76 deletions .eslintrc

This file was deleted.

3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run precommit-hook
15 changes: 15 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ["config/*", "scripts/*", "public/*", "*.test.tsx"],

rules: {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
);
24 changes: 14 additions & 10 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand All @@ -8,30 +8,34 @@
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="theme-color" content="#000000" />
<link
rel="manifest"
href="<%= htmlWebpackPlugin.options.PUBLIC_URL %>/manifest.json"
/>
<link rel="manifest" href="/manifest.json" />
<link rel="preconnect" href="https://fonts.gstatic.com" />

<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
/>

<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet"
/>

<link
href="https://fonts.googleapis.com/css?family=Fira+Mono:400,500,700&display=swap"
rel="stylesheet"
/>


<!-- <link rel="icon" type="image/png" id="favicon" /> -->
<link rel="shortcut icon" href="/favicon.ico"/>
<link rel="apple-touch-icon" sizes="32x32" href="/favicon32x32.png"/><link >
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="32x32" href="/favicon32x32.png" />
<link />

<title>Csound Web-IDE</title>
</head>
<body>
<noscript> You need to enable JavaScript to run this app. </noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>
Loading

0 comments on commit 8f8ac7f

Please sign in to comment.