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

make-it-snow

v1.4.4

Published

Updates the package id and/or the version in a cordova mobile repo

Downloads

5

Readme

Snow

Simple cli for :

  • updating the package id in cordova config.xml file

  • updating the version in cordova config.xml file

  • updating the application name in cordova config.xml file

  • getting the version from cordova config.xml file

  • getting the package id from cordova config.xml file

  • getting the application name from cordova config.xml file

in a cordova mobile repo

Installing

npm install -g make-it-snow

Usage

  • For the package id update :
snow package <APP_IDENTIFIER>

or

snow p <APP_IDENTIFIER>

This command will replace the package id in your config.xml file with the specified APP_IDENTIFIER.

  • For the version update :
snow version <APP_VERSION>

or

snow v <APP_VERSION>

This command will replace the version in your config.xml file with the specified APP_VERSION.

  • For the app name update :
snow name <APP_NAME>

or

snow n <APP_NAME>

This command will replace the application name in your config.xml file with the specified APP_NAME.

  • For the package get :
snow get-package

or

snow gp

This command will return as an output the current package id present in the config.xml.

  • For the version get :
snow get-version

or

snow gv

This command will return as an output the current version present in the config.xml.

  • For the name get :
snow get-name

or

snow gn

This command will return as an output the current app name present in the config.xml.

snow also accepts (applicable to all commands listed above) a --dir or -d option where -d stands for --dir, which can be used to specify the directory path of the config.xml in case of it is not present in the current repo.

Example :

snow v 2.0.0 -d src/main/app

Development

You will need node/yarn installed on your machine.

Installing dependencies:

yarn

Once you have dependencies installed you can do

yarn start

This will watch for changes and build the application in the build directory.

Tests

Running tests is easy:

yarn test

Or in watch mode:

yarn run watch-test

Publishing

If you have the right to publish, once a new version is created simply do:

yarn build
cd build
npm publish