0.2.0 • Published 2 years ago

update-monorepo-package-json v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

update-monorepo-package-json

Update package.json dependencies in monorepo.

semantic-release plugin to update dependencies versions in your package.json based on versions in other package.json files in the same repo.

This plugin updates only its own package.json.

Based on @semantic-release/npm plugin.

To use put it before @semantic-release/npm in the .releaserc.

Plugin config options:

OptionsDescriptionDefault
prefixprefix to prepend to a version stringempty string
suffixsuffix to append to a version stringempty string
pkgRootDirectory path to publish..

Example:

{
  "branches": [
    "+([0-9])?(.{+([0-9]),x}).x",
    "main",
    "next",
    "next-major",
    {"name": "beta", "prerelease": true}, 
    {"name": "alpha", "prerelease": true}
  ],
  "extends": [
    "semantic-release-monorepo"
  ],
  "plugins": [
    [
      "@semantic-release/commit-analyzer",
      {
        "preset": "angular",
        "parserOpts": {
          "noteKeywords": [
            "BREAKING CHANGE",
            "BREAKING CHANGES",
            "BREAKING"
          ]
        }
      }
    ],
    [
      "@semantic-release/changelog",
      {
        "changelogFile": "CHANGELOG.md",
        "changelogTitle": "Changelog"
      }
    ],
    [
      "@semantic-release/release-notes-generator",
      {
        "preset": "angular",
        "parserOpts": {
          "noteKeywords": [
            "BREAKING CHANGE",
            "BREAKING CHANGES",
            "BREAKING"
          ]
        },
        "writerOpts": {
          "commitsSort": [
            "subject",
            "scope"
          ]
        }
      }
    ],
    "update-monorepo-package-json",
    "@semantic-release/npm",
    "@semantic-release/git"
  ]
}
0.2.0

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago