How to use the @auto-it/core.SEMVER.patch function in @auto-it/core

To help you get started, weโ€™ve selected a few @auto-it/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github intuit / auto / plugins / npm / src / index.ts View on Github external
      (changelog, version = SEMVER.patch) => {
        changelog.hooks.renderChangelogLine.tapPromise(
          'NPM - Monorepo',
          async ([commit, line]) => {
            if (!isMonorepo() || !this.renderMonorepoChangelog) {
              return [commit, line];
            }

            const lernaPackages = await this.getLernaPackages();
            const lernaJson = getLernaJson();
            const packages = await changedPackages({
              sha: commit.hash,
              packages: lernaPackages,
              lernaJson,
              logger: auto.logger,
              version
            });

@auto-it/core

Node API for using auto.

MIT
Latest version published 2 months ago

Package Health Score

86 / 100
Full package analysis