Commit graph

30 commits

Author SHA1 Message Date
a37d04b300 Migrate most of the dashboard to pl-api
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-25 20:17:52 +02:00
15ad2ea91f Client-side language detection
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-18 15:47:36 +02:00
cb3a900d39 exports?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-13 19:00:42 +02:00
a58c52631e Arrow functions and so
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-13 01:18:04 +02:00
cb7976bd3d prefer arrow functions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-12 15:24:15 +02:00
2b33d1d6aa Rename project to pl-fe
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 23:09:10 +02:00
Alex Gleason
b9c771a369
vite: allow setting PORT envvar 2024-02-11 16:39:45 -06:00
Alex Gleason
d97602aa74
vite: add mock api, return 404s 2024-01-12 17:25:15 -06:00
Alex Gleason
33b2d19cd0
vite: don't optimize wasmboy in dev (fixes devserver) 2023-11-24 18:36:37 -06:00
Alex Gleason
05ba2ddbed
vite: enable sourcemap 2023-10-07 11:50:42 -05:00
Alex Gleason
76884f26b1
Add vite-plugin-checker, fix types 2023-09-20 18:50:17 -05:00
Alex Gleason
aad07daa33
vite: copy in custom instance dir 2023-09-18 19:20:08 -05:00
Alex Gleason
95b7c62f67
Support snippets.html again 2023-09-18 19:16:42 -05:00
Alex Gleason
2b11b579a3
Move index.html to project root 2023-09-18 17:39:58 -05:00
Alex Gleason
ff0bc64c7b
vite: copy instance directory again 2023-09-18 16:59:17 -05:00
Alex Gleason
c85c623d25
vite: simplify config 2023-09-18 16:57:13 -05:00
Alex Gleason
dd97a46a03
Update code to deal with new paths under src 2023-09-18 16:37:15 -05:00
Alex Gleason
7df9a91e37
Change app/ to src/ in configuration files etc 2023-09-18 16:07:02 -05:00
Alex Gleason
07726bf25c
Rename static --> dist, build-production --> build, output .zip with subdir 2023-09-18 11:27:19 -05:00
Alex Gleason
afaac6eed2
vitest: add setup file, use @testing-library/jest-dom 2023-09-16 15:16:35 -05:00
Alex Gleason
26debebd9e
Emit a report.html bundle analysis
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1517
2023-09-15 23:05:58 -05:00
Alex Gleason
49f8b1e55e
vite: don't strip comments from index.html, restore server-generated-meta 2023-09-15 22:38:29 -05:00
Alex Gleason
f8392d22d3
vitest: put cache properly in node_modules 2023-09-15 17:19:13 -05:00
Alex Gleason
da2f942563
Add vitest, make some tests actually kind of work! 2023-09-15 16:24:01 -05:00
Alex Gleason
dcad4bb4f7
Build the ServiceWorker with Vite 2023-09-15 14:37:09 -05:00
Alex Gleason
e6d9be15de
vite: reorganize output directory 2023-09-14 20:40:20 -05:00
Alex Gleason
f0e5aaded4
vite: disable inline assets so CSP will pass 2023-09-14 20:38:56 -05:00
Alex Gleason
6e5520ce17
Add back Babel 2023-09-13 16:38:46 -05:00
Alex Gleason
b32de7dab0
vite: serve on port 3036 2023-09-13 12:24:49 -05:00
Alex Gleason
2acab99e5b
Make Vite devserver work 2023-09-13 12:04:17 -05:00