15 Commits

Author SHA1 Message Date
Alexandre Bodin
6f7e0c27e7 v3.6.5 2021-06-23 15:44:38 +02:00
Alexandre Bodin
37de70c4f9 v3.6.4 2021-06-23 15:19:11 +02:00
Alexandre Bodin
32c36bc9ac Revert to node-fetch to lighten the packages 2021-06-23 14:49:52 +02:00
Mark Kaylor
a655f861f5 add interactive CLI for starters and templates 2021-06-23 14:11:57 +02:00
markkaylor
a860d74a35
[Starter CLI] fix has-yarn (#10532)
* fix missing function call

* fix deprecated execa command
2021-06-23 14:00:57 +02:00
Alexandre Bodin
0ab3503e3c v3.6.3 2021-06-02 16:24:59 +02:00
Fabien Del Carmen
631ac69686
Add CLI support for branch in direct GitHub URL (#10273)
* Add CLI support for branch in direct GitHub URL

* Change getRepoInfo to return branch

* Change variable name, add eslint 'one-var' rule

* Fix eslint 'one-var' error

* Move fetch GitHub logic in its own file

* Update code to avoid destructuring reassignment

* Update and add some JSDoc
2021-05-19 19:02:41 +02:00
Alexandre Bodin
43b947b2ba v3.6.2 2021-05-11 11:43:35 +02:00
dependabot[bot]
a7de8156b1
Bump ora from 5.3.0 to 5.4.0 (#10223)
Bumps [ora](https://github.com/sindresorhus/ora) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/compare/v5.3.0...v5.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 17:59:48 +11:00
Alexandre Bodin
2fd29041f8 v3.6.1 2021-04-29 14:34:38 +02:00
dependabot[bot]
176568bdc4
Bump chalk from 4.1.0 to 4.1.1 (#10112)
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.0...v4.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 10:56:14 +02:00
Alexandre Bodin
4ab210eec6 v3.6.0 2021-04-21 17:00:57 +02:00
markkaylor
b7bd30b918
add cross env (#9845) 2021-03-26 15:41:13 +01:00
Alexandre Bodin
3065d72a4b v3.5.4 2021-03-25 14:34:45 +01:00
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