{"_id":"@egavard/semantic-release-slack","_rev":"1-891637f5d552a064cba6d87d0aa05f42","name":"@egavard/semantic-release-slack","dist-tags":{"latest":"1.0.11"},"versions":{"1.0.9":{"name":"@egavard/semantic-release-slack","version":"1.0.9","author":{"name":"David Aghassi"},"license":"SEE LICENSE IN LICENSE.md","_id":"@egavard/semantic-release-slack@1.0.9","maintainers":[{"name":"egavard","email":"ewann@bakeup.io"}],"homepage":"https://github.com/egavard/semantic-release-slack#readme","bugs":{"url":"https://github.com/egavard/semantic-release-slack/issues"},"dist":{"shasum":"821f3f81232cd8e260727a2a8e273ac614b0be63","tarball":"https://registry.npmjs.org/@egavard/semantic-release-slack/-/semantic-release-slack-1.0.9.tgz","fileCount":42,"integrity":"sha512-P/8WRPKOc9gGQjYbXPLGKIe9eUepzCIdaaltaCMhsGnLzsf24DM4WmtYbSO6MqYSaz2Ys8gTWy9amveW/KlkzQ==","signatures":[{"sig":"MEUCIQC5k0WZ7adHZ7Mgwo9w8sdOjg1+2oriw6alOoZT2YJ0HwIgJ+0H7lQ9Vxtk+ZaccVs6hjxQANHh2DfzFAnysxV0gXQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29148},"main":"index.js","engines":{"node":">=8"},"gitHead":"f3843f9c5d8b38122f1ef0c6e91f5e44be2310a8","scripts":{"lint":"yarn eslint *.js","test":"jest tests"},"_npmUser":{"name":"egavard","email":"ewann@bakeup.io"},"repository":{"url":"git+ssh://git@github.com/egavard/semantic-release-slack.git"},"_npmVersion":"9.5.0","description":"Post slack notifications to a webhook on success or failure of a semantic-release job","directories":{},"_nodeVersion":"18.14.1","dependencies":{"debug":"4.1.1","node-emoji":"1.10.0","node-fetch":"2.6.11","read-pkg-up":"5.0.0","aggregate-error":"3.0.1","@atomist/slack-messages":"1.1.1","@semantic-release/error":"2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"24.9.0","husky":"3.1.0","eslint":"6.8.0","prettier":"1.17.1","commitlint":"8.3.6","lint-staged":"9.5.0","semantic-release":"15.14.0","eslint-plugin-jest":"23.20.0","eslint-plugin-react":"7.32.2","eslint-config-airbnb":"18.2.1","eslint-plugin-import":"2.27.5","@semantic-release/git":"7.0.18","@semantic-release/npm":"5.3.5","eslint-config-prettier":"6.15.0","eslint-plugin-jsx-a11y":"6.7.1","eslint-plugin-prettier":"3.4.1","@semantic-release/github":"5.5.8","@commitlint/config-conventional":"8.3.6"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-slack_1.0.9_1687336514755_0.7457876612311363","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"@egavard/semantic-release-slack","description":"Post slack notifications to a webhook on success or failure of a semantic-release job","version":"1.0.11","engines":{"node":">=8"},"publishConfig":{"access":"public"},"main":"index.js","license":"SEE LICENSE IN LICENSE.md","author":{"name":"David Aghassi"},"repository":{"url":"git+ssh://git@github.com/egavard/semantic-release-slack.git"},"scripts":{"lint":"yarn eslint *.js","test":"jest tests"},"dependencies":{"@atomist/slack-messages":"1.1.1","@semantic-release/error":"2.2.0","aggregate-error":"3.0.1","debug":"^4.3.6","node-emoji":"1.10.0","node-fetch":"2.6.13","read-pkg-up":"5.0.0"},"devDependencies":{"@commitlint/config-conventional":"^19.4.1","@semantic-release/git":"^10.0.1","@semantic-release/github":"^10.1.7","@semantic-release/npm":"^12.0.1","commitlint":"^19.4.1","eslint":"6.8.0","eslint-config-airbnb":"18.2.1","eslint-config-prettier":"6.15.0","eslint-plugin-import":"2.29.1","eslint-plugin-jest":"23.20.0","eslint-plugin-jsx-a11y":"6.8.0","eslint-plugin-prettier":"3.4.1","eslint-plugin-react":"7.33.2","husky":"3.1.0","jest":"^29.7.0","lint-staged":"9.5.0","prettier":"1.17.1","semantic-release":"^24.1.0"},"_id":"@egavard/semantic-release-slack@1.0.11","gitHead":"200eacb29de401496a0cf58cd0a182369267b193","bugs":{"url":"https://github.com/egavard/semantic-release-slack/issues"},"homepage":"https://github.com/egavard/semantic-release-slack#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-c23O282orrQbaFKcPVzUpM65C+HBMHYHlZAHW6v8h0mLTsfZXtV4efSdqydjvUR+XuFNcmi9ratDpkWbwEAJ1g==","shasum":"191b72ed289d28eba4e7cf9dc60798203aae36bb","tarball":"https://registry.npmjs.org/@egavard/semantic-release-slack/-/semantic-release-slack-1.0.11.tgz","fileCount":38,"unpackedSize":25573,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcZfhNjZIwZsBMuWCpZJ8ioGHDTWTLtrA7Qd/vmpyQfgIgahUhgJwy1y9OAM6MdL8iykK0f8/0Y6M/yqix+nkJrhU="}]},"_npmUser":{"name":"egavard","email":"ewann@bakeup.io"},"directories":{},"maintainers":[{"name":"egavard","email":"ewann@bakeup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-slack_1.0.11_1725284385616_0.22112855395480735"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-21T08:35:14.692Z","modified":"2024-09-02T13:39:45.955Z","1.0.9":"2023-06-21T08:35:14.900Z","1.0.11":"2024-09-02T13:39:45.786Z"},"bugs":{"url":"https://github.com/egavard/semantic-release-slack/issues"},"author":{"name":"David Aghassi"},"license":"SEE LICENSE IN LICENSE.md","homepage":"https://github.com/egavard/semantic-release-slack#readme","repository":{"url":"git+ssh://git@github.com/egavard/semantic-release-slack.git"},"description":"Post slack notifications to a webhook on success or failure of a semantic-release job","maintainers":[{"name":"egavard","email":"ewann@bakeup.io"}],"readme":"# @intuit/semantic-release-slack\n\n[![npm](https://img.shields.io/npm/v/@intuit/semantic-release-slack.svg)](https://www.npmjs.com/package/@intuit/semantic-release-slack)\n[![CircleCI](https://circleci.com/gh/intuit/semantic-release-slack/tree/master.svg?style=shield)](https://circleci.com/gh/intuit/semantic-release-slack/tree/master)\n[![Known Vulnerabilities](https://snyk.io//test/github/intuit/semantic-release-slack/badge.svg?targetFile=package.json)](https://snyk.io//test/github/intuit/semantic-release-slack?targetFile=package.json)\n[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=shield)](https://github.com/prettier/prettier)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n---\n\n> Post slack notifications to a webhook on success or failure of a semantic-release job\n\n| Step               | Description                                                                                           |\n| ------------------ | ----------------------------------------------------------------------------------------------------- |\n| `verifyConditions` | Verify the `SLACK_WEBHOOK_URL` environment variable is set.                                           |\n| `success`          | Send a formatted message to the slack webhook provided with information about the most recent release |\n| `fail`             | Send a formatted message to the slack webhook if the release fails                                    |\n\n## Installation\n\n```sh\nyarn add --dev @intuit/semantic-release-slack\n```\n\n## Usage\n\nAdd the following to your `release.config.js`\n\n```js\n  \"plugins\": [\n    // ...\n   [\"@intuit/semantic-release-slack\", {\n       // These are the available platforms that the package can be downloaded from\n       \"platforms\": [\"brew\", \"npm\", \"docker\"]\n   }]\n  ],\n```\n\nEnsure you have a webhook url in your `process.env` under the name `SLACK_WEBHOOK_URL`. The hook is\nexpected to contain `https://hooks.slack.com` in the URL. Without this, your release will fail\nbecause the plugin won't know where to post to.\n\n## Options\n\n| Property           | Type       | Default                       | Example                              | Description                                                                                                                |\n| ------------------ | ---------- | ----------------------------- | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |\n| `platforms`        | `String[]` | `undefined`                   | `\"platforms\": [\"brew\", \"npm\"]`       | Available platforms that the package can be downloaded from. Can be anything. [Supported emoji](src/get-platform-emoji.js) |\n| `skipCommit`       | `String`   | `undefined`                   | `\"skipCommit\": \"^fix\\\\(deps\\\\):\"`    | Skips notifying when `regex` matches at least one commit in the release                                                    |\n| `semverFilter`     | `String[]` | `[\"major\", \"minor\", \"patch\"]` | `\"semverFilter\": [\"major\", \"minor\"]` | Skips releases that do not match one of the configured types                                                               |\n| `fullReleaseNotes` | `Boolean`  | `false`                       | `\"fullReleaseNotes\": true`           | Provides the full release notes in slack instead of a link to the release notes                                            |\n","readmeFilename":"README.md"}