Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas Rupprecht 48657a1283 ci(package): add fmt check to `preversion` run 2023-11-08 20:41:44 +01:00
Thomas Rupprecht 1231308d8d chore(dprint): update dprint plugins 2023-11-08 20:35:12 +01:00
3 changed files with 6 additions and 3 deletions

View File

@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
- Add `.cjs` and `.mjs` to `.editorconfig`
- Add dprint as code formatter
- Set `scrollbar-gutter: stable`
### 🚜 Refactor
@ -23,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

@ -24,8 +24,8 @@
"src/browser-polyfill.js"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.88.2.wasm",
"https://plugins.dprint.dev/json-0.18.0.wasm",
"https://plugins.dprint.dev/typescript-0.88.3.wasm",
"https://plugins.dprint.dev/json-0.19.0.wasm",
"https://plugins.dprint.dev/markdown-0.16.2.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm"
]

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",