update to 4.22.1

This commit is contained in:
Chris Grimmett 2024-04-08 10:23:31 -08:00
parent 2d2f8ced9b
commit a55d2c70dd
4 changed files with 1346 additions and 1025 deletions

View File

@ -1,4 +1,5 @@
module.exports = [
'strapi::logger',
'strapi::errors',
{
name: 'strapi::security',
@ -17,7 +18,6 @@ module.exports = [
'strapi::cors',
'strapi::poweredBy',
'strapi::logger',
'strapi::query',
'strapi::body',
'strapi::session',

View File

@ -14,30 +14,30 @@
"strapi": "strapi"
},
"dependencies": {
"@11ty/eleventy-fetch": "^4.0.0",
"@aws-sdk/client-s3": "^3.485.0",
"@11ty/eleventy-fetch": "^4.0.1",
"@aws-sdk/client-s3": "^3.550.0",
"@esm2cjs/execa": "6.1.1-cjs.1",
"@mux/mux-node": "^7.3.3",
"@mux/mux-node": "^7.3.5",
"@paralleldrive/cuid2": "^2.2.2",
"@radix-ui/react-use-callback-ref": "^1.0.1",
"@strapi/plugin-i18n": "4.17.0",
"@strapi/plugin-users-permissions": "4.17.0",
"@strapi/provider-email-sendgrid": "4.17.0",
"@strapi/provider-upload-cloudinary": "4.17.0",
"@strapi/strapi": "4.17.0",
"@strapi/utils": "4.17.0",
"@strapi/plugin-i18n": "4.22.1",
"@strapi/plugin-users-permissions": "4.22.1",
"@strapi/provider-email-sendgrid": "4.22.1",
"@strapi/provider-upload-cloudinary": "4.22.1",
"@strapi/strapi": "4.22.1",
"@strapi/utils": "4.22.1",
"@testing-library/dom": "8.19.0",
"@testing-library/react": "12.1.4",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.4.3",
"aws-sdk": "^2.1539.0",
"aws-sdk": "^2.1594.0",
"bcryptjs": "2.4.3",
"better-sqlite3": "8.0.1",
"canvas": "^2.11.2",
"codemirror": "^6.0.1",
"css-loader": "^6.8.1",
"css-loader": "^6.11.0",
"cuid": "^3.0.0",
"date-fns": "^3.1.0",
"date-fns": "^3.6.0",
"formik": "2.2.9",
"fuzzy-search": "^3.2.1",
"grant-koa": "5.4.8",
@ -45,14 +45,14 @@
"immer": "9.0.19",
"jsonwebtoken": "9.0.0",
"jwk-to-pem": "2.0.5",
"koa": "^2.15.0",
"koa": "^2.15.2",
"koa2-ratelimit": "^1.1.3",
"lodash": "4.17.21",
"match-sorter": "^4.2.1",
"msw": "1.0.1",
"node-abort-controller": "^3.1.1",
"object-assign": "^4.1.1",
"pg": "^8.11.3",
"pg": "^8.11.5",
"prop-types": "^15.8.1",
"purest": "4.0.2",
"react": "^18.2.0",
@ -62,11 +62,11 @@
"react-redux": "8.0.5",
"react-router-dom": "5.3.4",
"react-test-renderer": "^17.0.2",
"semver": "^7.5.4",
"sharp": "0.32.6",
"strapi-plugin-fuzzy-search": "^2.2.0",
"semver": "^7.6.0",
"sharp": "0.33.3",
"strapi-plugin-fuzzy-search": "^2.2.1",
"styled-components": "5.3.3",
"typescript": "^5.3.3",
"typescript": "^5.4.4",
"url-join": "4.0.1",
"yallist": "^4.0.0",
"yup": "^0.32.11"
@ -84,5 +84,15 @@
"node": ">=14.19.1 <=19.x.x",
"npm": ">=6.0.0"
},
"license": "MIT"
"license": "MIT",
"pnpm": {
"supportedArchitectures": {
"libc": [
"musl"
]
},
"overrides": {
"sharp": "0.33.3"
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -21,21 +21,18 @@
FROM node:18.16-alpine as base
RUN corepack enable
# Installing libvips-dev for sharp Compatibility
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev
ARG NODE_ENV=development
ENV NODE_ENV=${NODE_ENV}
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev libc6-compat git nasm bash gcompat
WORKDIR /app
FROM base AS build
# COPY package.json pnpm-lock.yaml ./
COPY pnpm-lock.yaml ./
COPY pnpm-lock.yaml package.json ./
# RUN yarn config set network-timeout 600000 -g && yarn install
# RUN pnpm install --frozen-lockfile
RUN pnpm fetch
RUN pnpm install --frozen-lockfile
COPY ./packages/strapi .
RUN pnpm install --offline
# ENV PATH=/app/node_modules/.bin:$PATH
RUN chown -R node:node /app
USER node
@ -44,8 +41,10 @@ USER node
FROM build AS dev
ENV NODE_ENV=development
CMD ["pnpm", "run", "dev"]
FROM build AS release
CMD ["pnpm"]
ENTRYPOINT ["run", "start"]
ENV NODE_ENV=production
ENTRYPOINT ["pnpm"]
CMD ["run", "start"]