From 17e19081a291f4575aa19869cb398d9f4c262437 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 25 May 2026 22:46:58 -0400 Subject: [PATCH] =?UTF-8?q?fix(ext-ci):=20drop=20web-ext-config.cjs=20(v8?= =?UTF-8?q?=20mis-parses=20.cjs=20configs=20as=20if=20module.exports=20wer?= =?UTF-8?q?e=20a=20config=20option)=20=E2=80=94=20inline=20ignore-files=20?= =?UTF-8?q?on=20CLI=20+=20--no-config-discovery=20=E2=80=94=20Co-Authored-?= =?UTF-8?q?By:=20Claude=20Opus=204.7=20(1M=20context)=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extension/package.json | 8 ++++---- extension/web-ext-config.cjs | 13 ------------- 2 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 extension/web-ext-config.cjs diff --git a/extension/package.json b/extension/package.json index 463151d..9f8e814 100644 --- a/extension/package.json +++ b/extension/package.json @@ -4,10 +4,10 @@ "private": true, "description": "Firefox extension for FabledCurator", "scripts": { - "lint": "web-ext lint --source-dir=.", - "start": "web-ext run --source-dir=. --firefox=firefox", - "build": "web-ext build --source-dir=. --overwrite-dest", - "sign": "web-ext sign --source-dir=. --channel=unlisted --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET" + "lint": "web-ext lint --source-dir=. --no-config-discovery --ignore-files package.json package-lock.json web-ext-artifacts node_modules README.md .gitignore", + "start": "web-ext run --source-dir=. --no-config-discovery --ignore-files package.json package-lock.json web-ext-artifacts node_modules README.md .gitignore --firefox=firefox", + "build": "web-ext build --source-dir=. --no-config-discovery --ignore-files package.json package-lock.json web-ext-artifacts node_modules README.md .gitignore --overwrite-dest", + "sign": "web-ext sign --source-dir=. --no-config-discovery --ignore-files package.json package-lock.json web-ext-artifacts node_modules README.md .gitignore --channel=unlisted --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET" }, "devDependencies": { "web-ext": "^8.0.0" diff --git a/extension/web-ext-config.cjs b/extension/web-ext-config.cjs deleted file mode 100644 index 019579a..0000000 --- a/extension/web-ext-config.cjs +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = { - sourceDir: '.', - artifactsDir: './web-ext-artifacts', - ignoreFiles: [ - 'package.json', - 'package-lock.json', - 'web-ext-config.cjs', - 'web-ext-artifacts', - 'node_modules', - 'README.md', - '.gitignore', - ], -};