[package]
edition = "2024"
rust-version = "1.99"
name = "skif-cli"
version = "0.1.1"
authors = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]
build = false
include = [
"/src/**",
"/tests/**",
"/Cargo.toml",
"/LICENSE",
"/ATTRIBUTIONS.md",
"/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for skif, a dependency and package-manager linter for JS/TS monorepos."
homepage = "https://github.com/Goldziher/skif"
documentation = "https://docs.rs/skif-cli"
readme = "README.md"
keywords = [
"linter",
"monorepo",
"package-json",
"pnpm",
"cli",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/Goldziher/skif"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/skif-{ target }{ archive-suffix }"
pkg-fmt = "tgz"
bin-dir = "{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/skif-x86_64-unknown-linux-musl{ archive-suffix }"
[package.metadata.binstall.overrides.aarch64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/skif-aarch64-unknown-linux-musl{ archive-suffix }"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-fmt = "zip"
[lib]
name = "skif_cli"
path = "src/lib.rs"
[[bin]]
name = "skif"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "explain_usage"
path = "tests/explain_usage.rs"
[[test]]
name = "inheritance"
path = "tests/inheritance.rs"
[[test]]
name = "migrate"
path = "tests/migrate.rs"
[[test]]
name = "multi"
path = "tests/multi.rs"
[dependencies.clap]
version = "4.6.7"
features = ["derive"]
[dependencies.inquire]
version = "0.9.4"
[dependencies.rayon]
version = "1.12.0"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
features = ["preserve_order"]
[dependencies.skif]
version = "=0.1.1"
features = [
"manifest",
"js-analysis",
"fix",
"yaml-fix",
"report",
"schema",
]
[dependencies.skif-core]
version = "=0.1.1"
[dependencies.skif-migrate]
version = "=0.1.1"
[dependencies.skif-report]
version = "=0.1.1"
[dependencies.toml]
version = "1.2.1"
features = ["preserve_order"]
[dependencies.which]
version = "8.0.6"
[dev-dependencies.assert_cmd]
version = "2.2.2"
[dev-dependencies.insta]
version = "1.49.0"
[dev-dependencies.tempfile]
version = "3.27.0"
[lints.clippy]
expect_used = "warn"
too_many_lines = "allow"
unnecessary_box_returns = "allow"
unnecessary_debug_formatting = "allow"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"