npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

pling-cli

v2.4.2

Published

CLI to provide easy and fast access to Github PRs and branch management.

Downloads

23

Readme

What is the main idea :bulb:?

Pling consider that every development must to be directly attached to a Github Issue, providing all information about what have to be developed.

To isolate this work the CLI always create a branch from a stabilized environment such (pre production) to avoid conflict with other developer stuff.

How does the CLI Platform Work 🥋

TBD

Requirements 🎟

The Pling CLI app run using Node.js v6.11.0.

You can develop using any version of Node you'd like, but your code has to run on Node v6.10.2. You can accomplish this by developing on your preferred version and then transpiling with Babel (or similar).

For NVM on Mac (via homebrew):

brew install nvm
nvm install v6.10.2

Quick Setup Guide 🔧

Be sure to check the Requirements before you start! Also, we recommend the Tutorial for a more thorough introduction.

# install the CLI globally
npm install -g pling-cli

Local Project Structure 🌍

Source structure.

.
├── README.md
├── LICENSE
├── .gitignore
├── package.json
├── lib
│   └── helpMessage.js
|   └── utils.js
├── bin
│   ├── deploy.js
│   ├── fix-sync-issue.js
│   ├── help.js
│   ├── init.js
|   ├── start-issue.js
|   ├── sync-issue.js
|   ├── version.js
└── node_modules
    ├── ...
    └── ...

Get Help! ⛑

You can get help emailing [email protected].

Using it 👨‍

After doing npm install -g pling-cli, go to the project you want to work on and do the steps below:

  1. Fork the project you want to work on
  2. Clone the forked project: git clone [email protected]:<YOUR_USER_NAME>/<PROJECT>.git
  3. Access the folder: cd <PROJECT>
  4. Add pling-cli workflow to the project: pling-cli init
  5. Install dependencies: npm install
  6. Run the project: TBD

Commands 📚

:bulb: remove the '<' and '>' from the command replacing it with your issue number eg: 31 without #.

# add pling-cli workflow to the current project
$ pling-cli init
# start a new work issue from a branch called pp that we call by (pre production).
$ pling-cli start <github_issue_number>
# creates a new issue (branch) from "pp" including commits from another issue (branch)
# that you have locally done (created) before, usually used to continue a work that you have completed.
$ pling-cli start <issue_number> <base_issue_number>
# sync the current issue branch with pp.
$ pling-cli sync
# sync the current issue (branch) with another issue (branch)
# that you have locally done (created) before, usually used to continue a work that you have completed.
$ pling-cli sync <base_issue_number>
# creates a new PR on the desided enviroment (master, hml, pp).
$ pling-cli deploy <place_to_deploy>
# creates a new PR on the desided enviroment (master, hml, pp) when the current issue (branch) has forked from a base issue (branch).
$ pling-cli deploy <place_to_deploy> <base_issue_number>`
# command list
$ pling-cli --help

Contributing 💙

Clone the project to get confortable to make pull requests.

After doing the changes, use the command bellow at the pling-workflow-cli root to install the package globally with the changes you've made to test in another repository the pling-cli package. $ npm install -g .

You can also submit your requests through the issues panel.

We just released it, so we appreciate for any suggestions.