Socket
Socket
Sign inDemoInstall

generator-zn-plugin

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-zn-plugin

Zengine Plugin Generator for Yeoman


Version published
Weekly downloads
6
increased by50%
Maintainers
3
Weekly downloads
 
Created
Source

Zengine Plugin Generator for Yeoman

Yeoman Generators for Zengine Plugins

Install

If you don't have yeoman.io installed

npm install -g yo

Then install the generator

# New version
npm install -g generator-zn-plugin

# Legacy version for Maya
npm install -g generator-zn-plugin@legacy

You can then keep it up to date with:

npm upgrade -g [generator-zn-plugin|generator-zn-plugin]

Which version should I use?

  • the 2.x branch is only compatible with mayan and supports frontend config and other helper modules
  • the 1.x branch is compatible with both maya and mayan (caveat being that you must manually update your maya-build scripts)

Usage

Creating a full plugin

# change to your projects directory
cd Projects

# run yo
yo zn-plugin zn-plugin-demo

# then install npm modules
cd zn-plugin-demo

npm install

Adding a backend service for an existing plugin

# change to your plugin directory
cd zn-plugin-demo

# run yo
yo zn-plugin:backend my-test-api

# then install npm modules
cd my-test-api

npm install

Adding a new frontend plugin for an existing plugin

# change to your plugin directory
cd zn-plugin-demo

# run yo
yo zn-plugin:frontend my-test-ui

# then install npm modules
cd my-test-ui

npm install

Contribute

See the contributing.

Keywords

FAQs

Package last updated on 18 Jul 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc