Update JS dependencies (#15033)

* Update JS dependencies

- Update all JS dependencies
- For octicons, rename trashcan to trash
- For svgo, migrate to v2 api, output seems to have slightly changed but icons look the same
- For stylelint, update config, fix custom property duplicates
- For monaco, drop legacy Edge support
- For eslint, enable new rules, fix new issues
- For less-loader, remove deprecated import syntax

* update svgo usage in generate-images and rebuild logo.svg with it
This commit is contained in:
silverwind 2021-03-22 05:04:19 +01:00 committed by GitHub
commit 1a03fa7a4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
273 changed files with 1858 additions and 1656 deletions

View file

@ -16,7 +16,7 @@
<button class="ui red tiny button delete-button" id="remove-gitea-oauth2-application"
data-url="{{AppSubUrl}}/user/settings/applications/oauth2/delete"
data-id="{{$app.ID}}">
{{svg "octicon-trashcan" 16 "mr-2"}}
{{svg "octicon-trash" 16 "mr-2"}}
{{$.i18n.Tr "settings.delete_key"}}
</button>
</div>
@ -49,7 +49,7 @@
<div class="ui small basic delete modal" id="remove-gitea-oauth2-application">
<div class="ui icon header">
{{svg "octicon-trashcan"}}
{{svg "octicon-trash"}}
{{.i18n.Tr "settings.remove_oauth2_application"}}
</div>
<div class="content">