Giter Club home page Giter Club logo

labs-yo's Introduction

Labs wrapper for Yeoman

This wrapper of yeoman simply allows the use of labs in place of the common use of yo

Installation

The project has not yet been deployed to <npmjs.com> yet.

npm i -g @lambdalabs/labs

This will install the main cli wrapper along with all Labs generators as dependancies.

Usage

The labs cli command is just a wrapper to the yeoman yo command.

Examples

  • Run the SPA generator (base react single page app starter)

    labs @lambdalabs/spa project-name

  • Run the Node API generator (base node express api starter)

    labs @lambdalabs/api project-name

Generators

publish npmjs package

  • update package.json version
  • add a git tag with the version number git tag v0.9.30 -m "release note"
  • push repo and tags git push && git push --tags

Development setup

To develop locally it will be easiest to link the labs command and any generators being developed using npm.

  1. link the generator in the labs-yo project folder.

    1. Go to the cloned and npm-installed project folder
    2. npm link
    3. Cd back to this labs-yo folder
    4. npm link "name-of-package"
    5. Example: npm link "generator-spa
  2. link this project to the global npm commands.

    npm link

    The labs command is now globally available.

    labs --help should render the yo command options.

labs-yo's People

Contributors

tinomen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.