Skip to content

Commit

Permalink
๐Ÿ—๐Ÿšฎ Clean up amphtml root-level dependencies (#33115)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimha committed Mar 8, 2021
1 parent d2bf63d commit 24e3d1b
Show file tree
Hide file tree
Showing 9 changed files with 9,926 additions and 20,405 deletions.
7 changes: 0 additions & 7 deletions .renovaterc.json
Expand Up @@ -71,13 +71,6 @@
"additionalBranchPrefix": "babel-"
}
},
{
"groupName": "Renovate Bot",
"matchPackagePatterns": ["renovate"],
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["major", "minor"],
"extends": ["schedule:weekly"]
},
{
"excludePackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["dependencies"],
Expand Down
2 changes: 1 addition & 1 deletion build-system/tasks/check-renovate-config.js
Expand Up @@ -61,7 +61,7 @@ const {log} = require('../common/logging');
*/
async function checkRenovateConfig() {
const {status, stdout} = getOutput(
'node_modules/renovate/dist/config-validator.js'
'npx -q -p renovate renovate-config-validator'
);
const [configFile] = stdout.match(/(?<=Validating )\S+/);

Expand Down
4 changes: 2 additions & 2 deletions build-system/tasks/compile-jison.js
Expand Up @@ -16,7 +16,7 @@
'use strict';

const fs = require('fs-extra');
const glob = require('glob');
const globby = require('globby');
const jison = require('jison');
const path = require('path');
const {endBuildStep} = require('./helpers');
Expand Down Expand Up @@ -46,7 +46,7 @@ async function compileJison() {
const startTime = Date.now();
const promises = [];
jisonPaths.forEach((jisonPath) => {
glob.sync(jisonPath).forEach((jisonFile) => {
globby.sync(jisonPath).forEach((jisonFile) => {
const jsFile = path.basename(jisonFile, '.jison');
const extension = jsFile.replace('-expr-impl', '');
const parser = extension + 'Parser';
Expand Down
2 changes: 1 addition & 1 deletion build-system/tasks/serve.js
Expand Up @@ -21,7 +21,7 @@ const globby = require('globby');
const header = require('connect-header');
const minimist = require('minimist');
const morgan = require('morgan');
const open = require('opn');
const open = require('open');
const os = require('os');
const path = require('path');
const {
Expand Down
4 changes: 2 additions & 2 deletions build-system/tasks/sweep-experiments/index.js
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
const argv = require('minimist')(process.argv.slice(2));
const fastGlob = require('fast-glob');
const globby = require('globby');
const path = require('path');
const {
jscodeshift,
Expand Down Expand Up @@ -83,7 +83,7 @@ const cmdEscape = (str) => str.replace(/["`]/g, (c) => `\\${c}`);
*/
const filesContainingPattern = (glob, string) =>
getStdoutLines(
`grep -El "${cmdEscape(string)}" {${fastGlob.sync(glob).join(',')}}`
`grep -El "${cmdEscape(string)}" {${globby.sync(glob).join(',')}}`
);

/**
Expand Down

0 comments on commit 24e3d1b

Please sign in to comment.