Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strapi 4.16.0 version bump #269

Open
wants to merge 21 commits into
base: latest
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
}
],
"author": {
"name": "Vlad Volkov",
"email": "vlad.volkov@bndigital.co",
"url": "https://github.com/vladyslavvolkov"
"name": "BN Digital",
"email": "hello@bndigital.co",
"url": "https://github.com/bn-digital/"
},
"workspaces": [
"packages/*"
Expand All @@ -27,27 +27,15 @@
"yarn dedupe"
]
},
"prettier": "@bn-digital/prettier-config",
"stylelint": {
"extends": "@bn-digital/stylelint-config"
},
"eslintConfig": {
"extends": "@bn-digital/eslint-config",
"ignorePatterns": [
"webpack.config.ts"
]
},
"devDependencies": {
"@bn-digital/cosmiconfig": "1.2.1",
"@bn-digital/vault-env": "1.5.6",
"pm2": "5.3.0",
"typescript": "5.1.6"
"typescript": "5.3.3"
},
"scripts": {
"start": "npx pm2-runtime ecosystem.config.yml",
"start:cms": "yarn workspace @project-templates/cms run start",
"start:website": "yarn workspace @project-templates/website run start",
"build": "yarn workspaces foreach --exclude=root --parallel run build",
"lint": "npx lint ts less",
"fix": "npx lint ts less --fix"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/cms/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
build
dist
.cache
.strapi
/.strapi-updater.json*
/src/graphql/schema.graphql
/types/generated*
# *.sqlite
2 changes: 1 addition & 1 deletion packages/cms/config/functions/cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export default {
// '0 0 1 * * 1': ({ strapi }) => {
// console.log('Running cron job every minute')
// },
} as Record<string, ({ strapi }: { strapi: Strapi.Strapi }) => void>
} as Record<string, ({ strapi }) => void>
15 changes: 8 additions & 7 deletions packages/cms/config/plugins.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { join } from "path"
import { join } from "path";

import app, { randomSecret } from "../src/hooks"
import app, { randomSecret } from "../src/hooks";

export default ({ env }: Strapi.Env): Config.Plugin => {
return {
"graphql": {
graphql: {
enabled: true,
config: {
endpoint: "/graphql",
Expand Down Expand Up @@ -33,12 +33,13 @@ export default ({ env }: Strapi.Env): Config.Plugin => {
jwtSecret: env("JWT_SECRET", randomSecret("JWT_SECRET")),
},
},
"upload": {
upload: {
enabled: env("S3_ACCESS_KEY_ID") && env("S3_SECRET_ACCESS_KEY"),
config: {
provider: "aws-s3",
providerOptions: {
s3Options: {
//TODO remove warning
accessKeyId: env("S3_ACCESS_KEY_ID"),
secretAccessKey: env("S3_SECRET_ACCESS_KEY"),
endpoint: env("S3_ENDPOINT"),
Expand All @@ -49,7 +50,7 @@ export default ({ env }: Strapi.Env): Config.Plugin => {
},
},
},
"email": {
email: {
enabled: env("SMTP_USERNAME") && env("SMTP_PASSWORD"),
config: {
provider: "nodemailer",
Expand All @@ -67,5 +68,5 @@ export default ({ env }: Strapi.Env): Config.Plugin => {
},
},
},
}
}
};
};
Binary file modified packages/cms/database/development.sqlite
Binary file not shown.
36 changes: 20 additions & 16 deletions packages/cms/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
{
"name": "@project-templates/cms",
"version": "2024.1.15",
"description": "CMS & API provided by Strapi",
"version": "2023.7.7",
"license": "LGPL-3.0-or-later",
"scripts": {
"env": "npx vault-env generate",
"build": "strapi build",
"start": "yarn env && strapi develop"
},
"strapi": {
"id": "68be1d7d-5510-45e4-a7fb-a93f6bb691f2"
"env": "npx vault-env generate",
"start": "yarn env && strapi ts:generate-types && strapi develop"
},
"dependencies": {
"@bn-digital/strapi-plugin-field-uuid": "^1.2.12",
"@bn-digital/strapi-types": "^1.0.64",
"@bn-digital/typescript-config": "^1.4.0",
"@notum-cz/strapi-plugin-content-versioning": "^0.4.7",
"@strapi/plugin-graphql": "4.10.4",
"@strapi/plugin-users-permissions": "4.10.4",
"@strapi/provider-email-nodemailer": "4.10.4",
"@strapi/provider-upload-aws-s3": "4.10.4",
"@strapi/strapi": "4.10.4",
"@strapi/typescript-utils": "4.10.4",
"@strapi/plugin-graphql": "4.16.0",
"@strapi/plugin-users-permissions": "4.16.0",
"@strapi/provider-email-nodemailer": "4.16.0",
"@strapi/provider-upload-aws-s3": "4.16.0",
"@strapi/strapi": "4.16.0",
"@strapi/typescript-utils": "4.16.0",
"better-sqlite3": "^8.4.0",
"pg": "^8.11.1",
"strapi-blurhash": "^1.1.1",
"strapi-plugin-react-icons": "^0.1.6"
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^5.2.0",
"styled-components": "^5.2.1"
},
"devDependencies": {
"prettier-plugin-organize-imports": "^3.2.4"
},
"strapi": {
"id": "68be1d7d-5510-45e4-a7fb-a93f6bb691f2"
}
}
Loading