GitXplorerGitXplorer
a

npm-upgrade-monorepo

public
7 stars
0 forks
11 issues

Commits

List of commits on branch master.
Unverified
505e42d31a385255cd716ff146af6e6c787daf88

perf: up deps

aantongolub committed 2 years ago
Unverified
1945be730d7325d94abd5e288245b548ed84c155

fix: remove -w/--workspaces cli flags before passing argv to internal call

aantongolub committed 2 years ago
Unverified
aa82d37d529f1b090a9e39d0b0c390981f0e8632

chore(deps): update paambaati/codeclimate-action action to v4

rrenovate[bot] committed 2 years ago
Verified
6ba09c4cf57cc3ee34398fa94c10ce185232ba5c

ci: update secrets refs

aantongolub committed 2 years ago
Unverified
1abf8d57ec3153c31d700b26f67491a66fa379f3

chore(deps): update dependency @qiwi/libdefkit to v5

rrenovate[bot] committed 2 years ago
Unverified
12a83ef0f9f844a30be74ba1c0a163d53e6f4e7f

chore(deps): update paambaati/codeclimate-action action to v3.2.0

rrenovate[bot] committed 2 years ago

README

The README file for this repository.

npm-upgrade-monorepo

Apply npm-upgrade to monorepos. The wrapper just parses workspaces field of package.json, and invokes npm-upgrade for each internal package dir.

CI Maintainability Test Coverage npm (tag)

Install

npm i -g npm-upgrade-monorepo

Usage

API inherits npm-upgrade CLI contract.

npm-upgrade-monorepo [...args]

--workspaces / -w

Additional param to override package.json workspaces field value.

npm-upgrade-monorepo -w packages/*
npm-upgrade-monorepo -w scope1/a,scope2/b

Alternatives

#!/bin/bash

NPM_UPGRADE="npm-upgrade"
PACKAGES=$(cat package.json | jq -r '.workspaces | join(" ")')

eval $NPM_UPGRADE

for f in $PACKAGES; do
  if [ -d "$f" ]; then
    cd $f
    eval $NPM_UPGRADE
  fi
done

License

MIT