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-asimov-component
Advanced tools
A generator for Yeoman.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository.
$ npm install -g yo
To install generator-asimov-component from npm, run:
$ npm install -g generator-asimov-component
Since every every Asimov component is expected to be a standalone repository we recommend starting by creating your repository and checking it out locally.
Next go into the folder you just checked out and initiate the generator:
$ yo asimov-component
You'll be promtped to answer a couple questions to help us generate your component. These questions are explained below:
What is the name of your component?
A short name for people to find your component among other things eg. fluid grid
, modal
, awesome forms
etc.
A short description?
A short description for people who might be looking to use your component eg. A simple grid for Asimov projects
etc.
Is this component maintained by the asimov team?
Is this component being developed on behalf of the Asimov core team. You should almost always answer no.
Should this component conform to offical packages?
Do you wish for your component to be held to the same strict coding standards as officially maintained packages. If you answered yes to the previous question you will not be asked this.
Will this component be IE8 compatible?
Do you wish for Asimov's internal code quality checks to alert if something may not work in IE8. This is by no means a silver bullet so be sure to test your components :) If you answered yes to the previous question you will not be asked this since all official packages enable this.
Will this component have js?
This needs to be true if your component has javascript otherwise project using this component wont get your javascript.
The generator will now create the directory structure required for Asimov components as well as basic package.json
and bower.json
files.
Next you will need to initialize npm
npm init
You should able to accept the defaults values unless you wish to change them. We recommend changing the license to MIT.
You're now ready to start building your component!
FAQs
A generator for Yeoman
The npm package generator-asimov-component receives a total of 0 weekly downloads. As such, generator-asimov-component popularity was classified as not popular.
We found that generator-asimov-component demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.