Commit Graph

18589 Commits

Author SHA1 Message Date
Renaud Chaput
3d2ec6facd
Split vite & vitest configs, because vitest is only in devDependencies, so loading it from the config when yarn uses --production fails the compilation 2025-04-23 15:26:04 +02:00
Renaud Chaput
9dfb9d96be
Remove leftovers from Jest 2025-04-23 15:15:51 +02:00
Renaud Chaput
de9735d7e3
Vite plugins need to be in dependencies, not devDeps 2025-04-23 15:10:53 +02:00
Renaud Chaput
5ba427fc65
Use an instance variable for the SRI cache 2025-04-23 15:03:03 +02:00
Renaud Chaput
4a418bb017
Avoid doing 2 lookups for a single stylesheet tag 2025-04-23 15:02:49 +02:00
Renaud Chaput
8d69312230
Do not run yarn install automatically when precompiling assets 2025-04-23 14:47:09 +02:00
Renaud Chaput
0e9b244563
Add the vite binstub
With `bundle binstub vite_ruby`
2025-04-23 14:40:23 +02:00
Renaud Chaput
a52f87bc26
Disable workbox precaching
This cached more that 4MB of assets for little benefit.

We might add this back later with a custom manifest to load less files.
2025-04-23 14:39:49 +02:00
Renaud Chaput
e92df7a9d9
Remove duplicate entries from prettierignore 2025-04-23 14:36:56 +02:00
Renaud Chaput
dfcabab2cb
Fix theme spec failures
The default theme file is now `application-*.css`
2025-04-23 09:36:11 +02:00
Renaud Chaput
472d9bd336
Add back vite directory to the cache
This allows the assets not to be re-compiled on next run, otherwise the `last-build-X.json` file wont be here and they will be recompiled
2025-04-22 19:41:01 +02:00
Renaud Chaput
cd3ee3339e
Do not add the big tesseract file to preload 2025-04-22 18:58:02 +02:00
Renaud Chaput
f1aa3970d3
Premailer no longer needs to do a lookup, we can directly load the file 2025-04-22 18:58:02 +02:00
Renaud Chaput
383f6b7a4e
Use a local cache for expensive integrity lookups 2025-04-22 18:57:29 +02:00
Renaud Chaput
af63785771
Add patches to vite_ruby to output the SRI attribute 2025-04-22 18:57:28 +02:00
ChaosExAnima
e5315ae574
remove mailer entrypoint as it's not needed 2025-04-22 18:47:18 +02:00
ChaosExAnima
566a26e8cc
switch to PWA injectManifest strategy 2025-04-22 18:47:17 +02:00
ChaosExAnima
9cbc282a43
change vite-dev to packs-dev 2025-04-22 18:47:17 +02:00
ChaosExAnima
cc7e8f1a54
disable minification 2025-04-22 18:47:17 +02:00
ChaosExAnima
072a4c76a0
fixes for testing 2025-04-22 18:47:17 +02:00
ChaosExAnima
a283702446
change way we import tesseract.js for service workers 2025-04-22 18:47:17 +02:00
ChaosExAnima
8de9ab9ff3
update Vitest to latest version and pin Vite to 6.3.0 to avoid multiple versions, plus port some code from the OG migration 2025-04-22 11:31:50 +02:00
ChaosExAnima
fb7cafdac5
revert changes to emoji file and remove inert.ts entirely as it doesn't need that be referenced. 2025-04-16 19:08:31 +02:00
ChaosExAnima
f514181d75
re-adds SW Locales and PWA plugins from #24981 2025-04-16 19:08:31 +02:00
ChaosExAnima
9466570e63
integrates Ruby Vite 2025-04-16 19:08:30 +02:00
ChaosExAnima
8524a12042
change root for vitest to work again 2025-04-15 12:53:55 +02:00
ChaosExAnima
1233d11d81
add all entrypoints and inserts module polyfill, plus loads Vite in dev mode 2025-04-15 12:52:02 +02:00
ChaosExAnima
d98d652316
comment out require.context 2025-04-14 18:46:04 +02:00
ChaosExAnima
7fac138dd8
whoops duplicate vite config files 2025-04-14 18:44:57 +02:00
ChaosExAnima
c273485947
remove deps 2025-04-14 18:29:56 +02:00
ChaosExAnima
5d2fce49fc
remove references to Webpack 2025-04-14 18:27:23 +02:00
ChaosExAnima
cc123e9b3f
update typescript-eslint to version 8.29.1 and adjust tsconfig include paths 2025-04-14 18:22:10 +02:00
ChaosExAnima
2e7cd8d9a7
remove more webpack references 2025-04-14 17:30:40 +02:00
ChaosExAnima
2d005f8859
move postcss to vite config, and get rid of more WP dependencies 2025-04-14 17:30:03 +02:00
ChaosExAnima
e7e12caa5b
remove references to webpack 2025-04-14 17:29:56 +02:00
ChaosExAnima
e57a5d52be
remove unused configs 2025-04-14 17:29:06 +02:00
ChaosExAnima
ed17fe88e1
add asset integrity key to file 2025-04-14 17:29:06 +02:00
ChaosExAnima
4c8a6943d4
remove css-nano 2025-04-14 17:29:06 +02:00
ChaosExAnima
bc5d8cee66
add application SASS files 2025-04-14 17:29:06 +02:00
ChaosExAnima
f72699db08
changes entrypoints and tweaks manifest augmenter 2025-04-14 17:29:06 +02:00
ChaosExAnima
fa4243c28c
basic changes to get a build working 2025-04-14 17:29:06 +02:00
ChaosExAnima
aee820f49e
update deps and remove github actions formatter as it's native now 2025-04-14 17:26:16 +02:00
ChaosExAnima
fd0821e889
fix requestIdleCallback again 2025-04-14 17:25:58 +02:00
ChaosExAnima
e50ab94e8f
fix typing issues 2025-04-14 17:03:34 +02:00
ChaosExAnima
60e40211cc
Migrate from Jest to Vitest 2025-04-14 16:34:32 +02:00
SASAGAWA Hiroto
5991caae87
Disable kerning for Japanese text to preserve monospaced alignment for readability (#34448) 2025-04-14 10:57:21 +00:00
renovate[bot]
abcb9b8a61
chore(deps): update yarn to v4.9.0 (#34410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-14 07:31:44 +00:00
Eugen Rochko
f47ad7814a
Fix "Feature on profile" option on profile dropdown menu in web UI (#34422) 2025-04-14 07:29:44 +00:00
Matt Jankowski
aadff24099
Enable validate: true on CustomFilter#action (#34434) 2025-04-14 07:28:11 +00:00
github-actions[bot]
6d94c9f4e7
New Crowdin Translations (automated) (#34437)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-04-14 07:17:58 +00:00