From 3d286a4f45f5c1b9c649fd5ee63fe9fd57e0d597 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 17 Sep 2021 12:39:36 -0700 Subject: [PATCH] [meta] `since`: hide deps/dev deps commits from the "since" output --- since.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/since.js b/since.js index 07380a02c..e75e15201 100644 --- a/since.js +++ b/since.js @@ -15,7 +15,7 @@ const packages = (process.argv.length > 2 ? [process.argv[2]] : glob.sync('*', { packages.forEach((pkg) => { const tag = `${pkg.name === 'docs' ? 'enzyme' : pkg.name}@${pkg.version}`; const dir = path.join(packagesDir, pkg.name); - const logArgs = ['--no-pager', 'log', '--oneline', `${tag}..HEAD`, dir, ':!**/.eslintrc'].concat(pkg.name === 'enzyme' ? docsDir : []); + const logArgs = ['--no-pager', 'log', '--oneline', '--grep=\\[\\(dev \\)\\?deps\\]', '--invert-grep', `${tag}..HEAD`, dir, ':!**/.eslintrc'].concat(pkg.name === 'enzyme' ? docsDir : []); const log = spawnSync('git', logArgs, { stdio: 'pipe' }); if (log.stdout.length > 0 || log.stderr.length > 0) { console.log(tag);