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

@wtf/semantic-release-validate

v4.0.4

Published

The plugin of semantic-release that validates the config of a run by a Standard Schema of your own, before it releases, by @wtf/release-validate; and the schema of its options and of its part of a config (./schema, schema.json).

Readme

@wtf/semantic-release-validate

The config of a run of semantic-release validated by a Standard Schema of your own, before it releases. The semantic-release plugin, in verifyConditions, validates the options of the config by its option schema, and fails the run with an error ECONFIG of each issue, where it is, all at once. List it once for each schema, as of the rules of a house:

// release.config.mjs
export default {
  branches: ['main'],
  plugins: [
    ['@wtf/semantic-release-validate', { schema: './release/house-rules.mjs' }],
    '@semantic-release/commit-analyzer',
    '@semantic-release/release-notes-generator'
  ]
}

schema is a Standard Schema, of Zod, Valibot, ArkType, or fromJsonSchema of @wtf/release-validate/json-schema; or, as a JSON config writes it, a module whose default export is one, by its path from the root of the repo or the name of a package. A schema it cannot load, or that is none, fails the run with ESCHEMA.

The schema gets the config of the run as it was written, plugins too, so a rule may hold the entries of plugins as well as the root, as trains, branches or tagFormat. configOf gives it so, of the options semantic-release gives a plugin: without what the parser of its command line leaves (_, $0, the options of one letter, as b, and the kebab-case twins, as dry-run) and what it adds (originalRepositoryURL, whose URL repositoryUrl is again, as the config gave it, and noCi of ci: false). The defaults semantic-release gives branches, repositoryUrl, tagFormat and plugins stay, and dryRun, which a run outside of a CI sets: a schema that allows no key but its own allows those too.

| Export | What it is | | --------------------------------------- | ------------------------------------------------------------------------------------------- | | @wtf/semantic-release-validate | The plugin: verifyConditions, loadSchema, and configOf | | @wtf/semantic-release-validate/schema | The validators of its options, and of its part of a config; jsonSchema, its schema.json |

As a library

The plugin is a thin adapter over @wtf/release-validate, of no release tool: validateConfig and configErrors of its ./validate.

Schema

@wtf/semantic-release-validate/schema.json is the JSON Schema of its part of a config of semantic-release, the entries of plugins of the plugin, for an editor; ./schema has the same as a validator, a Standard Schema, for code. Compose the schemas of the packages a repo installs in a release.schema.json, by allOf: see Validating a config.

License

MIT