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 🙏

© 2026 – Pkg Stats / Ryan Hefner

release-it-splunk-conf-bumper

v1.0.1

Published

A release-it plugin to bump Splunk configuration files

Readme

release-it-splunk-conf-bump

A release‑it plugin to bump Splunk app.conf versions and optional build numbers while preserving all original formatting.


Features

  • Idempotent version updates in [launcher] and [id] sections
  • Optional build‑number increment, configurable to run only when the version actually changes
  • Preserves exact whitespace, comment placement, and EOL styles (\n or \r\n)
  • Manifest support, optionally updates the version in app.manifest
  • Dry‑run support: validates and logs without writing
  • Simple, self‑contained, pure JavaScript – no binary dependencies

Installation

npm install --save-dev release-it-splunk-conf-bumper

Ensure you have release‑it (v17+) installed:

npm install --save-dev release-it

Usage

Add the plugin to your project’s .release-it.json or release-it.config.js:

{
  "$schema": "https://unpkg.com/release-it@19/schema/release-it.json",
  "git": {
    "tagName": "v${version}",
    "commitMessage": "chore(release): v${version}",
  },
  "npm": {
    "publish": false,
  },
  "plugins": {
    "release-it-splunk-conf-bumper": {
      // app.conf support
      "path": "app/default/app.conf",
      // "paths": ["app1/default/app.conf", "app2/default/app.conf"],

      // app.manifest support (opt-in)
      "manifestPath": "app/app.manifest",
      // "manifestPaths": ["app1/app.manifest", "app2/app.manifest"],

      // build bump options (app.conf only)
      "bumpBuild": {
        "on": "prerelease", // default: "prerelease"
        "onlyWhenVersionChanges": true,
      },
    },
  },
}

Then run:

# interactive bump
npx release-it

# CI mode, non-interactive
npx release-it --ci

# Dry‑run (validate without writing)
npx release-it --ci --dry-run

Plugin Options

| Option | Type | Default | Description | | ---------------------------------- | --------- | ------------ | ---------------------------------------------------------------------------------- | | path | String | — | Path to a single app.conf. Mutually exclusive with paths. | | paths | Array | — | Array of app.conf file paths to process. | | manifestPath | String | — | Path to a single app.manifest. Mutually exclusive with manifestPaths. | | manifestPaths | Array | — | Array of app.manifest file paths to process. | | bumpBuild.on | String | prerelease | When to bump the build = counter: never, always, release, or prerelease. | | bumpBuild.onlyWhenVersionChanges | Boolean | true | Only bump build if the version string actually changes. |

Example

app.conf

# app.conf before
[launcher]
version = 1.2.3

[id]
version = 1.2.3

[install]
# no build yet

app.manifest

{
  "info": {
    "id": {
      "version": "1.2.3"
    }
  }
}

Running

npx release-it --ci --no-npm --no-git.push

Results in:

[launcher]
version = 1.2.4

[id]
version = 1.2.4

[install]
build = 1

And for manifest:

{
  "info": {
    "id": {
      "version": "1.2.4"
    }
  }
}

NOTES

When your app.conf is missing both [launcher] and [id] sections, the plugin will abort immediately with an error — there’s nowhere for it to write a version. If at least one of those sections exists but doesn’t contain a version = … line, you’ll get a warning (not a hard failure), and the plugin will continue processing the other section(s) or build bump as configured. This ensures you catch totally mis‑scoped files early, while still allowing partial updates when only one of the two sections needs a version update.

For manifest files, the plugin will update the nested info.id.version key. If that key is missing, a warning will be logged and the file will be skipped.