Socket
Socket
Sign inDemoInstall

semantic-release

Package Overview
Dependencies
Maintainers
1
Versions
408
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semantic-release - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

src/restart.js

7

package.json
{
"name": "semantic-release",
"description": "semantic semver compliant package publishing",
"version": "1.1.0",
"author": "Stephan Bönnemann <stephan@boennemann.me>",

@@ -10,4 +11,6 @@ "bin": "./bin/semantic-release",

"dependencies": {
"confirm-simple": "^1.0.3",
"conventional-changelog": "0.0.11",
"github": "^0.2.3",
"github-url-from-git": "^1.4.0",
"minimist": "^1.1.0",

@@ -37,6 +40,6 @@ "parse-github-repo-url": "^1.0.0",

"scripts": {
"prepublish": "./bin/semantic-release pre",
"postpublish": "./bin/semantic-release post",
"test": "standard"
},
"version": "1.0.0"
}
}

@@ -16,5 +16,7 @@ # semantic-release

The post hook is automatable in `package.json` with a "postpublish" script:
For maximum comfort you can automate this inside your `package.json`:
```json
"scripts": {
"prepublish": "semantic-release pre"
"postpublish": "semantic-release post"

@@ -24,5 +26,6 @@ }

This is currently not possible for the "prepublish" hook. See [npm/npm#7118](https://github.com/npm/npm/issues/7118).
Note: Even though `semantic-release` works around a limitation in npm's "prepublish" hook using it prints an error that you can *safely ignore*.
See [npm/npm#7118](https://github.com/npm/npm/issues/7118).
MIT License
2015 Stephan Bönnemann

@@ -8,3 +8,4 @@ 'use strict'

var GitHubApi = require('github')
var parse = require('parse-github-repo-url')
var parseSlug = require('parse-github-repo-url')
var parseUrl = require('github-url-from-git')

@@ -23,3 +24,3 @@ var github = new GitHubApi({

version: pkg.version,
repository: repository,
repository: parseUrl(repository),
file: false

@@ -32,3 +33,3 @@ }, function(err, log) {

var ghRepo = parse(repository)
var ghRepo = parseSlug(repository)
var release = {

@@ -35,0 +36,0 @@ owner: ghRepo[0],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc