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 schematics bootstrap code (Angular, React, Vue, etc) #20

Open
splincode opened this issue Apr 6, 2018 · 1 comment
Open

Add schematics bootstrap code (Angular, React, Vue, etc) #20

splincode opened this issue Apr 6, 2018 · 1 comment
Assignees
Labels

Comments

@splincode
Copy link

Angular has so-called schematics bootstrap code

$ create-ts-lib my-typescript-lib --collection=angular-starter
$ create-ts-lib my-typescript-lib --collection=react-starter
$ create-ts-lib my-typescript-lib --collection=vue-starter
@emyann emyann added the Feature label Aug 21, 2018
@emyann
Copy link
Member

emyann commented Aug 22, 2018

@splincode Thanks for this suggestion! I really like the idea of having something like presets giving us more flexibility on the creation of the final project.

I will take a look at angular schematics, I am intrigued by their tree implementation. I will draft a prototype that allows to use the cli this way for example:

create-ts-lib create -p default | minimal -n app

Where Default and Minimal presets could be a composition of tools in these categories:

  1. Application Type (TS, ES6..), 2. Bundler(Webpack, Rollup), 3. Test Framework(Jest...), 4. Automatic Versionning (?) , 5. CI/CD (Travis, CircleCI)

default

  • 1.Typescript, 2.Webpack, 3.Karma+Jasmine, 4.Semantic Release, 5.CircleCI

minimal

  • 1.Typescript, 2.Webpack, 3.Jest, 4.None, 5.None

What do you think ?

@emyann emyann self-assigned this Aug 22, 2018
@emyann emyann added this to To do in create-ts-lib Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
create-ts-lib
  
To do
Development

No branches or pull requests

2 participants