lerna-script-tasks-npmfix
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7041
24