ci(package): add fmt check to `preversion` run

This commit is contained in:
Thomas Rupprecht 2023-11-08 20:41:44 +01:00
parent 1231308d8d
commit 48657a1283
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file.
- Update `stylelint-plugin-defensive-css`, `web-ext`
- Update dependencies
- Update dependencies
- Update dprint plugins
## \[[0.9.5](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.5)] - 2023-09-13

View File

@ -34,6 +34,7 @@
"lint:web-ext": "web-ext lint -w",
"lint:js": "eslint .",
"lint:css": "stylelint \"src/*.css\"",
"fmt": "dprint fmt",
"fmt:check": "dprint check",
"fmt:update": "dprint config update",
"test": "echo \"Error: no test specified\" && exit 0",
@ -49,7 +50,7 @@
"postbuild:firefox": "npm run postbuild",
"postbuild:chromium": "npm run postbuild && npm run uninject-browser-polyfill",
"postinstall": "npm run copy-browser-polyfill",
"preversion": "npm run lint && npm test",
"preversion": "npm run fmt:check && npm run lint && npm test",
"version": "npm run copy-version && npm run update-changelog && git add CHANGELOG.md src/manifest.json",
"postversion": "npm run build:firefox",
"prepare": "husky install",