Coder Social home page Coder Social logo

boilertown / node-cli-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 698 KB

The boilerplate with opinionated setup to help you quickly kickstart your Node.js CLI app.

License: MIT License

Shell 6.37% JavaScript 37.92% TypeScript 55.72%
cli eslint nodejs prettier tsup typescript

node-cli-boilerplate's Introduction

♨️ Node CLI Boilerplate

A Node.js boilerplate with opinionated setup to help you kickstart your own CLI.

MIT license

The Setup

Get Started

  • Use Boilertown CLI.

    # npm
    npm create boilertown@latest -- -b node-cli-boilerplate
    
    # yarn
    yarn create boilertown -b node-cli-boilerplate
    
    # pnpm
    pnpm create boilertown -b node-cli-boilerplate
    
    # bun
    bun create boilertown/node-cli-boilerplate [cli-name]
  • Click the green "Use this template" button to generate a new repository with the same structure and files.

    Use this template button

    Ref: Github Docs

Development

  • Run the app in development mode:

    pnpm dev
  • Build the app:

    pnpm build
  • Create changeset:

    pnpm changeset

Release & Publish app

This boilerplate uses changesets to automatically generate CHANGELOG, create releases and publish to NPM registry via GitHub Actions. You can see action details at release.yml.

To automating publish your app, follow these steps:

P/S: Remember to check the Allow GitHub Actions to create and approve pull requests in your repo Settings > Actions > General & scroll to Workflow permissions.

Contributing

node-cli-boilerplate ❤️ your contributions. If you have any ideas, suggestions, fixes, feel free to contribute.

node-cli-boilerplate's People

Contributors

quanphm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.