18 Commits

Author SHA1 Message Date
soupette
f1c9d4df21 Add clean command
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-14 15:41:01 +02:00
Jean-Sébastien Herbaux
a583d1b859
Fix/#3184/fix server crashs on database change (#5703)
* Don't set connection field on create/edit operation on content-types & components

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Make sure that every component has a valid connection attribute

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection check on components load

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove default connections from core & webhook stores but make sure it's defined in the application lifecycle

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix component's associations that can be undefined instead of empty in populateBareAssociations

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove "default" connection from plugins' models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection attribute from generated models (cli)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Mutate each component instead of reassign

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Build core_store and webhook model based on the current config

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Add connection to templates conditionally (based on args)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Set default value for description to undefined instead of empty string

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove unnecessary complexity

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Update getStarted models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix attributes parsing for generate:model

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Removed tpl option from generate:model/api

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove tpl option from cli

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-04-07 16:31:44 +02:00
Michael-Scott-PC
e56fa01c1c
Documentation improvements 2020-03-22 18:28:03 +01:00
Brad Christie
b2d19c8ad8
Add --no-run and --use-npm (#5420)
Not sure if you want to call-out that it will leverage yarn if/when possible (if npm flag is not set).

Did notice other APIs need an update, but unsure how `---tpl` relates to new cli. I assume it's been refactored into `--extend`, but unsure.

Signed-off-by: Brad Christie <bch@sitecore.net>
2020-03-12 09:34:01 +01:00
sanvit
b4c97628d4
Update CLI.md 2020-02-22 00:27:55 +09:00
Jim LAURIE
95d707dc0e Add strapi console comand 2019-12-06 14:40:25 +01:00
Jim LAURIE
74b0f2e11e Update files dir 2019-11-07 12:05:39 +01:00
soupette
286de27309 Fix PR feedback 2019-10-14 16:46:35 +02:00
soupette
983839f538 Change cli options 2019-10-14 10:51:25 +02:00
soupette
55b8a20a80 Add serviceworker and add option to skip the assets minization for faster build 2019-10-10 07:08:04 +02:00
soupette
0b39322bba Apply PR feedback 2019-09-26 11:52:02 +02:00
soupette
a9514c88e7 Add doc about admin development 2019-09-24 14:43:17 +02:00
Louis Augry
a3fe9d5a38 Fix documention typo 2019-07-08 15:10:17 +02:00
David Karlsson
0a820059f8 (docs) CLI description
Minor editorial changes.
2019-06-14 13:42:11 +02:00
Alexandre Bodin
82b4f6eafb Apply review 2019-05-24 16:31:20 +02:00
Alexandre Bodin
6aa3ddc408 Add strapi.query / plugin.queries doc 2019-05-24 16:31:20 +02:00
Alexandre Bodin
1cfeaba98c Update CLI docs 2019-05-24 16:31:20 +02:00
Jim LAURIE
074bb55e00 Move to beta.0 to beta.x 2019-05-07 17:00:37 +02:00