fix: restore verboseLog/parseCssColor after main merge and bump glob

CI merge with main dropped verboseInfo/parseCssColor exports and broke the Vite build. Restore the PR logger and colour helpers, reinstate the Jest color mock map, and update glob to v13 with overrides.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-19 09:09:40 +09:30
parent 3ef1add585
commit c015c8a162
7 changed files with 189 additions and 6 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
* or `node lib/publish.js --b firefox`
*/
const glob = require("glob");
const { globSync } = require("glob");
const semver = require("semver");
const { execSync } = require("child_process");
const path = require("path");
@@ -98,7 +98,7 @@ function getLatestFiles(browser) {
const pattern = `dist/betterseqtaplus@*-*${browser}.zip`;
console.log("Glob pattern:", pattern);
const files = glob.sync(pattern);
const files = globSync(pattern);
console.log("Files found for browser", browser, ":", files);
if (files.length === 0) {