Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lerna-script-tasks-npmfix

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lerna-script-tasks-npmfix - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

4

index.js

@@ -26,6 +26,6 @@ const {loadPackages, iter, fs} = require('lerna-script'),

return gitRemoteUrl('.', 'origin').then(gitRemoteUrl => {
const repoUrl = gitInfo.fromUrl(gitRemoteUrl).browse();
const repoUrl = gitInfo.fromUrl(gitRemoteUrl).browse()
return iter.parallel(lernaPackages, {log})((lernaPackage, log) => {
const moduleRelativePath = relative(process.cwd(), lernaPackage.location);
const moduleRelativePath = relative(process.cwd(), lernaPackage.location)

@@ -32,0 +32,0 @@ return fs

{
"name": "lerna-script-tasks-npmfix",
"version": "1.3.0",
"version": "1.3.1",
"description": "tasks for lerna-script that fixes links in package.json",

@@ -14,3 +14,4 @@ "author": "Vilius Lukosius",

"type": "git",
"url": "https://github.com/wix/lerna-script/tree/master/tasks/npmfix"
"url": "git@github.com:wix/lerna-script.git",
"directory": "/tasks/npmfix"
},

@@ -25,13 +26,13 @@ "publishConfig": {

"peerDependencies": {
"lerna-script": ">=1.0.0-0"
"lerna-script": ">=1.3.0"
},
"devDependencies": {
"chai": "4.2.0",
"lerna-script": "^1.3.0",
"lerna-script-test-utils": "^1.3.0",
"mocha": "7.1.2",
"lerna-script": "^1.3.1",
"lerna-script-test-utils": "^1.3.1",
"mocha": "7.2.0",
"sinon": "9.0.2",
"sinon-chai": "3.5.0"
},
"gitHead": "ce2a94876e14253375cda17f322e3402274ac8e7"
"gitHead": "d89a5adb891b4df319602798b215c9609ad240e8"
}
# lerna-script-tasks-npmfix
[lerna-script](../..) task that:
- updates 'homepage' `package.json` value to location in repo for existing github `origin` remote;
- updates 'repository' `package.json` value to location in repo for existing github `origin` remote;
- updates 'homepage' `package.json` value to location in repo for existing github `origin` remote;
- updates 'repository' `package.json` value to location in repo for existing github `origin` remote;
## install

@@ -16,8 +17,8 @@

### ({[packages]})(log): Promise
Updates `homepage`, `repository` urls for `packages`.
Parameters:
- packages - list of packages to generate idea project for or defaults to ones defined in `lerna.json`;
- log - `npmlog` instance.
- packages - list of packages to generate idea project for or defaults to ones defined in `lerna.json`;
- log - `npmlog` instance.
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