This is an automated email from the ASF dual-hosted git repository. sadpandajoe pushed a commit to branch ultraset-lint-frontend-lerna-efilter-no-packages in repository https://gitbox.apache.org/repos/asf/superset.git
commit 9e9d80d024a46939bf8d1f62ac8b1e24b992bd7d Author: Joe Li <[email protected]> AuthorDate: Mon Oct 26 03:36:31 2026 +0000 fix(build): drop stray newline from the plugins:build babel lerna scope The babel `lerna exec` template literal in scripts/build.js broke the line right after `--scope ${scope}`, and run() splits only on spaces, so lerna received the scope with a trailing newline. lerna 10.1.1 (#45715) matches with minimatch 10, which no longer tolerates that newline, so plugins:build fails with "EFILTER No packages remain after filtering". Continue the template literal with a backslash, as the tsc call below already does. Co-Authored-By: Claude Opus 5.5 <[email protected]> --- superset-frontend/scripts/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/scripts/build.js b/superset-frontend/scripts/build.js index 6b0325ab257..bc3a23a005f 100755 --- a/superset-frontend/scripts/build.js +++ b/superset-frontend/scripts/build.js @@ -117,7 +117,7 @@ function getPackages(packagePattern, tsOnly = false) { let scope = getPackages(glob); console.log('--- Run babel --------'); -const babelCommand = `lerna exec --stream --concurrency 10 --scope ${scope} +const babelCommand = `lerna exec --stream --concurrency 10 --scope ${scope}\ -- babel ${BABEL_CONFIG} src --extensions ".ts,.tsx,.js,.jsx" --copy-files`; run(`${babelCommand} --out-dir lib`);
