flyntwp / generator-flynt Goto Github PK
View Code? Open in Web Editor NEWA Yeoman generator to create Flynt Components
Home Page: https://flyntwp.com
License: MIT License
A Yeoman generator to create Flynt Components
Home Page: https://flyntwp.com
License: MIT License
I want dis https://github.com/bleech/readme-template automagically generated for components. Would be amazeballs.
Right now I can't decide if I want to generate additional files like the README or Component screenshots too. If I only want to generate one single file (stylus.styl) for example, I can't do so without generating additional content.
Hello. Managed to install the generator, it starts when I use yo @flyntwp/generator, but whenever I select an option, the following error occurs. Tried running it in the theme folder, in the Components folder and in a newly created folder for a Component.
events.js:174
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, scandir '{myfolder}\themes\flynt\theme\/Components'
at Object.readdirSync (fs.js:786:3)
at module.exports._promptComponentFile (\AppData\Local\Yarn\Data\global\node_modules\@flyntwp\generator-flynt\generators\component\index.js:77:8)
at prompt.then.answers (AppData\Local\Yarn\Data\global\node_modules\@flyntwp\generator-flynt\generators\component\index.js:43:21)
at process._tickCallback (internal/process/next_tick.js:68:7)
Emitted 'error' event at:
at Immediate.setImmediate (\AppData\Local\Yarn\Data\global\node_modules\yeoman-generator\lib\index.js:450:18)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
Cheers !
Please release a new version on npm so that the latest variable name changes are in there.
For example $globalRuptureScale
is still called $globalLayoutScale
in the latest published version.
Add whitespaced padding lines for the functions.php so the return $data;
line is padded by a whitespaced line on top.
Problem
The lookup variables are still written in kebab-case, while we moved to camelCase in the official flynt-theme.
$global-layout-scale
should actually be $globalLayoutScale
. Same with the other variables.
Problem
Right now we don't have a variable for the outter container paddings used inside the Jeet center()
.
We need to add
$gutterWidth = lookup('$globalLayoutGutterWidth') || 2
$containerPadding = lookup('$globalLayoutContainerPadding') || 15px
Please adjust the repo's README.md to match standard-readme format.
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.