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 = [ module.exports = [
'strapi::logger',
'strapi::errors', 'strapi::errors',
{ {
name: 'strapi::security', name: 'strapi::security',
@ -17,7 +18,6 @@ module.exports = [
'strapi::cors', 'strapi::cors',
'strapi::poweredBy', 'strapi::poweredBy',
'strapi::logger',
'strapi::query', 'strapi::query',
'strapi::body', 'strapi::body',
'strapi::session', 'strapi::session',

View File

@ -14,30 +14,30 @@
"strapi": "strapi" "strapi": "strapi"
}, },
"dependencies": { "dependencies": {
"@11ty/eleventy-fetch": "^4.0.0", "@11ty/eleventy-fetch": "^4.0.1",
"@aws-sdk/client-s3": "^3.485.0", "@aws-sdk/client-s3": "^3.550.0",
"@esm2cjs/execa": "6.1.1-cjs.1", "@esm2cjs/execa": "6.1.1-cjs.1",
"@mux/mux-node": "^7.3.3", "@mux/mux-node": "^7.3.5",
"@paralleldrive/cuid2": "^2.2.2", "@paralleldrive/cuid2": "^2.2.2",
"@radix-ui/react-use-callback-ref": "^1.0.1", "@radix-ui/react-use-callback-ref": "^1.0.1",
"@strapi/plugin-i18n": "4.17.0", "@strapi/plugin-i18n": "4.22.1",
"@strapi/plugin-users-permissions": "4.17.0", "@strapi/plugin-users-permissions": "4.22.1",
"@strapi/provider-email-sendgrid": "4.17.0", "@strapi/provider-email-sendgrid": "4.22.1",
"@strapi/provider-upload-cloudinary": "4.17.0", "@strapi/provider-upload-cloudinary": "4.22.1",
"@strapi/strapi": "4.17.0", "@strapi/strapi": "4.22.1",
"@strapi/utils": "4.17.0", "@strapi/utils": "4.22.1",
"@testing-library/dom": "8.19.0", "@testing-library/dom": "8.19.0",
"@testing-library/react": "12.1.4", "@testing-library/react": "12.1.4",
"@testing-library/react-hooks": "8.0.1", "@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.4.3", "@testing-library/user-event": "14.4.3",
"aws-sdk": "^2.1539.0", "aws-sdk": "^2.1594.0",
"bcryptjs": "2.4.3", "bcryptjs": "2.4.3",
"better-sqlite3": "8.0.1", "better-sqlite3": "8.0.1",
"canvas": "^2.11.2", "canvas": "^2.11.2",
"codemirror": "^6.0.1", "codemirror": "^6.0.1",
"css-loader": "^6.8.1", "css-loader": "^6.11.0",
"cuid": "^3.0.0", "cuid": "^3.0.0",
"date-fns": "^3.1.0", "date-fns": "^3.6.0",
"formik": "2.2.9", "formik": "2.2.9",
"fuzzy-search": "^3.2.1", "fuzzy-search": "^3.2.1",
"grant-koa": "5.4.8", "grant-koa": "5.4.8",
@ -45,14 +45,14 @@
"immer": "9.0.19", "immer": "9.0.19",
"jsonwebtoken": "9.0.0", "jsonwebtoken": "9.0.0",
"jwk-to-pem": "2.0.5", "jwk-to-pem": "2.0.5",
"koa": "^2.15.0", "koa": "^2.15.2",
"koa2-ratelimit": "^1.1.3", "koa2-ratelimit": "^1.1.3",
"lodash": "4.17.21", "lodash": "4.17.21",
"match-sorter": "^4.2.1", "match-sorter": "^4.2.1",
"msw": "1.0.1", "msw": "1.0.1",
"node-abort-controller": "^3.1.1", "node-abort-controller": "^3.1.1",
"object-assign": "^4.1.1", "object-assign": "^4.1.1",
"pg": "^8.11.3", "pg": "^8.11.5",
"prop-types": "^15.8.1", "prop-types": "^15.8.1",
"purest": "4.0.2", "purest": "4.0.2",
"react": "^18.2.0", "react": "^18.2.0",
@ -62,11 +62,11 @@
"react-redux": "8.0.5", "react-redux": "8.0.5",
"react-router-dom": "5.3.4", "react-router-dom": "5.3.4",
"react-test-renderer": "^17.0.2", "react-test-renderer": "^17.0.2",
"semver": "^7.5.4", "semver": "^7.6.0",
"sharp": "0.32.6", "sharp": "0.33.3",
"strapi-plugin-fuzzy-search": "^2.2.0", "strapi-plugin-fuzzy-search": "^2.2.1",
"styled-components": "5.3.3", "styled-components": "5.3.3",
"typescript": "^5.3.3", "typescript": "^5.4.4",
"url-join": "4.0.1", "url-join": "4.0.1",
"yallist": "^4.0.0", "yallist": "^4.0.0",
"yup": "^0.32.11" "yup": "^0.32.11"
@ -84,5 +84,15 @@
"node": ">=14.19.1 <=19.x.x", "node": ">=14.19.1 <=19.x.x",
"npm": ">=6.0.0" "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 FROM node:18.16-alpine as base
RUN corepack enable RUN corepack enable
# Installing libvips-dev for sharp Compatibility # 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 RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev libc6-compat git nasm bash gcompat
ARG NODE_ENV=development
ENV NODE_ENV=${NODE_ENV}
WORKDIR /app WORKDIR /app
FROM base AS build FROM base AS build
# COPY package.json pnpm-lock.yaml ./ # 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 yarn config set network-timeout 600000 -g && yarn install
# RUN pnpm install --frozen-lockfile # RUN pnpm install --frozen-lockfile
RUN pnpm fetch RUN pnpm install --frozen-lockfile
COPY ./packages/strapi . COPY ./packages/strapi .
RUN pnpm install --offline
# ENV PATH=/app/node_modules/.bin:$PATH # ENV PATH=/app/node_modules/.bin:$PATH
RUN chown -R node:node /app RUN chown -R node:node /app
USER node USER node
@ -44,8 +41,10 @@ USER node
FROM build AS dev FROM build AS dev
ENV NODE_ENV=development
CMD ["pnpm", "run", "dev"] CMD ["pnpm", "run", "dev"]
FROM build AS release FROM build AS release
CMD ["pnpm"] ENV NODE_ENV=production
ENTRYPOINT ["run", "start"] ENTRYPOINT ["pnpm"]
CMD ["run", "start"]