Commit graph

104 commits

Author SHA1 Message Date
matc-pub
201e5fcd53
Lazy loading less common languages for syntax highlighting (#2388)
* Use fewer syntax highlighter languages.

Reduces client.js size by about 250kB (800kB uncompressed)

Common languages:
bash, c, cpp, csharp, css, diff, go, graphql, ini, java, javascript,
json, kotlin, less, lua, makefile, markdown, objectivec, perl,
php-template, php, plaintext, python-repl, python, r, ruby, rust, scss,
shell, sql, swift, typescript, vbnet, wasm, xml, yaml

Additionally enabled languages:
dockerfile, pgsql

* Configurable syntax highlighter languages

Allows to individually enable languages.

* Lazy load syntax highlighter languages

Allows to enable additional languages that will not be autodetected.

* Include highlight.js in dynamic import check
2024-03-14 08:31:07 -04:00
SleeplessOne1917
eb5095b686
Bump dependencies (#2378)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-02-26 19:16:41 -05:00
SleeplessOne1917
71c2206405
Update deps (#2357)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-02-05 23:30:41 -05:00
Dessalines
140ff8271c
Move to pnpm (#2345)
* Switch from yarn to pnpm.

* Moving from yarn to pnpm.

* Try 2

* Try 3

* Try 4

* Try 5

* Try 6

* Adding qs.

* Try corepack.

* Remove comment.

* Adding prebuild:dev.

* Some fixes.

* Fixing up husky.

* Fixing up version and others.
2024-01-28 22:09:08 -05:00