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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@planningcenter/add-ons-cli

v2.6.0

Published

This little app builds and updates Planning Center Add-ons from the command line.

Downloads

309

Readme

Planning Center Add-ons CLI

This little app build and updates Planning Center Add-ons from the command line.

To install:

  1. Install the package: npm install @planningcenter/add-ons-cli
  2. Run the binary planningcenter-add-ons -h

The main commands are:

  • create : creates a new skeleton add-on with sample code
  • update : bundles and uploads add-on code to Planning Center
  • watch : watch the files in the add-on directory and run update when they change
  • promote : copies bundled JS code from testing to beta, or from beta to production environment

TypeScript Support & Dependencies

The CLI automatically provides @planningcenter/add-ons as a transitive dependency via npm hoisting. This means:

  • No need to add it to your package.json - it's automatically available when you install the CLI
  • TypeScript types work out of the box - import types and helper functions directly

Getting the Latest Version

The CLI includes @planningcenter/add-ons v6.x. To get the latest types and features:

# In your project directory
npm update @planningcenter/add-ons

When do you need to update?

  • Fresh projects - Automatically get the latest v6.x when you run npm install
  • Existing projects - Run npm update @planningcenter/add-ons to get new features/types

Example TypeScript Usage

// These imports work automatically - no need to install the package
import type { components } from "@planningcenter/add-ons"

const Heading = "Heading" as unknown as (typeof components)["Heading"]

See the generated template file for complete TypeScript setup instructions.

Request Flow for update / promote

ensure the add-on's oauth app has the right scopes

PATCH /api/v2/oauth_applications/:id
{ "data": { "attributes": { "add_on_scopes": "people" } }

get details about the oauth app's integrator add-on

there's an integrator_add_on record per add-on environment: testing, beta, and production.

GET /api/v2/oauth_applications/:id/integrator_add_ons

for each environment

up to 3 (testing, beta, production)

if there isn't an integrator add-on for the environment

POST /api/v2/oauth_applications/:id/integrator_add_ons
{ "data": { "attributes": {
  "environment": "",
  "oauth_authorize_url": "",
  "oauth_token_url": "",
  "oauth_identifier": "",
  "oauth_secret": "",
  "oauth_scopes": "",
  "oauth_redirect_uri": "",

  "target_organization_ids?": ""
} } }

if there is an integrator add-on for the environment

same as the post, but a patch to ensure it still matches the user's config this happens up to 3x (per environment)

PATCH /api/v2/oauth_applications/:id/integrator_add_ons/:id
{ "data": { "attributes": {
  "environment": "",
  "oauth_authorize_url": "",
  "oauth_token_url": "",
  "oauth_identifier": "",
  "oauth_secret": "",
  "oauth_scopes": "",
  "oauth_redirect_uri": "",

  "target_organization_ids?": ""
} } }

get details about the integrator add-ons's ui_extensions

GET /api/v2/oauth_applications/:id/integrator_add_ons/:id/ui_extensions

for each insertion point the user's creating a ui_extension for

up to 3 currently, but could be more: people.list.send_message, people.dashboards.background_checks.new, people./profile.background_checks.new

in test, we're uploading data.attribute.bundle that is the add-on's javascript code. in non-test, we're expecting to use a bundle_url that was set when the test ui extension was created or updated

if there isn't a ui extension already

POST /api/v2/oauth_applications/:id/integrator_add_ons/:id/ui_extensions
{ "data": { "attributes": {
  "component_version": "",
  "icon_url": "",
  "icon_dark_url": "",
  "insertion_point": "",
  "title": "",

  "bundle_url?": ""        if !env.test?
  "bundle?": "<js string>" if env.test?
} } }

if there is an existing ui extension

PATCH /api/v2/oauth_applications/:id/integrator_add_ons/:id/ui_extensions/:id
{ "data": { "attributes": {
  "component_version": "",
  "icon_url": "",
  "icon_dark_url": "",
  "insertion_point": "",
  "title": "",

  "bundle_url?": ""        if !env.test?
  "bundle?": "<js string>" if env.test?
} } }