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

semantic-release-user-facing

v1.0.1

Published

semantic-release commit analyzer and release notes generator that ignore commits changing nothing user-facing

Readme

semantic-release-user-facing

semantic-release plugins that decide what a release contains from what a commit changed, not only from its message. A feat: that touches nothing but tests, CI or documentation no longer cuts a release or appears in the changelog.

The package has two entry points, each a drop-in superset of a stock plugin:

| Entry point | Replaces | Lifecycle step | | --- | --- | --- | | semantic-release-user-facing | @semantic-release/commit-analyzer | analyzeCommits | | semantic-release-user-facing/notes | @semantic-release/release-notes-generator | generateNotes |

Each takes the stock plugin's own options unchanged, plus one key, userFacing. Changing plugin name is the whole migration.

Getting started

pnpm add -D semantic-release-user-facing

semantic-release is a peer dependency. Replace the two stock plugins in the release configuration:

// release.config.ts
import type { Options } from 'semantic-release';

const config: Options = {
  branches: ['main'],
  plugins: [
    ['semantic-release-user-facing', { preset: 'conventionalcommits' }],
    ['semantic-release-user-facing/notes', { preset: 'angular' }],
    '@semantic-release/changelog',
    '@semantic-release/npm',
    '@semantic-release/github',
  ],
};

export default config;

@semantic-release/changelog and @semantic-release/github read the notes the second entry point produces, so the changelog and the GitHub release body follow it. The two entry points are configured independently: a documentation commit can stay out of the release trigger yet appear in the notes by giving only the notes entry an include for it.

What counts as user-facing

A commit is kept when it changes at least one user-facing file, and dropped otherwise, whatever its type (a feat! that only touches documentation is dropped). Each changed path gets a verdict in this order, and the first rule that matches wins:

  1. It matches userFacing.include: user-facing.
  2. It matches userFacing.exclude: not user-facing.
  3. It matches the built-in non-shipping defaults: not user-facing.
  4. It is a package.json: decided by its content, below.
  5. Anything else: user-facing.

The defaults are exported as nonShippingGlobs in src/classify.ts. They cover tests, Markdown and documentation, repository and editor metadata, lockfiles and the configuration of lint, format, commit, test and release tooling. They are deliberately narrow: an unlisted path counts as user-facing, because a missed release costs more than an extra patch. Build configuration such as tsconfig.json is not in the list, since it changes what ships.

package.json is read by content

Whether a manifest edit is user-facing depends on what changed inside it, not on its path. Changes to the runtime dependency fields, to bin, exports, imports, main, module, types, files, engines, type, sideEffects, os or cpu are user-facing. Changes to devDependencies, scripts, version and similar are not. The full field list is consumerFacingManifestFields in src/manifest.ts. A manifest that is added or deleted is user-facing, unless its path is excluded (a fixture manifest under test/ never counts).

Other cases

  • A commit that changes no files at all is kept: an empty commit is how a release is forced on purpose.
  • A merge commit is judged by what it brings in relative to its first parent.
  • A rename counts as a deletion of the old path and an addition of the new one, so moving a file out of the source tree is not hidden.

Options

['semantic-release-user-facing', {
  preset: 'conventionalcommits', // any @semantic-release/commit-analyzer option
  userFacing: {
    include: ['README.md'],          // picomatch globs, matched against repository-relative paths
    exclude: ['src/generated/**'],
  },
}]

Both lists default to empty. Globs are picomatch patterns with dotfiles included. An unknown key under userFacing is an error.

Monorepos

Run semantic-release per package from the package directory, or with a monorepo wrapper that scopes commits to a package path. This plugin then judges each commit within that scope. It does not itself split a history by package.

Development

pnpm install
pnpm run lint:check
pnpm run typecheck
pnpm run test
pnpm run build

pnpm run test builds the package first, because the end-to-end cases run a real semantic-release dry run against a throwaway repository with the built entry points loaded by path.