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

@adobe/semantic-release-skms-cmr

v1.1.2

Published

Semantic Release SKMS CMR

Downloads

3,753

Readme

Semantic Release SKMS CMR

Semantic release plugin that integrates with SKMS Change Management System

| Step | Description | |--------------------|------------------------------------------------------------------------------------------------------------------------------| | verifyConditions | Verify that the SKMS_USERNAME and SKMS_PASSKEY environment variable has been set and that it is able to access the SKMS API | | prepare | Create a pre approved SKMS CMR | | success | Complete the CMR | | fail | Cancel the CMR |

Status

codecov CircleCI GitHub license GitHub issues LGTM Code Quality Grade: JavaScript semantic-release

Installation

$ npm install @adobe/semantic-release-skms-cmr

Usage

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

{
  plugins: [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    ['@semantic-release/exec', {
      prepareCmd: 'npm run deploy && npm run test-postdeploy',
      publishCmd: 'npm run deploy-routes',
      successCmd: 'echo "${nextRelease.version}" > released.txt',
    }],
    // note that the skms plugins needs to be defined after the exec plugin, so that the CMR can
    // is not opened if the post-deploy steps fail during the prepare step.
    ["@adobe/semantic-release-skms-cmr", {
      modelId: 1234,
      summary: "CircleCI release of ${pkg.name} ${nextRelease.name}"
    }],
  ]
}

Configuration

Environment Variables

| Variable | Description | |-----------------|-------------------------------------------| | SKMS_USERNAME | The username for authenticating with SKMS | | SKMS_PASSKEY | The passkey for authenticating with SKMS | | SKMS_MODEL_ID | The ID of the pre approved model |

Options

| Parameter | Type | Required | Description | default | |--------------------|----------|----------|--------------------------------------------------|--------------------------------------------------------------| | modelId | string | yes | ID of the pre approved model to use | | | apihost | string | no | Optional hostname of the SKMS api to use | api.skms.adobe.com | | summary | string | no | Summary of the CMR | Automated CI/CD release of ${pkg.name} ${nextRelease.name} | | notes | string | no | Additional notes of the CMR | ${env.CIRCLE_BUILD_URL} | | explanation | string | no | Explanation added to a completed CMR | released ${pkg.name}@${nextRelease.version} | | cancelationNotes | string | no | Explanation added to a canceled CMR | semantic released failed. | | maintStart | number | no | num seconds before the maintenance window starts | 15 | | maintDuration | number | no | num seconds of the maintenance window | 600 |

Development

Build

$ npm install

Test

$ npm test

Lint

$ npm run lint