mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-30 01:47:54 +01:00
Prepare 4.0.5 Firefox update and Shorts fixes
Add Firefox data consent, repair contributor sign-in, and introduce optional Hide clutter buttons. Harden video navigation, voting, and action layouts with shared browser regression coverage and reproducible release packaging.
This commit is contained in:
1 parent
3657de9b2c
commit
e500088e65
196 files changed
+39706
-2694
No files matched your search
+15
-7
@@ -4,13 +4,13 @@ This source package is provided for Mozilla Add-ons review. The extension is bui
|
||||
|
||||
## Build environment
|
||||
|
||||
The release was built with:
|
||||
The 4.0.5 release was built with this exact toolchain:
|
||||
|
||||
- Ubuntu 24.04-compatible environment
|
||||
- Windows 11 (PowerShell); the build script also supports Linux and macOS
|
||||
- Node.js 22.17.0
|
||||
- npm 10.8.2
|
||||
|
||||
The build script is cross-platform and also works on Windows and macOS when the same Node.js and npm versions are installed.
|
||||
These versions are intentionally pinned instead of relying on the default AMO reviewer environment. The build script checks both versions before installing dependencies and stops if either differs. The release's accompanying reproducibility report records the environment actually used for its independent source rebuild.
|
||||
|
||||
## Install Node.js
|
||||
|
||||
@@ -19,6 +19,7 @@ Using `nvm`:
|
||||
```sh
|
||||
nvm install 22.17.0
|
||||
nvm use 22.17.0
|
||||
npm install --global npm@10.8.2
|
||||
```
|
||||
|
||||
Confirm the versions:
|
||||
@@ -45,10 +46,14 @@ node scripts/build-firefox-source.mjs
|
||||
|
||||
The script performs all required technical build steps:
|
||||
|
||||
1. Installs dependencies with `npm ci`.
|
||||
2. Builds the extension with `npm run build`.
|
||||
3. Verifies the generated Firefox output exists.
|
||||
4. Verifies `ryd.content-script.js` is below 5 MB and does not contain a source map reference.
|
||||
1. Confirms Node.js 22.17.0 and npm 10.8.2 are in use.
|
||||
2. Installs the locked dependencies with `npm ci`.
|
||||
3. Builds the extension with the release-specific `npm run build-for-amo` hook.
|
||||
4. Verifies the generated Firefox manifest is version 4.0.5, retains the published AMO add-on ID, and declares the expected desktop data-collection permissions and minimum Firefox version.
|
||||
5. Verifies `menu-fixer.js` and the other required Firefox files were generated.
|
||||
6. Verifies `ryd.content-script.js` is below 5 MB.
|
||||
7. Verifies every generated JavaScript file has no source-map reference.
|
||||
8. Runs the extension artifact verifier to confirm that the generated files match the current source inputs.
|
||||
|
||||
The generated Firefox extension files are written to:
|
||||
|
||||
@@ -61,6 +66,9 @@ Use that directory when comparing the rebuilt code with the submitted Firefox ad
|
||||
## Notes
|
||||
|
||||
- `package-lock.json` is included so npm installs the same dependency versions used for this release.
|
||||
- `Extensions/e2e/verify-extension-artifact.js` is included as a build-time verifier; it is not packaged in the add-on.
|
||||
- All dependencies are installed from the npm registry with the standard npm package manager; no vendored or remotely fetched build scripts are used.
|
||||
- This Firefox package is desktop-only. Its manifest requires Firefox 140.0 or newer and intentionally omits `gecko_android`.
|
||||
- Production builds disable inline source maps. Development builds still use inline source maps through `npm run dev`.
|
||||
- The production bundle is generated by webpack but is not intentionally obfuscated or minified.
|
||||
- `node_modules` and `Extensions/combined/dist` are generated locally and are not source inputs.
|
||||
Reference in new issue
Block a user