Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to create new Riot projects #1

Open
laznic opened this issue Jun 10, 2020 · 4 comments
Open

Add support to create new Riot projects #1

laznic opened this issue Jun 10, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@laznic
Copy link
Contributor

laznic commented Jun 10, 2020

Tori should have a command to create a new project from scratch. See if Riot 4 Boilerplate could be used in this.

@laznic laznic changed the title Add support to create new projects Add support to create new riot projects Jun 10, 2020
@laznic laznic changed the title Add support to create new riot projects Add support to create new Riot projects Jun 10, 2020
@laznic laznic added the enhancement New feature or request label Jun 10, 2020
@damusix
Copy link

damusix commented Jul 19, 2020

@laznic lmk if i can be of help. Ill update dependencies on the project sometime this week.

@laznic
Copy link
Contributor Author

laznic commented Jul 21, 2020

@damusix Sure thing! I'm thinking to look into this this week and the next.

@laznic
Copy link
Contributor Author

laznic commented Aug 5, 2020

Sorry for the silent period. Ended up not having time to work on it few weeks ago and have been busy helping friends company out with their technical stuff, and just got back to work after my summer vacation.. Let's see if I can jump into this sometime soon.

What I've been thinking about, is that I'd like to do a command (maybe tori new <project name>) which then prompts you to choose from different options:

  1. Riot official (npm init riot)
  2. Riot 4 Boilerplate (git clone)
  3. Tori standard (git clone or copying templates like with the components)

Then after each initialization and when the project directory with all the files have been created, it would also add the tori config to package.json with some predetermined options to create components. I'm also planning on supporting riot.config.js file for Tori, so this could also be good chance to look into that.

@damusix
Copy link

damusix commented Aug 6, 2020

@laznic OK sounds good. I just updated dependencies so I'll look into this tori pattern next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants