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

sfdx-upcruc

v0.7.3

Published

UPcoming CRUCs

Downloads

56

Readme

sfdx-upcruc 🤢

Critical Updates. They're a part of life on the Salesforce platform but, let's face it, they can be a bit of a fly in the 'ol ointment. Let's make things easier.

TL;DR

sfdx-upcruc...

  • is a plugin for the sfdx command line tool ✅
  • can output CRUCs to useful file types (.tsv, .ical) ✅
  • is easy to integrate into dev pipelines ✅
  • means you never need to deal with CRUCs again! ❌ (sorry)

Installation

# shell (bash, zsh, etc)
sfdx plugins:install sfdx-upcruc 

Usage

Mean Documentation 😿

sfdx upcruc:list -u <username> [-ti -d <directory>] [--json] [--verbose] 

Friendly Documentation 😸

sfdx-upcruc keeps the command options short and sweet so you can get straight to what you want - that list of upcoming CRUCs!

Flags

Short Flag|Long Flag|Required|Result --|--|--|-- -u|--targetusername|Yep| username/alias from which to retrieve CRUCs -t|--tsv| | create a tab-separated-value file (.tsv) -i|--ical| | create an ical file (.ical) -d|--dir| | location where output file(s) will be created; defaults to current directory | | --json | | print output as json rather than a table | | --verbose | | do not trim cruc cells to space

Key/Value Pairs

In addition to command flags, you may include the following key=value strings. They are never required.

Key|Result|Example|Notes --|--|--|-- fname| Value will be used as filename for any output (-ti) files|fname=orgCrucs|Do not include file extensions. We'll do that for you. calprefix|When creating a .ical file (-i), value will preface event names| calprefix="My Org CRUCs: "| Remember to include a space after your prefix. We won't do everything. 😉

Important Details

ICal unique ids

CRUC events created in .ical files will always have an id that is unique to the org from which they were retrieved. This is really great news for you because, as you generate new .ical files in the future, you can simply import them to your calendar application and the old events (should) get updated with the new information.

For inquiring minds...

Unique ids are generated by hashing (orgId + crucActivationPath) using the sha-1 algorithm. Because sandbox ids change upon refresh, only CRUCs pulled from production orgs are guaranteed to be immutable.

No.csv?

Critical update descriptions may contain commas themselves, so we decided to go with tab-separated instead. If you'd like .csv support added in the future ~~yell at us really loudly~~ open an issue in the repo and we promise to take a look.

You mentioned pipelines...

Indeed. sfdx-upcruc prints CRUCs to stdout in condensed table format, but you can change that using --verbose or --json for all your piping and redirection adventures.

Output is condensed by default

CRUCs are printed to stdout (your terminal window) in table format, where each cell is limited to 50 chars. Use the --json or --verbose flags if you need the full monty.