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

@open-turo/semantic-release-config

v8.0.1

Published

Turo semantic-release configuration

Downloads

19,574

Readme

semantic-release-config

Turo configuration for semantic-release

Install

Via NPM:

npm install --save-dev semantic-release @open-turo/semantic-release-config

Or yarn:

yarn add --dev semantic-release @open-turo/semantic-release-config

Presets

  • Default. Include all changes in the release notes. Allow next releases from branches that start with f/, b/ or c/
  • Gradle. All the default configuration in addition to updating the gradle.properties file
  • NPM. All the default configuration in addition to publishing packages to NPM and updates assets like package.json
  • OpenAPI. All the default configuration in addition to updating the gradle.properties and OpenAPI spec files.

Usage

The shareable config can be configured in the semantic-release configuration file:

{
  "extends": "@open-turo/semantic-release-config"
}

If you are not using the default preset, you have to specify its name too:

{
  "extends": "@open-turo/semantic-release-config/lib/npm"
}

See more details about how shareable configurations can be created in here.

Configuration

This plugin requires no configuration, but certain environment variables need to be present in order for some of the plugins to work correctly.

Default

  • GITHUB_TOKEN. A GitHub token so the Github release can be created

Gradle

  • GITHUB_TOKEN. When a new release is published, this plugin will try to commit and push into the released branch. Ensure that the user that is running the release has push rights and can bypass branch protection rules (see here)

NPM

  • GITHUB_TOKEN. When a new release is published, this plugin will try to commit and push into the released branch. Ensure that the user that is running the release has push rights and can bypass branch protection rules (see here)
  • NPM_TOKEN. A NPM token so the package can be published to NPM (a .npmrc file with extra configuration can also be used)

OpenAPI

  • GITHUB_TOKEN. When a new release is published, this plugin will try to commit and push into the released branch. Ensure that the user that is running the release has push rights and can bypass branch protection rules (see here)

@semantic-release/exec

This preset includes @semantic-release/exec to run custom scripts. It supports scripts for the publish, success and fail hooks.

The convention is that the configuration will run the script if there is an executable file like ./script/semantic-release-<hook>.

These scripts must follow the convention of the @semantic-release/exec plugin (e.g. in the publish hook, the release information can be written to stdout as parseable JSON, but nothing else).

If there is no file, then this plugin will be a noop.

Scripts don't receive any argument.

Development

Install pre-commit and the commit hooks:

pre-commit install
pre-commit install --hook-type commit-msg

Get Help

Please review Issues, post new Issues against this repository as needed.

Contributions

Please see here for guidelines on how to contribute to this project.