typescript-webpack-starter
typescript-webpack-starter copied to clipboard
Add schematics bootstrap code (Angular, React, Vue, etc)
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
@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:
- 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 ?