Revert "Fix failing test install by replacing $(npm bin) with npx"

This commit is contained in:
Danny Colin 2023-02-21 12:44:45 -05:00 committed by Danny Colin
parent 37e0caec25
commit 4410245b0d
4 changed files with 18 additions and 3 deletions

View file

@ -32,4 +32,4 @@ rm -rf $TMPDIR/src/_locales/.github || die
print G "done."
print Y "Running the test..."
npx addons-linter $TMPDIR/src || die
$(npm bin)/addons-linter $TMPDIR/src || die

View file

@ -9,7 +9,7 @@
},
"dependencies": {},
"devDependencies": {
"addons-linter": "^5.28.0",
"addons-linter": "^3.23.0",
"ajv": "^6.6.3",
"chai": "^4.2.0",
"eslint": "^7.32.0",

@ -1 +1 @@
Subproject commit 417e6294ed767914b617a5e56ccbe67482df181c
Subproject commit fa5fb497bd4e5c9b7d69407ee593b853cf839009

15
web-ext-config.js Normal file
View file

@ -0,0 +1,15 @@
module.exports = {
sourceDir: "./src",
build: {
overwriteDest: true,
},
run: {
pref: [
"ui.popup.disable_autohide=true",
"extensions.manifestV3.enabled=false",
"xpinstall.signatures.required=false",
"ui.systemUsesDarkTheme=1"
],
browserConsole: true
},
};