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

verceler

v1.0.10

Published

Automates tag or released based deployments on Vercel using GitHub Actions

Downloads

9

Readme

verceler

verceler is a CLI tool that simplifies and automates the process of deploying based on tags/releases to Vercel. It helps you automate trunk-based development and deploy through tags and releases.

Installation

To install verceler, you can use npm or yarn:

npm install -g verceler

or

yarn global add verceler

Usage

After installing verceler, you can use it via the command line. Here are some common commands and options:

verceler -vt <vercel_token> -gt <github_token> [options]

Options

| Option | Description | | -------------------------------- | ---------------------------------------------------------------------------------------------------------------- | | --vercel-token, -vt <token> | Your Vercel API token. | | --github-token, -gt <token> | Your GitHub API token. | | --create-github-workflow, -cgw | Create a GitHub Actions workflow file for Vercel deployment. | | --debug, -d | Enable debug mode to log extra information. | | --load-env, -le <envs> | Comma-separated list of environments to set variables in Vercel projects (e.g., preview,development,production). | | --domain, -dom <domain> | Domain name to set up with your Vercel project. |

Example

verceler -vt your_vercel_token -gt your_github_token --create-github-workflow --load-env preview,development,production --domain yourdomain.com

This command will:

  1. Create a GitHub Actions workflow file for Vercel deployment.
  2. Install the Vercel CLI globally if not already installed.
  3. Link the project to Vercel.
  4. Load environment variables from .env.local and set them in Vercel for the specified environments.
  5. Set up the necessary GitHub secrets for Vercel deployment.
  6. Add the specified domain to your Vercel project.

Contributing

We welcome contributions to verceler. To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with descriptive messages.
  4. Push your changes to your fork.
  5. Submit a pull request to the main repository.

Running Tests

To run the test suite, use the following command:

yarn test --verbose --coverage

This will run all the unit tests and provide you with a coverage report. Make sure to write tests for any new features or bug fixes you add.

Code Style

We follow standard JavaScript coding conventions. Please make sure your code adheres to these conventions before submitting a pull request.

License

verceler is licensed under the MIT License. See the LICENSE file for more details.


We hope verceler makes your Vercel deployments easier and more efficient. If you have any questions or feedback, feel free to open an issue or reach out to us.