mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 19:52:26 -05:00
[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:
parent
6e508830e1
commit
d173fcdfa3
84 changed files with 2365 additions and 1621 deletions
|
|
@ -12,12 +12,12 @@ WORKDIR /go/src/github.com/superseriousbusiness/gotosocial
|
|||
RUN swagger generate spec -o /go/src/github.com/superseriousbusiness/gotosocial/swagger.yaml --scan-models
|
||||
|
||||
# stage 2: generate the web/assets/dist bundles
|
||||
FROM --platform=${BUILDPLATFORM} node:16.19.1-alpine3.17 AS bundler
|
||||
FROM --platform=${BUILDPLATFORM} node:18-alpine AS bundler
|
||||
|
||||
COPY web web
|
||||
RUN yarn install --cwd web/source && \
|
||||
BUDO_BUILD=1 node web/source && \
|
||||
rm -r web/source
|
||||
RUN yarn --cwd ./web/source install && \
|
||||
yarn --cwd ./web/source build && \
|
||||
rm -rf ./web/source
|
||||
|
||||
# stage 3: build the executor container
|
||||
FROM --platform=${TARGETPLATFORM} alpine:3.17.2 as executor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue