Skip to content

Commit

Permalink
Migrate to Vite
Browse files Browse the repository at this point in the history
Followed this guide:

  https://medium.com/@aishwaryaparab1/deploying-vite-deploying-vite-app-to-github-pages-166fff40ffd3

Note that apps no longer need a service worker to be considered
installable:

> "The goal of the existing install criteria is to incentivize
> developers to invest in high quality user experiences and to meet
> user
> expectations when software is installed. However, the requirements in
> the criteria didn't always produce that higher quality experience. For
> example, the service worker check was meant as a proxy for detecting
> sites with some offline experience, but sites added service workers
> with empty fetch handlers to satisfy the criteria. This hurts web
> performance instead of improving the experience, and (Chrome
> eventually mitigated the problem by ignoring empty handlers)."

  https://developer.chrome.com/blog/update-install-criteria
  • Loading branch information
dgmstuart committed Apr 16, 2024
1 parent 5b316a0 commit 119e529
Show file tree
Hide file tree
Showing 12 changed files with 6,868 additions and 27,666 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm install
- name: Check types
Expand All @@ -19,15 +19,15 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm ci
- run: npm run test

eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm ci
- run: npm run lint
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/coverage

# production
/build
/dist

# misc
.DS_Store
Expand Down
21 changes: 21 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="An app for playing bingo with Lindy Hop team routines"
/>
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />
<title>Team Lindy Bingo</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 119e529

Please sign in to comment.