mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 16:40:52 +00:00
Update JS dependencies and eslint (#22190)
- Update all JS dependencies to latest version - Enable unicorn/prefer-node-protocol and autofix issues - Regenerate SVGs - Add some comments to eslint rules - Tested build, Mermaid and Katex rendering
This commit is contained in:
parent
495b8b3635
commit
e767b3372a
14 changed files with 1514 additions and 1282 deletions
|
@ -2,7 +2,7 @@
|
|||
import imageminZopfli from 'imagemin-zopfli';
|
||||
import {optimize} from 'svgo';
|
||||
import {fabric} from 'fabric';
|
||||
import {readFile, writeFile} from 'fs/promises';
|
||||
import {readFile, writeFile} from 'node:fs/promises';
|
||||
|
||||
function exit(err) {
|
||||
if (err) console.error(err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue