Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
generator-nitro
Advanced tools
Yeoman generator for Nitro - lets you quickly set up a frontend project with sensible defaults and best practices.
Nitro is a Node.js application for simple and complex frontend development with a tiny footprint.
It provides a proven but flexible structure to develop your frontend code, even in a large team.
Keep track of your code with a modularized frontend. This app and the suggested atomic design, BEM and terrific concepts could help.
Nitro is simple, fast and flexible. Use this app for all your frontend work.
Before using, you need of course node and npm installed.
Nitro and the Nitro generator are tested with the current versions of the node.js releases 0.12 and 4 (LTS). So everything between should work.
The node.js release 0.10 is no longer supported and it's not recommended to update node.js to release 5.
Install yo
and other required tools:
npm install -g yo bower gulp jasmine karma-cli
If you want to use TypeScript, you need to install "tsd" (typescript definition repository) as well.
npm install -g tsd
Install generator-nitro
:
npm install -g generator-nitro
Make a new directory, and cd
into it:
mkdir my-new-project && cd my-new-project
Run:
yo nitro
You will be guided through some configuration options:
less
or scss
; default: less
)JavaScript
or TypeScript
; default: JavaScript
)It's possible to pass in these options through the command line
yo nitro --name=myproject --pre=scss --js=JavaScript
Available generators:
yo nitro
(aka nitro:app
)yo nitro:component [name]
Note: Generators are to be run from the root directory of your app.
See how tho use the generated app
Running npm test
will run the jasmine
unit tests.
npm test
See the contributing docs
When submitting an issue, please follow the guidelines. Especially important is to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.
When submitting a bugfix, write a test that exposes the bug and fails before applying your fix. Submit the test alongside the fix.
When submitting a new feature, add tests that cover the feature.
Recent changes can be viewed on Github on the Releases Page
FAQs
Yeoman generator for the nitro frontend framework
The npm package generator-nitro receives a total of 356 weekly downloads. As such, generator-nitro popularity was classified as not popular.
We found that generator-nitro demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.