ci(package): add fmt check to `preversion` run
This commit is contained in:
parent
1231308d8d
commit
48657a1283
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue