Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
generator-dharma
Advanced tools
The Dharma generator builds a base WordPress project following best practices and methods for WordPress and front-end development.
generator-dharma
: A WordPress site Yeoman generator for Overhaul Media.
Dharma signifies behaviours that are considered to be in accord with order that makes life and universe possible, and includes duties, rights, laws, conduct, virtues and “right way of living”.
The Dharma generator builds a base WordPress project following best practices and methods for WordPress and front-end development.
Install generator-dharma
globally from npm and initiate in a fresh project directory:
$ npm install -g generator-dharma
$ yo dharma
Okay, first you need to be in the right environment. This should only need to be done one time as once the tools are installed they can be used on multiple projects.
On a Mac? Got Terminal open? Here we go:
First, install Homebrew.
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Homebrew is great for managing command-line executables, like git
and npm
, which we'll install next.
Next, install node package manager.
$ brew install npm
Node is like Homebrew except (generally) front-end–focused and everything is built with Javascript.
Install Yeoman and his friend, Bower.
$ npm install -g yo bower
Yeoman uses generators—like this one!—to rapidly generate a project structure. Bower is a package manager like Node and Homebrew, but specifically for front-end components (i.e. jQuery plugins, &c.).
Install Gulp. or Grunt. Or both, why not?
$ npm install -g gulp grunt
Gulp (and Grunt) is a task runner. Used during development, these tools can automate a lot of the tedious stuff so we don’t need to remember if the CSS was minimised or images were optimised.
Now install generator-dharma
and run it in a new project folder
$ npm install -g generator-dharma
$ yo dharma
Just follow the on-screen prompts from there!
generator-dharma
is maintained by Jeff Nelson at Overhaul Media and is licenced under the MIT licence. We welcome comments, feedback and suggestions. Please feel free to raise an issue or pull request.
FAQs
The Dharma generator builds a base WordPress project following best practices and methods for WordPress and front-end development.
The npm package generator-dharma receives a total of 7 weekly downloads. As such, generator-dharma popularity was classified as not popular.
We found that generator-dharma 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
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.