@changesets/cli
Advanced tools
Comparing version 2.27.2 to 2.27.3
@@ -258,7 +258,11 @@ 'use strict'; | ||
} | ||
async function getVersionableChangedPackages(config, options) { | ||
const changedPackages = await git.getChangedPackagesSinceRef(_objectSpread({ | ||
ref: config.baseBranch, | ||
changedFilePatterns: config.changedFilePatterns | ||
}, options)); | ||
async function getVersionableChangedPackages(config, { | ||
cwd, | ||
ref | ||
}) { | ||
const changedPackages = await git.getChangedPackagesSinceRef({ | ||
ref: ref !== null && ref !== void 0 ? ref : config.baseBranch, | ||
changedFilePatterns: config.changedFilePatterns, | ||
cwd | ||
}); | ||
return filterVersionablePackages(config, changedPackages); | ||
@@ -265,0 +269,0 @@ } |
@@ -217,7 +217,11 @@ import meow from 'meow'; | ||
} | ||
async function getVersionableChangedPackages(config, options) { | ||
const changedPackages = await getChangedPackagesSinceRef(_objectSpread({ | ||
ref: config.baseBranch, | ||
changedFilePatterns: config.changedFilePatterns | ||
}, options)); | ||
async function getVersionableChangedPackages(config, { | ||
cwd, | ||
ref | ||
}) { | ||
const changedPackages = await getChangedPackagesSinceRef({ | ||
ref: ref !== null && ref !== void 0 ? ref : config.baseBranch, | ||
changedFilePatterns: config.changedFilePatterns, | ||
cwd | ||
}); | ||
return filterVersionablePackages(config, changedPackages); | ||
@@ -224,0 +228,0 @@ } |
{ | ||
"name": "@changesets/cli", | ||
"version": "2.27.2", | ||
"version": "2.27.3", | ||
"description": "Organise your package versioning and publishing to make both contributors and maintainers happy", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
123140
2774