extension-develop 4.1.17 → 4.1.18-canary.1789403792.e514b06c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -209,6 +209,12 @@ export interface BuildOptions {
209
209
  zipSource?: boolean;
210
210
  polyfill?: boolean;
211
211
  silent?: boolean;
212
+ /**
213
+ * Run Mozilla's addons-linter over the emitted dist after a production
214
+ * build for a Gecko target and print its findings as build warnings.
215
+ * Needs `addons-linter` installed in the project. Defaults to `true`.
216
+ */
217
+ addonLint?: boolean;
212
218
  /**
213
219
  * Override the bundler mode (and NODE_ENV). Defaults to 'production' to
214
220
  * preserve historical behavior. Setting 'development' is useful for
@@ -441,7 +447,7 @@ export interface FileConfig {
441
447
  extensions?: CompanionExtensionsConfig;
442
448
  transpilePackages?: string[];
443
449
  };
444
- build?: Pick<BuildOptions, 'browser' | 'zipFilename' | 'zip' | 'zipSource' | 'polyfill' | 'silent' | 'safariBinary' | 'appName' | 'bundleId' | 'macOsOnly'> & {
450
+ build?: Pick<BuildOptions, 'browser' | 'zipFilename' | 'zip' | 'zipSource' | 'polyfill' | 'silent' | 'addonLint' | 'safariBinary' | 'appName' | 'bundleId' | 'macOsOnly'> & {
445
451
  extensions?: CompanionExtensionsConfig;
446
452
  transpilePackages?: string[];
447
453
  perfBudgets?: PerfBudgetsConfig;
package/package.json CHANGED
@@ -43,7 +43,7 @@
43
43
  "runtime"
44
44
  ],
45
45
  "name": "extension-develop",
46
- "version": "4.1.17",
46
+ "version": "4.1.18-canary.1789403792.e514b06c",
47
47
  "description": "Develop, build, preview, and package Extension.js projects.",
48
48
  "author": {
49
49
  "name": "Cezar Augusto",
@@ -141,6 +141,7 @@
141
141
  "@types/sass-loader": "8.0.10",
142
142
  "@types/webextension-polyfill": "0.12.4",
143
143
  "@types/ws": "^8.18.1",
144
+ "addons-linter": "10.12.0",
144
145
  "svelte": "5.55.9",
145
146
  "tsup": "^8.5.1",
146
147
  "typescript": "7.0.2",