chore: set version

This commit is contained in:
2024-04-23 19:21:14 +02:00
parent 0654ce2bfd
commit c95ceb1539
4 changed files with 3 additions and 7 deletions

View File

@@ -1,5 +0,0 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
yarn-path ".yarn/releases/yarn-1.22.22.cjs"

View File

@@ -1 +1 @@
nodeLinker: node-modules
nodeLinker: node-modules

View File

@@ -8,6 +8,7 @@ WORKDIR /app
RUN apk add --no-cache --virtual .gyp python3 make g++
COPY package.json yarn.lock ./
RUN yarn set version 4.1.1
RUN yarn
COPY . .

View File

@@ -38,7 +38,7 @@ export default commandModule({
const ctxCanvas = canvas.getContext('2d');
const img = await loadImage(image.url);
ctxCanvas.drawImage(img, 0, 0, metadata.width, metadata.height);
ctxCanvas.font = '30px sans-serif';
ctxCanvas.font = '40px sans-serif';
ctxCanvas.fillStyle = 'red';
ctxCanvas.strokeStyle = 'red';
ctxCanvas.lineWidth = 3;