Commit Graph

13 Commits

Author SHA1 Message Date
Jeremy Kahn
1660fcf4e2 chore(deps): use peaceiris/actions-gh-pages@v4 2024-07-27 16:29:01 -05:00
Jeremy Kahn
72526ebbbb chore(deps): use node 20 2024-04-07 17:10:29 -05:00
Jeremy Kahn
7c5c12178d fix(pwa): use compatible service worker name
This restores backwards compatibility with create-react-app-based builds
2024-03-13 07:27:21 -05:00
Jeremy Kahn
520b863f2a fix(pwa): add upgrade compatibility shim
This is needed to fix automatic PWA updates after ea34058fa7
2024-03-13 07:16:12 -05:00
Jeremy Kahn
ea34058fa7
chore: Migrate from Create React App to Vite (#231)
* chore(vite): use vite

* fix(vite): alias lib directory

* chore(vite): set type: module

* chore: update vite and MUI

* fix(vite): make MUI components load

* fix: use node path resolution

* chore(vite): add svg support

* fix(vite): polyfill global

* fix(vite): use import.meta

* fix(vite): use correct svg module resolution

* chore(vite): migrate to vitest

* fix(vite): remove PUBLIC_URL

* fix(tests): mock audio service

* chore(deps): upgrade to react test library 14

* refactor(tests): simplify room test setup

* refactor(tests): make Date.now() mockable

* refactor(vite): remove bootstrap shim

* chore(deps): drop react-scripts

* chore(deps): remove source-map-explorer

Source maps do not currently work with MUI and Vite:
https://github.com/vitejs/vite/issues/15012

Because of this, source map utilities are currently removed.

* refactor(vite): use TypeScript for Vite config

* chore(actions): update actions config for new paths

* fix(service-worker): use VITE_HOMEPAGE for service worker resolution

* fix(vercel): use quotes for build command

* fix(vite): use import.meta.env.MODE

* fix(service-worker): use correct definition for publicUrl

* feat(vite): use vite-plugin-pwa

* fix(pwa): make update prompt work

* fix(types): use vite/client types

* docs(readme): update building instructions

* refactor(vite): simplify theme loading workaround

* refactor(vite): use manifest object

* docs(readme): update tool references

* chore(deps): run `npm audit fix`

* fix(vite): make syntax highlighter work consistently

See: https://github.com/react-syntax-highlighter/react-syntax-highlighter/issues/513

* fix(pwa): remove manifest.json references

* refactor(deps): remove jest references

* refactor(types): remove react-scripts reference

* chore(deps): use TypeScript 5

* refactor(tests): improve persisted storage mocking
2024-03-12 21:44:43 -05:00
Jeremy Kahn
54f7b2dd93
fix(deps): [fixes #185] Upgrade vulnerable versions and remove ipfs-core (#193)
* fix(deps): omit ipfs-core
* fix(deps): use @svgr/plugin-svgo/nth-check@2.0.1
* fix(deps): use resolve-url-loader/postcss@8.4.31
* chore(deps): rebuild package-lock.json
* chore(actions): update actions
2023-10-29 14:49:49 -05:00
Jeremy Kahn
deef9db654 chore(package): add bundle analysis to build 2023-10-12 21:12:29 -05:00
Jeremy Kahn
f283db824d fix(deploy): install with npm ci 2023-08-07 21:12:28 -05:00
Jeremy Kahn
2c29674a48 chore(ci): use node 18 for GitHub Actions 2023-07-01 21:48:35 -05:00
Jeremy Kahn
c37a336b1a chore: [#5] use node-version 16 for ci and deploy workflows 2022-09-10 18:41:46 -05:00
Jeremy Kahn
56fc3bfff2 chore: use peaceiris/actions-gh-pages to deploy 2022-08-07 21:42:51 -05:00
Jeremy Kahn
f44fe225a8 chore: use node 18 and npm 8 2022-08-07 21:36:52 -05:00
Jeremy Kahn
bce45f1efa chore: set up ci and deploy workflows 2022-08-07 21:33:59 -05:00