45 Commits

Author SHA1 Message Date
Mark Kaylor
5505efd304 Create CLI for Strapi starter project
Create starter CLI

Add spaces option

Extract project basename

Add starter shortcut

Refactor git init commit

Replace concurrently with npm-run-all

Move fetch repo function to dedicated file

Allow shortcut to accept external org repo

Fix package config & readme

Fix versions

Add task prefixes

Update readme

[Starter CLI] error handling (#9600)

* Display error message + help for missing arguments

* Add cleaner error messages

* Bump commander from v6.1.0 to v7.1.0

* Capture and log errors from commander

* Simplify cli argument errors

* Provide more human readable error messages

* Replace throw with console log

* Add logger

Add starter tracking

Add wrapper for tracking keys

Update root config

Keep template in scope root

fix strapi config

Fix open frontend

Remove open-cli

Update for rename frontend->starter

update description

Update tracking

Fix tests

fix e2e tests

Make sure packageJsonStrapi does not override unwanted keys & make it optional to avoid errors

simplify metadata strapi

Allow stater or frontend folder for smooth migration of existing starters

Udpate dep

Handle error
2021-03-25 14:06:01 +01:00
Rémi de Juvigny
11c9ea17eb Add --template option to create-strapi-app
Signed-off-by: Rémi de Juvigny <remi@hey.com>
2020-08-28 10:23:03 +02:00
Aurélien GEORGET
aad7f486d2
Support STRAPI_UUID_PREFIX env var (#6797)
Signed-off-by: Aurélien Georget <aurelsicoko@gmail.com>
2020-06-24 18:27:49 +02:00
Aurélien Georget
cf9bcc2337 Use environment variable instead of argument 2019-12-02 15:30:22 +01:00
Aurélien Georget
773b89bc79 Add parameter to identify Docker projects 2019-11-29 18:10:32 +01:00
Alexandre Bodin
866a612d41 Merge branch 'master' into develop 2019-10-15 17:48:45 +02:00
Alexandre Bodin
0367a55751 Improve sentry error analytics and startup message 2019-10-15 17:18:20 +02:00
Alexandre Bodin
85cd288526 Capture more detailed events 2019-10-15 17:18:19 +02:00
soupette
6b0acc7b8e Remove settings-manager 2019-10-02 17:27:22 +02:00
Alexandre Bodin
571e7f3579 Factorize sentry capture code 2019-09-26 14:03:22 +02:00
Alexandre Bodin
67e60369df Add sentry to strapi-generate-new 2019-09-26 12:33:36 +02:00
Alexandre Bodin
574b24b5b4 Use generateNew directly and disable dep install 2019-07-18 16:33:18 +02:00
Alexandre Bodin
90149dae59 Update wordings 2019-07-08 16:13:36 +02:00
Alexandre Bodin
c3eaa63fb0 Add --use-npm argument to cli 2019-07-02 17:38:06 +02:00
Alexandre Bodin
d705f7210d Use ora to add a nice loader 2019-06-20 18:28:18 +02:00
Alexandre Bodin
723628fec0 Some cleanup 2019-06-20 18:28:18 +02:00
Alexandre Bodin
3295c6824b Create create-strap-app pacakge 2019-06-20 18:28:17 +02:00
Alexandre Bodin
9fdf6be746 Refactor strapi-generate-new to be async 2019-06-20 18:28:17 +02:00
Jim LAURIE
812665c035
Add extension gitkeep 2019-05-16 15:37:03 +02:00
Alexandre Bodin
a7c198ef58 Add gitkeep in api folder 2019-05-16 14:35:47 +02:00
Alexandre Bodin
8f6b85dd49 Remove plugins folder creation on strapi new 2019-05-02 18:05:08 +02:00
Alexandre Bodin
500822d405 Clean useless tests and add boot checks 2019-04-16 09:00:24 +02:00
Alexandre Bodin
9e9ff9907d Refactor strapi load 2019-04-16 08:50:22 +02:00
Jim LAURIE
292447a4d2 Fix database prod and staging template 2019-01-27 16:55:55 +01:00
Ahmed El Sayegh
54f70da366 Add gitkeep template and target 2019-01-22 12:31:49 +02:00
Jim LAURIE
44e3154cef Remove .npmignore from generated files close #823 2018-12-01 16:44:56 +01:00
aDeve
87512cc34b update link of version in leftMenuFooter : redirect now to changelog.
fix typo in strapi-generate-new.
2018-10-29 18:50:30 +01:00
Pierre Burgy
f5780683ce Improve documentation 2018-10-28 08:15:31 +01:00
Alberto Maturano
154fc28a57 Normalize to standar file permissions
As a result of taking a look on PR #1967 I realized there is 819
executable files in this repository. It is obvious this is an error.
2018-09-24 12:33:09 -05:00
Aurelsicoko
d6180d4148 Easily use MySQL project in development mode 2018-04-20 15:31:57 +02:00
Jim Laurie
de3da8eaf7 Fix conflicts 2018-02-19 19:56:23 +01:00
Jim Laurie
cf029dac07 Create db entry on upload and get uploads 2018-02-19 15:41:26 +01:00
Luca Perret
d0457c887a fix(generate-new): prevent delete the node_modules dir 2018-02-16 19:50:28 +01:00
Jim Laurie
a892a6943d Form to configure database connection 2018-01-05 15:17:59 +01:00
Jim Laurie
f9126e5f0d Fix .gitignore file generation 2017-12-13 14:23:07 +01:00
Jim Laurie
1604ffe658 Change gitignore generated app 2017-11-06 14:47:00 +01:00
Aurélien Georget
b80bdd9163 Update app generator 2016-12-05 12:43:12 +01:00
Pierre Burgy
72e1d72420 Enable strapi-generate-admin generator 2016-12-01 16:44:03 +01:00
Aurélien Georget
05f53273b1 Fix conflicts 2016-10-24 18:14:53 +02:00
Aurélien Georget
a894c88e77 Use symlink and global for creating and starting 2016-10-21 13:30:34 +02:00
Aurélien Georget
4ab69de4be Missing comma 2016-08-31 12:26:26 +02:00
Aurélien Georget
8144b24fc5 Create admin directory on new app 2016-08-31 12:25:49 +02:00
Aurélien Georget
f8a997ed84 Create public directory on new app 2016-08-31 12:25:07 +02:00
Aurélien Georget
2ed26eb58f Create plugins directory on new app 2016-08-31 12:24:27 +02:00
loicsaintroch
de96d913dd Form multi repos to mono repo workflow 2016-03-18 11:12:50 +01:00