mirror of
https://github.com/strapi/strapi.git
synced 2025-10-27 08:02:56 +00:00
Merge remote-tracking branch 'origin/main' into develop
This commit is contained in:
commit
2d97100ef7
2
.github/actions/check-pr-status/package.json
vendored
2
.github/actions/check-pr-status/package.json
vendored
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "check-pr-status",
|
"name": "check-pr-status",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/admin-test-utils",
|
"name": "@strapi/admin-test-utils",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Test utilities for the Strapi administration panel",
|
"description": "Test utilities for the Strapi administration panel",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -84,10 +84,10 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@reduxjs/toolkit": "1.9.7",
|
"@reduxjs/toolkit": "1.9.7",
|
||||||
"@testing-library/jest-dom": "6.4.5",
|
"@testing-library/jest-dom": "6.4.5",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"jest-environment-jsdom": "29.6.1",
|
"jest-environment-jsdom": "29.6.1",
|
||||||
"styled-components": "6.1.8",
|
"styled-components": "6.1.8",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@reduxjs/toolkit": "^1.9.7",
|
"@reduxjs/toolkit": "^1.9.7",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/cloud-cli",
|
"name": "@strapi/cloud-cli",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Commands to interact with the Strapi Cloud",
|
"description": "Commands to interact with the Strapi Cloud",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"strapi",
|
"strapi",
|
||||||
@ -47,7 +47,7 @@
|
|||||||
"watch": "run -T rollup -c -w"
|
"watch": "run -T rollup -c -w"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"axios": "1.8.4",
|
"axios": "1.8.4",
|
||||||
"boxen": "5.1.2",
|
"boxen": "5.1.2",
|
||||||
"chalk": "4.1.2",
|
"chalk": "4.1.2",
|
||||||
@ -72,8 +72,8 @@
|
|||||||
"@types/cli-progress": "3.11.5",
|
"@types/cli-progress": "3.11.5",
|
||||||
"@types/eventsource": "1.1.15",
|
"@types/eventsource": "1.1.15",
|
||||||
"@types/lodash": "^4.14.191",
|
"@types/lodash": "^4.14.191",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "create-strapi-app",
|
"name": "create-strapi-app",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Generate a new Strapi application.",
|
"description": "Generate a new Strapi application.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"create-strapi-app",
|
"create-strapi-app",
|
||||||
@ -50,7 +50,7 @@
|
|||||||
"watch": "run -T rollup -c -w"
|
"watch": "run -T rollup -c -w"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/cloud-cli": "5.18.0",
|
"@strapi/cloud-cli": "5.18.1",
|
||||||
"async-retry": "1.3.3",
|
"async-retry": "1.3.3",
|
||||||
"chalk": "4.1.2",
|
"chalk": "4.1.2",
|
||||||
"commander": "8.3.0",
|
"commander": "8.3.0",
|
||||||
@ -69,8 +69,8 @@
|
|||||||
"@types/async-retry": "^1",
|
"@types/async-retry": "^1",
|
||||||
"@types/fs-extra": "11.0.4",
|
"@types/fs-extra": "11.0.4",
|
||||||
"@types/inquirer": "8.2.5",
|
"@types/inquirer": "8.2.5",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "create-strapi",
|
"name": "create-strapi",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Generate a new Strapi application.",
|
"description": "Generate a new Strapi application.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"create-strapi",
|
"create-strapi",
|
||||||
@ -36,7 +36,7 @@
|
|||||||
"bin/"
|
"bin/"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"create-strapi-app": "5.18.0"
|
"create-strapi-app": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/admin",
|
"name": "@strapi/admin",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Strapi Admin",
|
"description": "Strapi Admin",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -86,10 +86,10 @@
|
|||||||
"@reduxjs/toolkit": "1.9.7",
|
"@reduxjs/toolkit": "1.9.7",
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/permissions": "5.18.0",
|
"@strapi/permissions": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@strapi/typescript-utils": "5.18.0",
|
"@strapi/typescript-utils": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"@testing-library/dom": "10.1.0",
|
"@testing-library/dom": "10.1.0",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@testing-library/user-event": "14.5.2",
|
"@testing-library/user-event": "14.5.2",
|
||||||
@ -144,8 +144,8 @@
|
|||||||
"zod": "3.24.2"
|
"zod": "3.24.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/admin-test-utils": "5.18.0",
|
"@strapi/admin-test-utils": "5.18.1",
|
||||||
"@strapi/data-transfer": "5.18.0",
|
"@strapi/data-transfer": "5.18.1",
|
||||||
"@types/codemirror5": "npm:@types/codemirror@^5.60.15",
|
"@types/codemirror5": "npm:@types/codemirror@^5.60.15",
|
||||||
"@types/fs-extra": "11.0.4",
|
"@types/fs-extra": "11.0.4",
|
||||||
"@types/invariant": "2.2.36",
|
"@types/invariant": "2.2.36",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/content-manager",
|
"name": "@strapi/content-manager",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "A powerful UI to easily manage your data.",
|
"description": "A powerful UI to easily manage your data.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -69,8 +69,8 @@
|
|||||||
"@sindresorhus/slugify": "1.1.0",
|
"@sindresorhus/slugify": "1.1.0",
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"codemirror5": "npm:codemirror@^5.65.11",
|
"codemirror5": "npm:codemirror@^5.65.11",
|
||||||
"date-fns": "2.30.0",
|
"date-fns": "2.30.0",
|
||||||
"fractional-indexing": "3.2.0",
|
"fractional-indexing": "3.2.0",
|
||||||
@ -105,8 +105,8 @@
|
|||||||
"yup": "0.32.9"
|
"yup": "0.32.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/database": "5.18.0",
|
"@strapi/database": "5.18.1",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@types/jest": "29.5.2",
|
"@types/jest": "29.5.2",
|
||||||
"@types/lodash": "^4.14.191",
|
"@types/lodash": "^4.14.191",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/content-releases",
|
"name": "@strapi/content-releases",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Strapi plugin for organizing and releasing content",
|
"description": "Strapi plugin for organizing and releasing content",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -59,11 +59,11 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@reduxjs/toolkit": "1.9.7",
|
"@reduxjs/toolkit": "1.9.7",
|
||||||
"@strapi/database": "5.18.0",
|
"@strapi/database": "5.18.1",
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"date-fns": "2.30.0",
|
"date-fns": "2.30.0",
|
||||||
"date-fns-tz": "2.0.1",
|
"date-fns-tz": "2.0.1",
|
||||||
"formik": "2.4.5",
|
"formik": "2.4.5",
|
||||||
@ -75,9 +75,9 @@
|
|||||||
"yup": "0.32.9"
|
"yup": "0.32.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/admin-test-utils": "5.18.0",
|
"@strapi/admin-test-utils": "5.18.1",
|
||||||
"@strapi/content-manager": "5.18.0",
|
"@strapi/content-manager": "5.18.1",
|
||||||
"@testing-library/dom": "10.1.0",
|
"@testing-library/dom": "10.1.0",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@testing-library/user-event": "14.5.2",
|
"@testing-library/user-event": "14.5.2",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/content-type-builder",
|
"name": "@strapi/content-type-builder",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Create and manage content types",
|
"description": "Create and manage content types",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -67,9 +67,9 @@
|
|||||||
"@reduxjs/toolkit": "1.9.7",
|
"@reduxjs/toolkit": "1.9.7",
|
||||||
"@sindresorhus/slugify": "1.1.0",
|
"@sindresorhus/slugify": "1.1.0",
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/generators": "5.18.0",
|
"@strapi/generators": "5.18.1",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"date-fns": "2.30.0",
|
"date-fns": "2.30.0",
|
||||||
"fs-extra": "11.2.0",
|
"fs-extra": "11.2.0",
|
||||||
"immer": "9.0.21",
|
"immer": "9.0.21",
|
||||||
@ -82,8 +82,8 @@
|
|||||||
"zod": "3.24.2"
|
"zod": "3.24.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@testing-library/dom": "10.1.0",
|
"@testing-library/dom": "10.1.0",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@testing-library/user-event": "14.5.2",
|
"@testing-library/user-event": "14.5.2",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/core",
|
"name": "@strapi/core",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Core of Strapi",
|
"description": "Core of Strapi",
|
||||||
"homepage": "https://strapi.io",
|
"homepage": "https://strapi.io",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
@ -56,14 +56,14 @@
|
|||||||
"@koa/cors": "5.0.0",
|
"@koa/cors": "5.0.0",
|
||||||
"@koa/router": "12.0.2",
|
"@koa/router": "12.0.2",
|
||||||
"@paralleldrive/cuid2": "2.2.2",
|
"@paralleldrive/cuid2": "2.2.2",
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/database": "5.18.0",
|
"@strapi/database": "5.18.1",
|
||||||
"@strapi/generators": "5.18.0",
|
"@strapi/generators": "5.18.1",
|
||||||
"@strapi/logger": "5.18.0",
|
"@strapi/logger": "5.18.1",
|
||||||
"@strapi/permissions": "5.18.0",
|
"@strapi/permissions": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@strapi/typescript-utils": "5.18.0",
|
"@strapi/typescript-utils": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"bcryptjs": "2.4.3",
|
"bcryptjs": "2.4.3",
|
||||||
"boxen": "5.1.2",
|
"boxen": "5.1.2",
|
||||||
"chalk": "4.1.2",
|
"chalk": "4.1.2",
|
||||||
@ -128,9 +128,9 @@
|
|||||||
"@types/node": "18.19.24",
|
"@types/node": "18.19.24",
|
||||||
"@types/node-schedule": "2.1.7",
|
"@types/node-schedule": "2.1.7",
|
||||||
"@types/statuses": "2.0.1",
|
"@types/statuses": "2.0.1",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"supertest": "6.3.3",
|
"supertest": "6.3.3",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/data-transfer",
|
"name": "@strapi/data-transfer",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Data transfer capabilities for Strapi",
|
"description": "Data transfer capabilities for Strapi",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"strapi",
|
"strapi",
|
||||||
@ -42,9 +42,9 @@
|
|||||||
"watch": "run -T rollup -c -w"
|
"watch": "run -T rollup -c -w"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/logger": "5.18.0",
|
"@strapi/logger": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"chalk": "4.1.2",
|
"chalk": "4.1.2",
|
||||||
"cli-table3": "0.6.5",
|
"cli-table3": "0.6.5",
|
||||||
"commander": "8.3.0",
|
"commander": "8.3.0",
|
||||||
@ -61,7 +61,7 @@
|
|||||||
"ws": "8.17.1"
|
"ws": "8.17.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/database": "5.18.0",
|
"@strapi/database": "5.18.1",
|
||||||
"@types/fs-extra": "11.0.4",
|
"@types/fs-extra": "11.0.4",
|
||||||
"@types/jest": "29.5.2",
|
"@types/jest": "29.5.2",
|
||||||
"@types/koa": "2.13.4",
|
"@types/koa": "2.13.4",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/database",
|
"name": "@strapi/database",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Strapi's database layer",
|
"description": "Strapi's database layer",
|
||||||
"homepage": "https://strapi.io",
|
"homepage": "https://strapi.io",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
@ -42,7 +42,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@paralleldrive/cuid2": "2.2.2",
|
"@paralleldrive/cuid2": "2.2.2",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"ajv": "8.16.0",
|
"ajv": "8.16.0",
|
||||||
"date-fns": "2.30.0",
|
"date-fns": "2.30.0",
|
||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
@ -54,8 +54,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "11.0.4",
|
"@types/fs-extra": "11.0.4",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/email",
|
"name": "@strapi/email",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Easily configure your Strapi application to send emails.",
|
"description": "Easily configure your Strapi application to send emails.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -58,8 +58,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/provider-email-sendmail": "5.18.0",
|
"@strapi/provider-email-sendmail": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"koa2-ratelimit": "^1.1.3",
|
"koa2-ratelimit": "^1.1.3",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"react-intl": "6.6.2",
|
"react-intl": "6.6.2",
|
||||||
@ -67,8 +67,8 @@
|
|||||||
"yup": "0.32.9"
|
"yup": "0.32.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@types/koa": "2.13.4",
|
"@types/koa": "2.13.4",
|
||||||
"@types/lodash": "^4.14.191",
|
"@types/lodash": "^4.14.191",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/permissions",
|
"name": "@strapi/permissions",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Strapi's permission layer.",
|
"description": "Strapi's permission layer.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -39,14 +39,14 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "6.5.0",
|
"@casl/ability": "6.5.0",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"qs": "6.11.1",
|
"qs": "6.11.1",
|
||||||
"sift": "16.0.1"
|
"sift": "16.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/review-workflows",
|
"name": "@strapi/review-workflows",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Review workflows for your content",
|
"description": "Review workflows for your content",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -59,7 +59,7 @@
|
|||||||
"@reduxjs/toolkit": "1.9.7",
|
"@reduxjs/toolkit": "1.9.7",
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"fractional-indexing": "3.2.0",
|
"fractional-indexing": "3.2.0",
|
||||||
"react-dnd": "16.0.1",
|
"react-dnd": "16.0.1",
|
||||||
"react-dnd-html5-backend": "16.0.1",
|
"react-dnd-html5-backend": "16.0.1",
|
||||||
@ -69,9 +69,9 @@
|
|||||||
"yup": "0.32.9"
|
"yup": "0.32.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/content-manager": "5.18.0",
|
"@strapi/content-manager": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"msw": "1.3.0",
|
"msw": "1.3.0",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/strapi",
|
"name": "@strapi/strapi",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite",
|
"description": "An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"strapi",
|
"strapi",
|
||||||
@ -110,24 +110,24 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/cloud-cli": "5.18.0",
|
"@strapi/cloud-cli": "5.18.1",
|
||||||
"@strapi/content-manager": "5.18.0",
|
"@strapi/content-manager": "5.18.1",
|
||||||
"@strapi/content-releases": "5.18.0",
|
"@strapi/content-releases": "5.18.1",
|
||||||
"@strapi/content-type-builder": "5.18.0",
|
"@strapi/content-type-builder": "5.18.1",
|
||||||
"@strapi/core": "5.18.0",
|
"@strapi/core": "5.18.1",
|
||||||
"@strapi/data-transfer": "5.18.0",
|
"@strapi/data-transfer": "5.18.1",
|
||||||
"@strapi/database": "5.18.0",
|
"@strapi/database": "5.18.1",
|
||||||
"@strapi/email": "5.18.0",
|
"@strapi/email": "5.18.1",
|
||||||
"@strapi/generators": "5.18.0",
|
"@strapi/generators": "5.18.1",
|
||||||
"@strapi/i18n": "5.18.0",
|
"@strapi/i18n": "5.18.1",
|
||||||
"@strapi/logger": "5.18.0",
|
"@strapi/logger": "5.18.1",
|
||||||
"@strapi/permissions": "5.18.0",
|
"@strapi/permissions": "5.18.1",
|
||||||
"@strapi/review-workflows": "5.18.0",
|
"@strapi/review-workflows": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@strapi/typescript-utils": "5.18.0",
|
"@strapi/typescript-utils": "5.18.1",
|
||||||
"@strapi/upload": "5.18.0",
|
"@strapi/upload": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"@types/nodemon": "1.19.6",
|
"@types/nodemon": "1.19.6",
|
||||||
"@vitejs/plugin-react-swc": "3.6.0",
|
"@vitejs/plugin-react-swc": "3.6.0",
|
||||||
"boxen": "5.1.2",
|
"boxen": "5.1.2",
|
||||||
@ -181,11 +181,11 @@
|
|||||||
"@types/node": "18.19.24",
|
"@types/node": "18.19.24",
|
||||||
"@types/webpack-bundle-analyzer": "4.7.0",
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
||||||
"@types/webpack-hot-middleware": "2.25.9",
|
"@types/webpack-hot-middleware": "2.25.9",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"jest": "29.6.0",
|
"jest": "29.6.0",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": "^17.0.0 || ^18.0.0",
|
"react": "^17.0.0 || ^18.0.0",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/types",
|
"name": "@strapi/types",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Shared typescript types for Strapi internal use",
|
"description": "Shared typescript types for Strapi internal use",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"strapi"
|
"strapi"
|
||||||
@ -46,10 +46,10 @@
|
|||||||
"@casl/ability": "6.5.0",
|
"@casl/ability": "6.5.0",
|
||||||
"@koa/cors": "5.0.0",
|
"@koa/cors": "5.0.0",
|
||||||
"@koa/router": "12.0.2",
|
"@koa/router": "12.0.2",
|
||||||
"@strapi/database": "5.18.0",
|
"@strapi/database": "5.18.1",
|
||||||
"@strapi/logger": "5.18.0",
|
"@strapi/logger": "5.18.1",
|
||||||
"@strapi/permissions": "5.18.0",
|
"@strapi/permissions": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"commander": "8.3.0",
|
"commander": "8.3.0",
|
||||||
"json-logic-js": "2.0.5",
|
"json-logic-js": "2.0.5",
|
||||||
"koa": "2.16.1",
|
"koa": "2.16.1",
|
||||||
@ -66,9 +66,9 @@
|
|||||||
"@types/koa": "2.13.4",
|
"@types/koa": "2.13.4",
|
||||||
"@types/koa__router": "12.0.0",
|
"@types/koa__router": "12.0.0",
|
||||||
"@types/node-schedule": "2.1.7",
|
"@types/node-schedule": "2.1.7",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"tsconfig": "5.18.0",
|
"tsconfig": "5.18.1",
|
||||||
"typescript": "5.4.4",
|
"typescript": "5.4.4",
|
||||||
"undici": "6.21.2"
|
"undici": "6.21.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/upload",
|
"name": "@strapi/upload",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Makes it easy to upload images and files to your Strapi Application.",
|
"description": "Makes it easy to upload images and files to your Strapi Application.",
|
||||||
"license": "SEE LICENSE IN LICENSE",
|
"license": "SEE LICENSE IN LICENSE",
|
||||||
"author": {
|
"author": {
|
||||||
@ -63,8 +63,8 @@
|
|||||||
"@mux/mux-player-react": "3.1.0",
|
"@mux/mux-player-react": "3.1.0",
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/provider-upload-local": "5.18.0",
|
"@strapi/provider-upload-local": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"byte-size": "8.1.1",
|
"byte-size": "8.1.1",
|
||||||
"cropperjs": "1.6.1",
|
"cropperjs": "1.6.1",
|
||||||
"date-fns": "2.30.0",
|
"date-fns": "2.30.0",
|
||||||
@ -86,8 +86,8 @@
|
|||||||
"yup": "0.32.9"
|
"yup": "0.32.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@testing-library/dom": "10.1.0",
|
"@testing-library/dom": "10.1.0",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@testing-library/user-event": "14.5.2",
|
"@testing-library/user-event": "14.5.2",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/utils",
|
"name": "@strapi/utils",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Shared utilities for the Strapi packages",
|
"description": "Shared utilities for the Strapi packages",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"strapi",
|
"strapi",
|
||||||
@ -61,10 +61,10 @@
|
|||||||
"@types/http-errors": "2.0.4",
|
"@types/http-errors": "2.0.4",
|
||||||
"@types/koa": "2.13.4",
|
"@types/koa": "2.13.4",
|
||||||
"@types/node": "18.19.24",
|
"@types/node": "18.19.24",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"koa": "2.16.1",
|
"koa": "2.16.1",
|
||||||
"koa-body": "6.0.1",
|
"koa-body": "6.0.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/generators",
|
"name": "@strapi/generators",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Interactive API generator.",
|
"description": "Interactive API generator.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"strapi",
|
"strapi",
|
||||||
@ -49,19 +49,19 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sindresorhus/slugify": "1.1.0",
|
"@sindresorhus/slugify": "1.1.0",
|
||||||
"@strapi/typescript-utils": "5.18.0",
|
"@strapi/typescript-utils": "5.18.1",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"chalk": "4.1.2",
|
"chalk": "4.1.2",
|
||||||
"copyfiles": "2.4.1",
|
"copyfiles": "2.4.1",
|
||||||
"fs-extra": "11.2.0",
|
"fs-extra": "11.2.0",
|
||||||
"node-plop": "0.26.3",
|
"handlebars": "4.7.7",
|
||||||
"plop": "4.0.1",
|
"plop": "4.0.1",
|
||||||
"pluralize": "8.0.0"
|
"pluralize": "8.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "11.0.4",
|
"@types/fs-extra": "11.0.4",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import { join } from 'node:path';
|
import { join, dirname } from 'node:path';
|
||||||
import nodePlop from 'node-plop';
|
import handlebars from 'handlebars';
|
||||||
|
import fs from 'fs-extra';
|
||||||
|
|
||||||
// Starts the Plop CLI programmatically
|
// Starts the Plop CLI programmatically
|
||||||
export const runCLI = async () => {
|
export const runCLI = async () => {
|
||||||
@ -22,21 +23,104 @@ export const runCLI = async () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Runs a generator programmatically without prompts
|
type GenerateOptions = {
|
||||||
|
dir?: string;
|
||||||
|
plopFile?: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
type GeneratorAction = {
|
||||||
|
type: 'add' | 'modify';
|
||||||
|
path: string;
|
||||||
|
templateFile?: string;
|
||||||
|
data?: Record<string, any>;
|
||||||
|
transform?: (content: string) => string;
|
||||||
|
};
|
||||||
|
|
||||||
export const generate = async <T extends Record<string, any>>(
|
export const generate = async <T extends Record<string, any>>(
|
||||||
generatorName: string,
|
generatorName: string,
|
||||||
options: T,
|
options: T,
|
||||||
{ dir = process.cwd(), plopFile = 'plopfile.js' } = {}
|
{ dir = process.cwd(), plopFile = 'plopfile.js' }: GenerateOptions = {}
|
||||||
) => {
|
) => {
|
||||||
const plop = nodePlop(join(__dirname, plopFile), {
|
// Resolve the absolute path to the plopfile (generator definitions)
|
||||||
destBasePath: join(dir, 'src'),
|
const plopfilePath = join(__dirname, plopFile);
|
||||||
force: false,
|
// Dynamically require the plopfile module.
|
||||||
});
|
// Note: This allows loading either CommonJS or transpiled ESM plopfiles.
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
|
const plopModule = require(plopfilePath);
|
||||||
|
|
||||||
const generator = plop.getGenerator(generatorName);
|
// Internal objects to store registered generators and helpers.
|
||||||
await generator.runActions(options satisfies T, {
|
// These will be populated by the plopfile when it is executed.
|
||||||
onSuccess() {},
|
const generators: Record<string, any> = {};
|
||||||
onFailure() {},
|
const helpers: Record<string, any> = {};
|
||||||
onComment() {},
|
|
||||||
});
|
// Minimal mock Plop API implementation, exposing only the methods needed by our plopfile.
|
||||||
|
// This allows the plopfile to register generators and helpers as it would in a real Plop environment.
|
||||||
|
const plopApi = {
|
||||||
|
setGenerator(name: string, config: any) {
|
||||||
|
generators[name] = config;
|
||||||
|
},
|
||||||
|
setHelper(name: string, fn: any) {
|
||||||
|
helpers[name] = fn;
|
||||||
|
},
|
||||||
|
getDestBasePath() {
|
||||||
|
return join(dir, 'src');
|
||||||
|
},
|
||||||
|
setWelcomeMessage() {}, // no-op
|
||||||
|
};
|
||||||
|
|
||||||
|
// Execute the plopfile, passing in our API.
|
||||||
|
// This will populate the `generators` and `helpers` objects.
|
||||||
|
// Support both CommonJS and ESM default exports.
|
||||||
|
if (typeof plopModule.default === 'function') {
|
||||||
|
plopModule.default(plopApi);
|
||||||
|
} else {
|
||||||
|
plopModule(plopApi);
|
||||||
|
}
|
||||||
|
|
||||||
|
const generator = generators[generatorName];
|
||||||
|
if (!generator) {
|
||||||
|
throw new Error(`Generator "${generatorName}" not found`);
|
||||||
|
}
|
||||||
|
|
||||||
|
registerHandlebarsHelpers(helpers);
|
||||||
|
const actions: GeneratorAction[] =
|
||||||
|
typeof generator.actions === 'function' ? generator.actions(options) : generator.actions || [];
|
||||||
|
|
||||||
|
await executeActions(actions, options, dir);
|
||||||
|
|
||||||
|
return { success: true };
|
||||||
|
};
|
||||||
|
|
||||||
|
const registerHandlebarsHelpers = (helpers: Record<string, any>) => {
|
||||||
|
Object.entries(helpers).forEach(([name, fn]) => handlebars.registerHelper(name, fn));
|
||||||
|
};
|
||||||
|
|
||||||
|
// Executes generator actions: add or modify files as specified
|
||||||
|
const executeActions = async (
|
||||||
|
actions: GeneratorAction[],
|
||||||
|
options: Record<string, any>,
|
||||||
|
dir: string
|
||||||
|
) => {
|
||||||
|
for (const action of actions) {
|
||||||
|
const outputPath = handlebars.compile(action.path)(options);
|
||||||
|
const fullPath = join(dir, 'src', outputPath);
|
||||||
|
|
||||||
|
if (action.type === 'add' && action.templateFile) {
|
||||||
|
const templatePath = join(__dirname, action.templateFile);
|
||||||
|
const templateContent = await fs.readFile(templatePath, 'utf8');
|
||||||
|
const compiled = handlebars.compile(templateContent);
|
||||||
|
const output = compiled({ ...options, ...action.data });
|
||||||
|
|
||||||
|
await fs.ensureDir(dirname(fullPath));
|
||||||
|
await fs.writeFile(fullPath, output);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (action.type === 'modify') {
|
||||||
|
if (await fs.pathExists(fullPath)) {
|
||||||
|
const content = await fs.readFile(fullPath, 'utf8');
|
||||||
|
const modified = action.transform ? action.transform(content) : content;
|
||||||
|
await fs.writeFile(fullPath, modified);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -18,7 +18,6 @@ export default (plop: NodePlopAPI) => {
|
|||||||
description: 'Generate a content type for an API',
|
description: 'Generate a content type for an API',
|
||||||
async prompts(inquirer) {
|
async prompts(inquirer) {
|
||||||
const config = await inquirer.prompt([...ctNamesPrompts, ...kindPrompts]);
|
const config = await inquirer.prompt([...ctNamesPrompts, ...kindPrompts]);
|
||||||
// @ts-expect-error issue with deprecated inquirer.prompts attribute to fix with ugprade to inquirer
|
|
||||||
const attributes = await getAttributesPrompts(inquirer);
|
const attributes = await getAttributesPrompts(inquirer);
|
||||||
|
|
||||||
const api = await inquirer.prompt([
|
const api = await inquirer.prompt([
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
import type { PromptQuestion } from 'node-plop';
|
const questions = [
|
||||||
|
|
||||||
const questions: Array<PromptQuestion> = [
|
|
||||||
{
|
{
|
||||||
type: 'confirm',
|
type: 'confirm',
|
||||||
name: 'bootstrapApi',
|
name: 'bootstrapApi',
|
||||||
|
|||||||
@ -2,15 +2,13 @@ import pluralize from 'pluralize';
|
|||||||
import slugify from '@sindresorhus/slugify';
|
import slugify from '@sindresorhus/slugify';
|
||||||
import { strings } from '@strapi/utils';
|
import { strings } from '@strapi/utils';
|
||||||
|
|
||||||
import type { PromptQuestion } from 'node-plop';
|
|
||||||
|
|
||||||
interface Answers {
|
interface Answers {
|
||||||
displayName: string;
|
displayName: string;
|
||||||
singularName: string;
|
singularName: string;
|
||||||
pluralName: string;
|
pluralName: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const questions: Array<PromptQuestion> = [
|
const questions = [
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'displayName',
|
name: 'displayName',
|
||||||
@ -22,7 +20,7 @@ const questions: Array<PromptQuestion> = [
|
|||||||
name: 'singularName',
|
name: 'singularName',
|
||||||
message: 'Content type singular name',
|
message: 'Content type singular name',
|
||||||
default: (answers: Answers) => slugify(answers.displayName),
|
default: (answers: Answers) => slugify(answers.displayName),
|
||||||
validate(input) {
|
validate(input: string) {
|
||||||
if (!strings.isKebabCase(input)) {
|
if (!strings.isKebabCase(input)) {
|
||||||
return 'Value must be in kebab-case';
|
return 'Value must be in kebab-case';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
import type { DynamicPromptsFunction } from 'node-plop';
|
|
||||||
|
|
||||||
import validateAttributeInput from '../utils/validate-attribute-input';
|
import validateAttributeInput from '../utils/validate-attribute-input';
|
||||||
|
|
||||||
interface AttributeAnswer {
|
interface AttributeAnswer {
|
||||||
attributeName: string;
|
attributeName: string;
|
||||||
attributeType: typeof DEFAULT_TYPES;
|
attributeType: (typeof DEFAULT_TYPES)[number];
|
||||||
enum?: string;
|
enum?: string;
|
||||||
multiple?: boolean;
|
multiple?: boolean;
|
||||||
}
|
}
|
||||||
@ -32,7 +30,7 @@ const DEFAULT_TYPES = [
|
|||||||
'boolean',
|
'boolean',
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
const getAttributesPrompts: DynamicPromptsFunction = async (inquirer) => {
|
const getAttributesPrompts = async (inquirer: any) => {
|
||||||
const { addAttributes } = await inquirer.prompt([
|
const { addAttributes } = await inquirer.prompt([
|
||||||
{
|
{
|
||||||
type: 'confirm',
|
type: 'confirm',
|
||||||
@ -47,7 +45,7 @@ const getAttributesPrompts: DynamicPromptsFunction = async (inquirer) => {
|
|||||||
* @param {import('inquirer').Inquirer} inquirer
|
* @param {import('inquirer').Inquirer} inquirer
|
||||||
* @returns {Promise<void>}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
const createNewAttributes = async (inquirer: Parameters<DynamicPromptsFunction>[0]) => {
|
const createNewAttributes = async (inquirer: any) => {
|
||||||
const answers = await inquirer.prompt([
|
const answers = await inquirer.prompt([
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
@ -65,13 +63,13 @@ const getAttributesPrompts: DynamicPromptsFunction = async (inquirer) => {
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
when: (answers) => answers.attributeType === 'enumeration',
|
when: (answers: AttributeAnswer) => answers.attributeType === 'enumeration',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'enum',
|
name: 'enum',
|
||||||
message: 'Add values separated by a comma',
|
message: 'Add values separated by a comma',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
when: (answers) => answers.attributeType === 'media',
|
when: (answers: AttributeAnswer) => answers.attributeType === 'media',
|
||||||
type: 'list',
|
type: 'list',
|
||||||
name: 'multiple',
|
name: 'multiple',
|
||||||
message: 'Choose media type',
|
message: 'Choose media type',
|
||||||
|
|||||||
@ -1,13 +1,7 @@
|
|||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
import fs from 'fs-extra';
|
import fs from 'fs-extra';
|
||||||
|
|
||||||
import type { PromptQuestion } from 'node-plop';
|
export default (action: string, basePath: string, { rootFolder = false } = {}) => {
|
||||||
|
|
||||||
export default (
|
|
||||||
action: string,
|
|
||||||
basePath: string,
|
|
||||||
{ rootFolder = false } = {}
|
|
||||||
): Array<PromptQuestion> => {
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
type: 'list',
|
type: 'list',
|
||||||
@ -32,7 +26,7 @@ export default (
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
when: (answers) => answers.destination === 'api',
|
when: (answers: any) => answers.destination === 'api',
|
||||||
type: 'list',
|
type: 'list',
|
||||||
message: 'Which API is this for?',
|
message: 'Which API is this for?',
|
||||||
name: 'api',
|
name: 'api',
|
||||||
@ -55,7 +49,7 @@ export default (
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
when: (answers) => answers.destination === 'plugin',
|
when: (answers: any) => answers.destination === 'plugin',
|
||||||
type: 'list',
|
type: 'list',
|
||||||
message: 'Which plugin is this for?',
|
message: 'Which plugin is this for?',
|
||||||
name: 'plugin',
|
name: 'plugin',
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
import type { PromptQuestion } from 'node-plop';
|
|
||||||
|
|
||||||
import validateInput from '../utils/validate-input';
|
import validateInput from '../utils/validate-input';
|
||||||
|
|
||||||
const questions: Array<PromptQuestion> = [
|
const questions = [
|
||||||
{
|
{
|
||||||
type: 'list',
|
type: 'list',
|
||||||
name: 'kind',
|
name: 'kind',
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/plugin-cloud",
|
"name": "@strapi/plugin-cloud",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Instructions to deploy your local project to Strapi Cloud",
|
"description": "Instructions to deploy your local project to Strapi Cloud",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": {
|
"author": {
|
||||||
@ -45,14 +45,14 @@
|
|||||||
"react-intl": "6.6.2"
|
"react-intl": "6.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/strapi": "5.18.0",
|
"@strapi/strapi": "5.18.1",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-router-dom": "6.22.3",
|
"react-router-dom": "6.22.3",
|
||||||
"styled-components": "6.1.8",
|
"styled-components": "6.1.8",
|
||||||
"tsconfig": "5.18.0",
|
"tsconfig": "5.18.1",
|
||||||
"typescript": "5.4.4"
|
"typescript": "5.4.4"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/plugin-color-picker",
|
"name": "@strapi/plugin-color-picker",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Strapi maintained Custom Fields",
|
"description": "Strapi maintained Custom Fields",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -63,7 +63,7 @@
|
|||||||
"react-intl": "6.6.2"
|
"react-intl": "6.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/strapi": "5.18.0",
|
"@strapi/strapi": "5.18.1",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@testing-library/user-event": "14.5.2",
|
"@testing-library/user-event": "14.5.2",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/plugin-documentation",
|
"name": "@strapi/plugin-documentation",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
|
"description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -59,10 +59,10 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@reduxjs/toolkit": "1.9.7",
|
"@reduxjs/toolkit": "1.9.7",
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"bcryptjs": "2.4.3",
|
"bcryptjs": "2.4.3",
|
||||||
"cheerio": "^1.0.0",
|
"cheerio": "^1.0.0",
|
||||||
"formik": "2.4.5",
|
"formik": "2.4.5",
|
||||||
@ -78,9 +78,9 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@apidevtools/swagger-parser": "^10.1.0",
|
"@apidevtools/swagger-parser": "^10.1.0",
|
||||||
"@strapi/admin-test-utils": "5.18.0",
|
"@strapi/admin-test-utils": "5.18.1",
|
||||||
"@strapi/strapi": "5.18.0",
|
"@strapi/strapi": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@testing-library/user-event": "14.5.2",
|
"@testing-library/user-event": "14.5.2",
|
||||||
"@types/fs-extra": "11.0.4",
|
"@types/fs-extra": "11.0.4",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/plugin-graphql",
|
"name": "@strapi/plugin-graphql",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Adds GraphQL endpoint with default API methods.",
|
"description": "Adds GraphQL endpoint with default API methods.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -61,7 +61,7 @@
|
|||||||
"@koa/cors": "5.0.0",
|
"@koa/cors": "5.0.0",
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"graphql": "^16.8.1",
|
"graphql": "^16.8.1",
|
||||||
"graphql-depth-limit": "^1.1.0",
|
"graphql-depth-limit": "^1.1.0",
|
||||||
"graphql-playground-middleware-koa": "^1.6.21",
|
"graphql-playground-middleware-koa": "^1.6.21",
|
||||||
@ -73,19 +73,19 @@
|
|||||||
"pluralize": "8.0.0"
|
"pluralize": "8.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/strapi": "5.18.0",
|
"@strapi/strapi": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@types/graphql-depth-limit": "1.1.5",
|
"@types/graphql-depth-limit": "1.1.5",
|
||||||
"@types/koa-bodyparser": "4.3.12",
|
"@types/koa-bodyparser": "4.3.12",
|
||||||
"@types/koa__cors": "5.0.0",
|
"@types/koa__cors": "5.0.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"koa": "2.16.1",
|
"koa": "2.16.1",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-router-dom": "6.22.3",
|
"react-router-dom": "6.22.3",
|
||||||
"styled-components": "6.1.8",
|
"styled-components": "6.1.8",
|
||||||
"tsconfig": "5.18.0",
|
"tsconfig": "5.18.1",
|
||||||
"typescript": "5.4.4"
|
"typescript": "5.4.4"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/i18n",
|
"name": "@strapi/i18n",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Create read and update content in different languages, both from the Admin Panel and from the API",
|
"description": "Create read and update content in different languages, both from the Admin Panel and from the API",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -59,7 +59,7 @@
|
|||||||
"@reduxjs/toolkit": "1.9.7",
|
"@reduxjs/toolkit": "1.9.7",
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"qs": "6.11.1",
|
"qs": "6.11.1",
|
||||||
"react-intl": "6.6.2",
|
"react-intl": "6.6.2",
|
||||||
@ -67,10 +67,10 @@
|
|||||||
"yup": "0.32.9"
|
"yup": "0.32.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/admin": "5.18.0",
|
"@strapi/admin": "5.18.1",
|
||||||
"@strapi/admin-test-utils": "5.18.0",
|
"@strapi/admin-test-utils": "5.18.1",
|
||||||
"@strapi/content-manager": "5.18.0",
|
"@strapi/content-manager": "5.18.1",
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@testing-library/user-event": "14.5.2",
|
"@testing-library/user-event": "14.5.2",
|
||||||
"msw": "1.3.0",
|
"msw": "1.3.0",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/plugin-sentry",
|
"name": "@strapi/plugin-sentry",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Send Strapi error events to Sentry",
|
"description": "Send Strapi error events to Sentry",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -58,7 +58,7 @@
|
|||||||
"@strapi/icons": "2.0.0-rc.29"
|
"@strapi/icons": "2.0.0-rc.29"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/strapi": "5.18.0",
|
"@strapi/strapi": "5.18.1",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-router-dom": "6.22.3",
|
"react-router-dom": "6.22.3",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/plugin-users-permissions",
|
"name": "@strapi/plugin-users-permissions",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Protect your API with a full-authentication process based on JWT",
|
"description": "Protect your API with a full-authentication process based on JWT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -50,7 +50,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/design-system": "2.0.0-rc.29",
|
"@strapi/design-system": "2.0.0-rc.29",
|
||||||
"@strapi/icons": "2.0.0-rc.29",
|
"@strapi/icons": "2.0.0-rc.29",
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"bcryptjs": "2.4.3",
|
"bcryptjs": "2.4.3",
|
||||||
"formik": "2.4.5",
|
"formik": "2.4.5",
|
||||||
"grant": "^5.4.8",
|
"grant": "^5.4.8",
|
||||||
@ -69,7 +69,7 @@
|
|||||||
"yup": "0.32.9"
|
"yup": "0.32.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/strapi": "5.18.0",
|
"@strapi/strapi": "5.18.1",
|
||||||
"@testing-library/dom": "10.1.0",
|
"@testing-library/dom": "10.1.0",
|
||||||
"@testing-library/react": "15.0.7",
|
"@testing-library/react": "15.0.7",
|
||||||
"@testing-library/user-event": "14.5.2",
|
"@testing-library/user-event": "14.5.2",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/provider-email-amazon-ses",
|
"name": "@strapi/provider-email-amazon-ses",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Amazon SES provider for strapi email",
|
"description": "Amazon SES provider for strapi email",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"email",
|
"email",
|
||||||
@ -44,12 +44,12 @@
|
|||||||
"watch": "run -T rollup -c -w"
|
"watch": "run -T rollup -c -w"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"node-ses": "^3.0.3"
|
"node-ses": "^3.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/provider-email-mailgun",
|
"name": "@strapi/provider-email-mailgun",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Mailgun provider for strapi email plugin",
|
"description": "Mailgun provider for strapi email plugin",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"email",
|
"email",
|
||||||
@ -46,13 +46,13 @@
|
|||||||
"watch": "run -T rollup -c -w"
|
"watch": "run -T rollup -c -w"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
"mailgun.js": "10.2.1"
|
"mailgun.js": "10.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/provider-email-nodemailer",
|
"name": "@strapi/provider-email-nodemailer",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Nodemailer provider for Strapi 3",
|
"description": "Nodemailer provider for Strapi 3",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"strapi",
|
"strapi",
|
||||||
@ -62,8 +62,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/nodemailer": "6.4.7",
|
"@types/nodemailer": "6.4.7",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/provider-email-sendgrid",
|
"name": "@strapi/provider-email-sendgrid",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Sendgrid provider for strapi email",
|
"description": "Sendgrid provider for strapi email",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"email",
|
"email",
|
||||||
@ -45,11 +45,11 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sendgrid/mail": "8.1.3",
|
"@sendgrid/mail": "8.1.3",
|
||||||
"@strapi/utils": "5.18.0"
|
"@strapi/utils": "5.18.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/provider-email-sendmail",
|
"name": "@strapi/provider-email-sendmail",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Sendmail provider for strapi email",
|
"description": "Sendmail provider for strapi email",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"email",
|
"email",
|
||||||
@ -43,13 +43,13 @@
|
|||||||
"watch": "run -T rollup -c -w"
|
"watch": "run -T rollup -c -w"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"sendmail": "^1.6.1"
|
"sendmail": "^1.6.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/sendmail": "1.4.4",
|
"@types/sendmail": "1.4.4",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/provider-upload-aws-s3",
|
"name": "@strapi/provider-upload-aws-s3",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "AWS S3 provider for strapi upload",
|
"description": "AWS S3 provider for strapi upload",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"upload",
|
"upload",
|
||||||
@ -55,8 +55,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "29.5.2",
|
"@types/jest": "29.5.2",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/provider-upload-cloudinary",
|
"name": "@strapi/provider-upload-cloudinary",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Cloudinary provider for strapi upload",
|
"description": "Cloudinary provider for strapi upload",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"upload",
|
"upload",
|
||||||
@ -44,13 +44,13 @@
|
|||||||
"watch": "run -T rollup -c -w"
|
"watch": "run -T rollup -c -w"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"cloudinary": "^1.41.0",
|
"cloudinary": "^1.41.0",
|
||||||
"into-stream": "^5.1.0"
|
"into-stream": "^5.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/provider-upload-local",
|
"name": "@strapi/provider-upload-local",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Local provider for strapi upload",
|
"description": "Local provider for strapi upload",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"upload",
|
"upload",
|
||||||
@ -45,16 +45,16 @@
|
|||||||
"watch": "run -T rollup -c -w"
|
"watch": "run -T rollup -c -w"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"fs-extra": "11.2.0"
|
"fs-extra": "11.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@types/fs-extra": "11.0.4",
|
"@types/fs-extra": "11.0.4",
|
||||||
"@types/jest": "29.5.2",
|
"@types/jest": "29.5.2",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"memfs": "4.6.0",
|
"memfs": "4.6.0",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "api-tests",
|
"name": "api-tests",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dotenv": "16.4.5",
|
"dotenv": "16.4.5",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "eslint-config-custom",
|
"name": "eslint-config-custom",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "index.js"
|
"main": "index.js"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/logger",
|
"name": "@strapi/logger",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Strapi's logger",
|
"description": "Strapi's logger",
|
||||||
"homepage": "https://strapi.io",
|
"homepage": "https://strapi.io",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
@ -44,8 +44,8 @@
|
|||||||
"winston": "3.10.0"
|
"winston": "3.10.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"tsconfig": "5.18.0"
|
"tsconfig": "5.18.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <=22.x.x",
|
"node": ">=18.0.0 <=22.x.x",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tsconfig",
|
"name": "tsconfig",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tsconfig/node18": "18.2.2"
|
"@tsconfig/node18": "18.2.2"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/typescript-utils",
|
"name": "@strapi/typescript-utils",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "Typescript support for Strapi",
|
"description": "Typescript support for Strapi",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"strapi",
|
"strapi",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/upgrade",
|
"name": "@strapi/upgrade",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"description": "CLI to upgrade Strapi applications effortless",
|
"description": "CLI to upgrade Strapi applications effortless",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"strapi",
|
"strapi",
|
||||||
@ -61,7 +61,7 @@
|
|||||||
"watch": "run -T rollup -c -w"
|
"watch": "run -T rollup -c -w"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/utils": "5.18.0",
|
"@strapi/utils": "5.18.1",
|
||||||
"chalk": "4.1.2",
|
"chalk": "4.1.2",
|
||||||
"cli-table3": "0.6.2",
|
"cli-table3": "0.6.2",
|
||||||
"commander": "8.3.0",
|
"commander": "8.3.0",
|
||||||
@ -78,10 +78,10 @@
|
|||||||
"undici": "6.21.2"
|
"undici": "6.21.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@strapi/types": "5.18.0",
|
"@strapi/types": "5.18.1",
|
||||||
"@types/fs-extra": "11.0.4",
|
"@types/fs-extra": "11.0.4",
|
||||||
"@types/jscodeshift": "0.12.0",
|
"@types/jscodeshift": "0.12.0",
|
||||||
"eslint-config-custom": "5.18.0",
|
"eslint-config-custom": "5.18.1",
|
||||||
"rimraf": "5.0.5"
|
"rimraf": "5.0.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "scripts-front",
|
"name": "scripts-front",
|
||||||
"version": "5.18.0",
|
"version": "5.18.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test:front": "jest --config jest.config.front.js"
|
"test:front": "jest --config jest.config.front.js"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user