Skip to content

Commit f7f0ccb

Browse files
authored
chore: align package metadata across workspace (#1454)
Align `Cargo.toml` metadata across the workspace (inherit `authors` / `license` / `rust-version` from `[workspace.package]`, add `publish = false` on internal crates). No functional changes.
1 parent 34ac221 commit f7f0ccb

6 files changed

Lines changed: 14 additions & 1 deletion

File tree

bench/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
[package]
22
name = "vite-plus-benches"
33
version = "0.1.0"
4-
edition = "2024"
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
publish = false
8+
rust-version.workspace = true
59

610
[dev-dependencies]
711
anyhow = { workspace = true }

crates/vite_command/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true
7+
publish = false
78
rust-version.workspace = true
89

910
[dependencies]

crates/vite_migration/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true
7+
publish = false
78
rust-version.workspace = true
89

910
[dependencies]

crates/vite_static_config/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ authors.workspace = true
55
edition.workspace = true
66
homepage.workspace = true
77
license.workspace = true
8+
publish = false
89
repository.workspace = true
10+
rust-version.workspace = true
911

1012
[dependencies]
1113
oxc_allocator = { workspace = true }

crates/vite_trampoline/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors.workspace = true
55
edition.workspace = true
66
license.workspace = true
77
publish = false
8+
rust-version.workspace = true
89
description = "Minimal Windows trampoline exe for vite-plus shims"
910

1011
[[bin]]

packages/cli/binding/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
[package]
22
name = "vite-plus-cli"
33
version = "0.0.0"
4+
authors.workspace = true
45
edition.workspace = true
6+
license.workspace = true
7+
publish = false
8+
rust-version.workspace = true
59

610
[features]
711
rolldown = ["dep:rolldown_binding"]

0 commit comments

Comments
 (0)