mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-29 17:37:54 +01:00
Fix Shorts support and add userscript voting
Harden Shorts controls, reaction state, and navigation; share voting logic with the extension; improve ratio-bar rendering; and add comprehensive Jest, Playwright, artifact, and live-browser regression coverage.
This commit is contained in:
1 parent
4e6dfd1977
commit
3657de9b2c
74 files changed
+23328
-588
No files matched your search
+12
-2
@@ -7,7 +7,16 @@
|
||||
"start": "echo To build for development, please use \"npm run dev\". To build for production, please use \"npm run build\".",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"build": "webpack --mode=production",
|
||||
"build:userscript": "webpack --mode=production --config webpack.userscript.config.js",
|
||||
"build:live:userscript": "webpack --mode=production --config webpack.userscript.config.js --env liveTest=true",
|
||||
"build:live:extension": "webpack --mode=production --env liveTest=true",
|
||||
"test": "jest",
|
||||
"test:e2e:artifacts": "node Extensions/e2e/hermetic-artifact-smoke.js",
|
||||
"test:e2e:systematic": "npm run build && npm run build:userscript && npm run test:e2e:artifacts && playwright test --config playwright.userscript.config.js",
|
||||
"test:e2e:userscript": "npm run build:userscript && playwright test --config playwright.userscript.config.js",
|
||||
"test:live:youtube": "playwright test --config playwright.live-youtube.config.js",
|
||||
"test:live:youtube:interactive": "node Extensions/UserScript/e2e/live/live-interactive-runner.js",
|
||||
"test:all": "npm test -- --runInBand && npm run test:e2e:systematic",
|
||||
"build:safari": "webpack --mode=production && xcrun safari-web-extension-converter Extensions/combined/dist/safari --project-location Extensions/combined/dist --bundle-identifier com.returnyoutubedislike.safari-ext --force",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
@@ -33,13 +42,14 @@
|
||||
"country-code-lookup": "^0.1.3",
|
||||
"echarts": "^5.5.0",
|
||||
"topojson-client": "^3.1.0",
|
||||
"world-atlas": "^2.0.2",
|
||||
"us-atlas": "^3.0.0"
|
||||
"us-atlas": "^3.0.0",
|
||||
"world-atlas": "^2.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.23.5",
|
||||
"@babel/preset-env": "^7.23.5",
|
||||
"@babel/runtime": "^7.23.5",
|
||||
"@playwright/test": "1.62.0",
|
||||
"babel-loader": "^10.0.0",
|
||||
"babel-plugin-rewire": "^1.2.0",
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
|
||||
Reference in new issue
Block a user