19 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
DMehaffy
6cdda5eb70
Do not use npm v7 on new projects (#9330)
* Do not use npm v7 on new projects

Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>

* pr feedback

Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2021-02-10 17:35:02 +01:00
soupette
61a3740c06 Fix conflicts
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-11-23 14:43:07 +01:00
DMehaffy
717a834a04
Fix project generation with wrong node engine spec (#8497)
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-10-29 07:48:16 -07:00
Alexandre Bodin
ceb11379fc Add passportjs and refactor login
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:23:50 +02:00
Alexandre Bodin
da910b0b39 Fix create new project cli option for mongo not handled correctly
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

Fix typos

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

Add tests for env helpers

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

Typo

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:44 +02:00
Alexandre Bodin
3745c7f0d0 Update project generator
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:36 +02:00
DMehaffy
5f28916210 Clean up template and remove keys that would break bookshelf/knex (#4444)
* Clean up template and remove keys that would break bookshelf/knex

* PR feedback remove debug
2019-11-13 15:21:08 +01:00
Alexandre Bodin
c0683cad2f Remove eslint from project generation to gain speed and keep node compat 2019-10-15 17:18:20 +02:00
Abdón Rodríguez Davila
118691808b Update ESLint to v6.3 2019-09-09 15:28:59 +02:00
Abdón Rodríguez Davila
4b5a02088c Update ESLint dependencies 2019-08-28 12:20:27 +02:00
Abdón Rodríguez Davila
38f6c02446 Update ESLint dependencies 2019-08-28 12:20:27 +02:00
Alexandre Bodin
7acd885e9f Fix missing connector in generated database.json files 2019-07-16 19:21:00 +02:00
Abdón Rodríguez Davila
2017b62c03
Update engines configuration 2019-07-15 11:05:42 +02:00
Alexandre Bodin
23fdc37b0f Allow node >= 10 2019-07-10 10:35:56 +02:00
Abdón Rodríguez Davila
1b00044114 Lint all files 2019-07-09 15:54:51 +02:00
Abdón Rodríguez Davila
3c537bd764 Update ESLint dependencies 2019-07-09 12:56:21 +02:00
Alexandre Bodin
19531a102d Apply feedbacks 2019-07-08 09:20:52 +02:00
Alexandre Bodin
9fdf6be746 Refactor strapi-generate-new to be async 2019-06-20 18:28:17 +02:00