diff --git a/Dockerfile b/Dockerfile index 5896f50..b7e0e00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM node:18-alpine AS deps +FROM node:20-alpine AS deps WORKDIR /app RUN npm install -g pnpm COPY package.json pnpm-lock.yaml ./ RUN pnpm install --frozen-lockfile -FROM node:18-alpine AS builder +FROM node:20-alpine AS builder WORKDIR /app RUN npm install -g pnpm COPY . . @@ -13,7 +13,7 @@ RUN pnpm build RUN pnpm prune --prod -FROM node:18-alpine AS runner +FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV production diff --git a/package.json b/package.json index c3659a6..419dfd9 100644 --- a/package.json +++ b/package.json @@ -16,20 +16,20 @@ "author": "", "license": "ISC", "devDependencies": { - "@types/node": "^20.2.3", + "@types/node": "^20.2.5", "@types/prettier": "^2.7.2", "tsc-watch": "^6.0.4", "typescript": "^5.0.4" }, "dependencies": { "@effect-http/client": "^0.26.1", - "@effect/data": "^0.12.2", + "@effect/data": "^0.12.3", "@effect/io": "^0.25.13", "@effect/schema": "^0.19.3", "@effect/stream": "^0.21.1", "dfx": "^0.45.10", "dotenv": "^16.0.3", - "effect-schema-class": "^0.2.4", + "effect-schema-class": "^0.3.0", "html-entities": "^2.3.3", "openai": "^3.2.1", "prettier": "^2.8.8" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e751190..bd9babb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,8 +5,8 @@ dependencies: specifier: ^0.26.1 version: 0.26.1 '@effect/data': - specifier: ^0.12.2 - version: 0.12.2 + specifier: ^0.12.3 + version: 0.12.3 '@effect/io': specifier: ^0.25.13 version: 0.25.13 @@ -23,8 +23,8 @@ dependencies: specifier: ^16.0.3 version: 16.0.3 effect-schema-class: - specifier: ^0.2.4 - version: 0.2.4 + specifier: ^0.3.0 + version: 0.3.0 html-entities: specifier: ^2.3.3 version: 2.3.3 @@ -37,8 +37,8 @@ dependencies: devDependencies: '@types/node': - specifier: ^20.2.3 - version: 20.2.3 + specifier: ^20.2.5 + version: 20.2.5 '@types/prettier': specifier: ^2.7.2 version: 2.7.2 @@ -54,26 +54,26 @@ packages: /@effect-http/client@0.26.1: resolution: {integrity: sha512-QVT5PWM4t0PmTyHMvlK12mzULQ4NEIhE8Kw1/Zdcm/7AoBSUzJzEj2Tbdg1EL3OJlDnNjZS6zahW9jcckkXvJQ==} dependencies: - '@effect/data': 0.12.2 + '@effect/data': 0.12.3 '@effect/io': 0.25.13 '@effect/schema': 0.19.3 '@effect/stream': 0.21.1 dev: false - /@effect/data@0.12.2: - resolution: {integrity: sha512-bmWRTcsSRG1FlBswT+D8SxW6r3c4B3pKJrjYfitCD03tXHnup5gLHaWqbFgIjiyYITS+UsJRRjVrNxvyGG4ZNQ==} + /@effect/data@0.12.3: + resolution: {integrity: sha512-Vwlju6FqLYKVzFeEbz75BmPXsOnEB4jU02pMi230aIT7Xy0UTMFcoOmp/MUVPrbv3t+E0qhhFEhyPwjdhCRo1Q==} dev: false /@effect/io@0.25.13: resolution: {integrity: sha512-NdZFSaNbG6AN8bzSAPdmi95AXgHWr4dH58R8viqbFBb0zmfQ/PQq+5XEsC++qy/qpT/ZLzpvJJWhW9jf1atq2g==} dependencies: - '@effect/data': 0.12.2 + '@effect/data': 0.12.3 dev: false /@effect/schema@0.19.3: resolution: {integrity: sha512-jR7o19HBX7PBYRLV1G6ZlM90giRe+lZkA6BqVNamkhNfVsHU4MnGr2lqM2H4fy4MgR744GGXuxCDjVdydkMvAw==} dependencies: - '@effect/data': 0.12.2 + '@effect/data': 0.12.3 '@effect/io': 0.25.13 fast-check: 3.9.0 dev: false @@ -81,12 +81,12 @@ packages: /@effect/stream@0.21.1: resolution: {integrity: sha512-x227xIB+PC/xaz4R3RYkjg2Z0sw5Fgkt5hfxXeGHpKThhmqVEeIXjd0v04pcoz2lJtStcvWL5Wuh/Z8HP3Hw/Q==} dependencies: - '@effect/data': 0.12.2 + '@effect/data': 0.12.3 '@effect/io': 0.25.13 dev: false - /@types/node@20.2.3: - resolution: {integrity: sha512-pg9d0yC4rVNWQzX8U7xb4olIOFuuVL9za3bzMT2pu2SU0SNEi66i2qrvhE2qt0HvkhuCaWJu7pLNOt/Pj8BIrw==} + /@types/node@20.2.5: + resolution: {integrity: sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==} dev: true /@types/prettier@2.7.2: @@ -139,7 +139,7 @@ packages: resolution: {integrity: sha512-pWXWCmRW3ee6oWpzWUTvBXtJImLgRH+J3Au9/8hZlQ5chhYTMgg6fP9Pmqyl7tW7EE/KHR1oyDo2QTyKeSYx3Q==} dependencies: '@effect-http/client': 0.26.1 - '@effect/data': 0.12.2 + '@effect/data': 0.12.3 '@effect/io': 0.25.13 '@effect/stream': 0.21.1 tweetnacl: 1.0.3 @@ -159,10 +159,10 @@ packages: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} dev: true - /effect-schema-class@0.2.4: - resolution: {integrity: sha512-8qemq2Qh3S0b8TdBpSDzJQRUfqi2N4bAJxw4OTPbhX4S8EHJoiBIfo+FN+xVPx8ZuPIzOtbb5ipM7EbZM9poRg==} + /effect-schema-class@0.3.0: + resolution: {integrity: sha512-mLNplxClBU70mdHCjRmII+8ujKaX/kB8Wi+SIBYqQ96Xo7I218JTfbRa8cpqy8ODoipNlNUoJzGyUI90CmoQxA==} dependencies: - '@effect/data': 0.12.2 + '@effect/data': 0.12.3 '@effect/io': 0.25.13 '@effect/schema': 0.19.3 dev: false