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

revolve-cms

v3.0.3

Published

Revolve CMS

Downloads

14

Readme

REVOLVE CMS

CMS styleguide is use for REVOLVE's internal consoles. This repo is private to keep codebase from being public. We're using npmjs to pubish only our dist files. https://www.jsdelivr.com/ to link our consoles to the styleguide files. Please carefully follow instructions below:

Getting Started

  1. Clone this repo
  2. Install node_modules npm run ci
  3. cd into the directory "revolve-cms"
  4. Create a npmjs.com account
  5. Add your registry user account by running npm adduser
  6. Enter your npmjs credentials

SemVer

Semantic Versioning Specification. Understanding which version number to update:

Major

The major version should increase when we’ve introduced new functionality which breaks our API, i.e., increase this value when we’ve added a backward-incompatible change to our project. When this number is increased, we must reset the Minor and Patch numbers to 0.

For example, if we have a project that is on version 1.2.5 and we have introduced a breaking change under the SemVer scheme, we must set our new version number to 2.0.0.

Minor

We should increase our minor version when we’ve introduced new functionality which changes our API but is backward compatible, i.e., a non-breaking change. We can also opt to change the Minor version if we’ve made substantial changes to the internal code of our project.

Similarly, when we change the Minor version we should also reset the patch version to 0. For example, updating the Minor version of a project at 2.0.1 would set it to 2.1.0.

Patch

Under the SemVer specs, we reserve patch changes for backward-compatible bug fixes. A patch change should not involve any changes to the API.

SemVer Specs

Publishing an Update

We're versioning our files. We're using npm to update the version. When you're ready to commit your changes, follow steps below:

  1. Stage files to repo git add .
  2. Enter commit message git commit -m “commit message”
  3. Update version with npm npm version <patch/minor/major> example for patch: npm version patch
  4. Push the version's tag created by npm git push --tags
  5. Push to repo git push
  6. Publish to npm npm publish

Linking to files in npm

https://cdn.jsdelivr.net/npm/<npm-package@<version>/<path-to-file>/<file-name>

Example

https://cdn.jsdelivr.net/npm/[email protected]/dist/chrome.js https://cdn.jsdelivr.net/npm/[email protected]/dist/chrome.css