From 32dcf4d807159155a9bf5f791dbaef75ec36b50b Mon Sep 17 00:00:00 2001 From: Michael-Scott-PC <43099976+Michael-Scott-PC@users.noreply.github.com> Date: Sat, 21 Dec 2019 16:13:49 -0500 Subject: [PATCH 1/3] Update databases.md Hello Strapi Team - running yarn create strapi-app new my-project generates a folder named "new". The "my-project" part has no effect on this command. I ran this a couple times to verify. If the intent is to a create a new folder named "my-project" I would recommend removing the word "new". - Mike --- docs/3.0.0-beta.x/guides/databases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3.0.0-beta.x/guides/databases.md b/docs/3.0.0-beta.x/guides/databases.md index b1203d0c12..fcf0f8bcd6 100644 --- a/docs/3.0.0-beta.x/guides/databases.md +++ b/docs/3.0.0-beta.x/guides/databases.md @@ -172,7 +172,7 @@ MongoDB must already be running in the background. ::: tab yarn ``` -yarn create strapi-app new my-project +yarn create strapi-app my-project ``` ::: From 76951e22c234b454fd966d1859da534294a1a7aa Mon Sep 17 00:00:00 2001 From: Urvil Patel Date: Mon, 23 Dec 2019 11:42:58 +0530 Subject: [PATCH 2/3] Update models.md --- docs/3.0.0-beta.x/concepts/models.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3.0.0-beta.x/concepts/models.md b/docs/3.0.0-beta.x/concepts/models.md index 7c9a040d48..7625f9b6e5 100644 --- a/docs/3.0.0-beta.x/concepts/models.md +++ b/docs/3.0.0-beta.x/concepts/models.md @@ -349,7 +349,7 @@ xhr.send( ::: tab "Many-to-Many" id="many-to-many" -One-to-Many relationships are usefull when an entry can be liked to multiple entries of an other Content Type. And an entry of the other Content Type can be linked to many entries. +Many-to-Many relationships are usefull when an entry can be liked to multiple entries of an other Content Type. And an entry of the other Content Type can be linked to many entries. #### Example From 5d96192211af1644866fad2c5ed330dcfdca71a0 Mon Sep 17 00:00:00 2001 From: Alexandre Bodin Date: Mon, 23 Dec 2019 09:58:01 +0100 Subject: [PATCH 3/3] Fix typo in install command --- packages/strapi-generate-new/lib/create-customized-project.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/strapi-generate-new/lib/create-customized-project.js b/packages/strapi-generate-new/lib/create-customized-project.js index 3ee8971ccc..2e4da76727 100644 --- a/packages/strapi-generate-new/lib/create-customized-project.js +++ b/packages/strapi-generate-new/lib/create-customized-project.js @@ -164,7 +164,7 @@ async function askDatabaseInfos(scope) { } async function installDatabaseTestingDep({ scope, configuration }) { - let packageManager = scope.useYarn ? 'yarnpkg' : 'npm;'; + let packageManager = scope.useYarn ? 'yarnpkg' : 'npm'; let cmd = scope.useYarn ? ['--cwd', scope.tmpPath, 'add'] : ['install', '--prefix', scope.tmpPath];