๐ค (Java|Type)Script, CSS, Python, C#, SQL
๐ Pacific Northwest
๐คน Drums, Backpacking, Hiking, Photography
Make boilerplate bearable
Home Page: https://ganderzz.github.io/gnerate/
License: MIT License
Some checks are in place, but going to need to do better. Add error checks for everything!
Everything done in a config file should also be mirrored in command line arguments.
Add --templatePath=
(To resolve template path) and --[key]=[value]
(For injecting variables to templates).
This will also need to make having the config file optional.
Add more terminal args.
Some ideas:
Need to write docs on how to set up Gnerate.
generate --init
will provide a base config file, but still need to describe what templates are, and the templates directory.
Write unit tests for both the CLI and what it outputs
It'd be nice to be able to define aliases for templates through the config.
{
alias: {
"test": ["component", "container"]
}
}
Templates are useless without being able to dynamically inject variables into them!
For example, I would like the have the filename visible to name a JS class the same as the filename.
I imagine this being similar to template strings to make it easy to learn.
class ${rgen.filename} extends React.Component {}
Improve the docs and readme to help explain gnerate better.
Would help to add a compilation library instead of rolling our own. Nunjucks seems to be a good solution.
Right now the config file resolves its path to where the terminal command is being ran. For example, in the example directory (here), I have to put "./example/templates".
The templates path should be smart enough to resolve to path to where the config file is. So, the path to the templates should be "./templates" in the config file.
Let's clean up some of this code.
Currently the tools for contributing to the project are slim. It would help to create a better way to test gnerate locally, plus add some nice tooling like linting.
This may be a case to include linting into our CI, or use a pre-commit check (Husky?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.