[chore] Convert some settings / admin panel JS to TypeScript (#2247)

* initial conversion of STUFF to typescript

* more stuff

* update babel deps, include commonjs transform

* update bundler & eslint configuration

* eslint --fix

* upgrade deps

* update docs, build stuff, peripheral stuff

---------

Co-authored-by: f0x <f0x@cthu.lu>
This commit is contained in:
tobi 2023-10-05 16:06:19 +02:00 committed by GitHub
commit d173fcdfa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
84 changed files with 2365 additions and 1621 deletions

View file

@ -53,8 +53,7 @@ steps:
- name: yarn_cache
path: /tmp/cache
commands:
- cd web/source
- yarn --frozen-lockfile --cache-folder /tmp/cache
- yarn --cwd ./web/source install --frozen-lockfile --cache-folder /tmp/cache
- name: web-lint
image: node:18-alpine
@ -65,8 +64,7 @@ steps:
depends_on:
- web-setup
commands:
- cd web/source
- yarn run lint
- yarn --cwd ./web/source lint
- name: web-build
image: node:18-alpine
@ -77,8 +75,7 @@ steps:
depends_on:
- web-setup
commands:
- cd web/source
- yarn run build
- yarn --cwd ./web/source build
- name: snapshot
image: superseriousbusiness/gotosocial-drone-build:0.3.0 # https://github.com/superseriousbusiness/gotosocial-drone-build
@ -194,6 +191,6 @@ steps:
---
kind: signature
hmac: 74653d67ed44ceefb7e19d6125d4a457e6308b5ef627df6325d72a0cc7d7cc0a
hmac: c3efbd528a76016562f88ae435141cfb5fd6d4d07b6ad2a24ecc23cb529cc1c6
...