Update to new project style.
This commit is contained in:
parent
029ee3114e
commit
96f72dd8ba
17
Cargo.toml
17
Cargo.toml
|
@ -1,19 +1,22 @@
|
|||
[package]
|
||||
name = "userstyles"
|
||||
description = "https://bauke.xyz/userstyles"
|
||||
version = "1.0.0"
|
||||
edition = "2018"
|
||||
repository = "https://git.holllo.cc/Bauke/userstyles"
|
||||
repository = "https://git.bauke.xyz/Bauke/userstyles"
|
||||
license = "AGPL-3.0-or-later"
|
||||
version = "1.0.0"
|
||||
edition = "2021"
|
||||
build = "source/build.rs"
|
||||
|
||||
[lib]
|
||||
path = "source/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1.0.130", features = ["derive"] }
|
||||
serde_json = "1.0.67"
|
||||
thiserror = "1.0.26"
|
||||
serde_json = "1.0.85"
|
||||
thiserror = "1.0.37"
|
||||
|
||||
[dependencies.serde]
|
||||
features = ["derive"]
|
||||
version = "1.0.145"
|
||||
|
||||
[build-dependencies]
|
||||
rsass = "0.22.2"
|
||||
rsass = "0.23.4"
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
[tasks.fmt]
|
||||
command = "cargo"
|
||||
args = ["fmt", "${@}"]
|
||||
|
||||
[tasks.check]
|
||||
command = "cargo"
|
||||
args = ["check", "${@}"]
|
||||
|
||||
[tasks.clippy]
|
||||
command = "cargo"
|
||||
args = ["clippy", "${@}"]
|
||||
|
||||
[tasks.test]
|
||||
command = "cargo"
|
||||
args = ["test", "${@}"]
|
||||
|
||||
[tasks.doc]
|
||||
command = "cargo"
|
||||
args = ["doc", "${@}"]
|
||||
|
||||
[tasks.build]
|
||||
command = "cargo"
|
||||
args = ["build", "${@}"]
|
||||
|
||||
[tasks.complete-check]
|
||||
dependencies = ["fmt", "check", "clippy", "test", "doc", "build"]
|
||||
|
||||
[tasks.code-coverage]
|
||||
workspace = false
|
||||
install_crate = "cargo-tarpaulin"
|
||||
command = "cargo"
|
||||
args = [
|
||||
"tarpaulin",
|
||||
"--exclude-files=target/*",
|
||||
"--out=html",
|
||||
"--output-dir=coverage",
|
||||
"--skip-clean",
|
||||
"--target-dir=target/tarpaulin"
|
||||
]
|
|
@ -0,0 +1,7 @@
|
|||
# Userstyles 🎨
|
||||
|
||||
> **Bauke's collection of userstyles.**
|
||||
|
||||
## License
|
||||
|
||||
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://git.bauke.xyz/Bauke/userstyles/src/branch/main/LICENSE) for more information.
|
21
package.json
21
package.json
|
@ -1,27 +1,22 @@
|
|||
{
|
||||
"name": "userstyles",
|
||||
"version": "0.0.0",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "stylelint 'source/**/*.scss'"
|
||||
"test": "cargo make complete-check && stylelint 'source/**/*.scss'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"stylelint": "^13.13.1",
|
||||
"stylelint-config-xo-scss": "^0.14.0",
|
||||
"stylelint-config-xo-space": "^0.15.1"
|
||||
"stylelint": "^14.12.1",
|
||||
"stylelint-config-standard-scss": "^5.0.0"
|
||||
},
|
||||
"stylelint": {
|
||||
"extends": [
|
||||
"stylelint-config-xo-scss",
|
||||
"stylelint-config-xo-space"
|
||||
],
|
||||
"ignoreFiles": [
|
||||
"build/**/*.css"
|
||||
"stylelint-config-standard-scss"
|
||||
],
|
||||
"rules": {
|
||||
"at-rule-no-unknown": null,
|
||||
"block-no-empty": null,
|
||||
"no-descending-specificity": null
|
||||
"no-descending-specificity": null,
|
||||
"no-invalid-position-at-import-rule": null,
|
||||
"string-quotes": "single"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue