Skip to content

Commit 9b4579c

Browse files
committed
upgrade deps + fix emojis usage
1 parent 55086b6 commit 9b4579c

7 files changed

Lines changed: 6884 additions & 3818 deletions

File tree

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
FROM node:18.17.0-alpine3.18
1+
FROM node:20.14.0-alpine3.20
22

33
RUN apk add --no-cache curl bash bash-completion chromium nss freetype harfbuzz ca-certificates openjdk11
44
RUN echo @edge https://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && apk add --no-cache icu-data-full wqy-zenhei@edge
5-
6-
# Pnpm is used to install packages
7-
RUN npm install --location=global pnpm
5+
RUN apk add font-noto-emoji
86

97
RUN USER=node && \
108
GROUP=node && \
11-
curl -SsL https://github.com/boxboat/fixuid/releases/download/v0.5.1/fixuid-0.5.1-linux-amd64.tar.gz | tar -C /usr/local/bin -xzf - && \
9+
curl -SsL https://github.com/boxboat/fixuid/releases/download/v0.6.0/fixuid-0.6.0-linux-amd64.tar.gz | tar -C /usr/local/bin -xzf - && \
1210
chown root:root /usr/local/bin/fixuid && \
1311
chmod 4755 /usr/local/bin/fixuid && \
1412
mkdir -p /etc/fixuid && \
@@ -25,11 +23,11 @@ ENV NODE_ENV production
2523
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
2624
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
2725

28-
COPY --chown=node:node package.json pnpm-lock.yaml ./
26+
COPY --chown=node:node package.json package-lock.json ./
2927

3028
RUN chown -R node:node /home/node
3129

32-
RUN pnpm install --frozen-lockfile --prod
30+
RUN npm ci --omit=dev
3331

3432
COPY --chown=node:node index.html index.js index.html ./
3533
COPY --chown=node:node resources/js/ ./resources/js/

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ The PDF **cover** is **optional** : just remove the mapping on the command.
8787
- PlantUML diagrams support (see the example in docs directory)
8888
- SVG support
8989
- Chore :
90-
- Migration to [pnpm](https://pnpm.io/) (no more npm)
9190
- Clean code with standard ESLint
9291
- Remove useless stuff
9392

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
<script>
2222
window.$docsify = {
2323
name: '',
24-
repo: ''
24+
repo: '',
25+
nativeEmoji: true,
2526
}
2627
</script>
2728
<!-- Docsify v4 -->

0 commit comments

Comments
 (0)