Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix missing metadata in publish #7501

Merged
merged 5 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ cargo-features = ["trim-paths"]
members = ["crates/*"]
resolver = "2" # See https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2

[workspace.package]
authors = ["Rspack Teams"]
categories = ["bundler", "development-tools", "web-programming"]
documentation = "https://rspack.dev/"
homepage = "https://rspack.dev/"
license = "MIT"
repository = "https://github.com/web-infra-dev/rspack"


[workspace.dependencies]
anyhow = { version = "1.0.81", features = ["backtrace"] }
anymap = { version = "=1.0.0-beta.2" }
Expand Down
36 changes: 18 additions & 18 deletions crates/node_binding/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
edition = "2021"
license = "MIT"
name = "rspack_node"
publish = false
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
description = "node binding"
edition = "2021"
license = "MIT"
name = "rspack_node"
publish = false
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
[lib]
crate-type = ["cdylib"]

Expand All @@ -14,18 +14,18 @@ default = []
plugin = ["rspack_binding_options/plugin"]

[dependencies]
rspack_allocator = { path = "../rspack_allocator" }
rspack_binding_options = { path = "../rspack_binding_options" }
rspack_binding_values = { path = "../rspack_binding_values" }
rspack_collections = { path = "../rspack_collections" }
rspack_core = { path = "../rspack_core" }
rspack_error = { path = "../rspack_error" }
rspack_fs_node = { path = "../rspack_fs_node" }
rspack_hash = { path = "../rspack_hash" }
rspack_hook = { path = "../rspack_hook" }
rspack_napi = { path = "../rspack_napi" }
rspack_plugin_javascript = { path = "../rspack_plugin_javascript" }
rspack_tracing = { path = "../rspack_tracing" }
rspack_allocator = { version = "0.1.0", path = "../rspack_allocator" }
rspack_binding_options = { version = "0.1.0", path = "../rspack_binding_options" }
rspack_binding_values = { version = "0.1.0", path = "../rspack_binding_values" }
rspack_collections = { version = "0.1.0", path = "../rspack_collections" }
rspack_core = { version = "0.1.0", path = "../rspack_core" }
rspack_error = { version = "0.1.0", path = "../rspack_error" }
rspack_fs_node = { version = "0.1.0", path = "../rspack_fs_node" }
rspack_hash = { version = "0.1.0", path = "../rspack_hash" }
rspack_hook = { version = "0.1.0", path = "../rspack_hook" }
rspack_napi = { version = "0.1.0", path = "../rspack_napi" }
rspack_plugin_javascript = { version = "0.1.0", path = "../rspack_plugin_javascript" }
rspack_tracing = { version = "0.1.0", path = "../rspack_tracing" }
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }

async-trait = { workspace = true }
Expand Down
110 changes: 55 additions & 55 deletions crates/rspack_binding_options/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
edition = "2021"
license = "MIT"
name = "rspack_binding_options"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
description = "rspack binding options"
edition = "2021"
license = "MIT"
name = "rspack_binding_options"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
[features]
default = []
plugin = ["rspack_loader_swc/plugin"]
Expand All @@ -18,56 +18,56 @@ derivative = { workspace = true }
glob = { workspace = true }
napi = { workspace = true, features = ["async", "tokio_rt", "serde-json", "anyhow"] }
napi-derive = { workspace = true }
rspack_binding_values = { path = "../rspack_binding_values" }
rspack_collections = { path = "../rspack_collections" }
rspack_core = { path = "../rspack_core" }
rspack_error = { path = "../rspack_error" }
rspack_hook = { path = "../rspack_hook" }
rspack_ids = { path = "../rspack_ids" }
rspack_loader_lightningcss = { path = "../rspack_loader_lightningcss" }
rspack_loader_preact_refresh = { path = "../rspack_loader_preact_refresh" }
rspack_loader_react_refresh = { path = "../rspack_loader_react_refresh" }
rspack_loader_runner = { path = "../rspack_loader_runner" }
rspack_loader_swc = { path = "../rspack_loader_swc" }
rspack_loader_testing = { path = "../rspack_loader_testing" }
rspack_napi = { path = "../rspack_napi" }
rspack_napi_macros = { path = "../rspack_napi_macros" }
rspack_plugin_asset = { path = "../rspack_plugin_asset" }
rspack_plugin_banner = { path = "../rspack_plugin_banner" }
rspack_plugin_copy = { path = "../rspack_plugin_copy" }
rspack_plugin_css = { path = "../rspack_plugin_css" }
rspack_plugin_devtool = { path = "../rspack_plugin_devtool" }
rspack_plugin_dynamic_entry = { path = "../rspack_plugin_dynamic_entry" }
rspack_plugin_ensure_chunk_conditions = { path = "../rspack_plugin_ensure_chunk_conditions" }
rspack_plugin_entry = { path = "../rspack_plugin_entry" }
rspack_plugin_externals = { path = "../rspack_plugin_externals" }
rspack_plugin_extract_css = { path = "../rspack_plugin_extract_css" }
rspack_plugin_hmr = { path = "../rspack_plugin_hmr" }
rspack_plugin_html = { path = "../rspack_plugin_html" }
rspack_plugin_ignore = { path = "../rspack_plugin_ignore" }
rspack_plugin_javascript = { path = "../rspack_plugin_javascript" }
rspack_plugin_json = { path = "../rspack_plugin_json" }
rspack_plugin_lazy_compilation = { path = "../rspack_plugin_lazy_compilation" }
rspack_plugin_library = { path = "../rspack_plugin_library" }
rspack_plugin_lightning_css_minimizer = { path = "../rspack_plugin_lightning_css_minimizer" }
rspack_plugin_limit_chunk_count = { path = "../rspack_plugin_limit_chunk_count" }
rspack_plugin_merge_duplicate_chunks = { path = "../rspack_plugin_merge_duplicate_chunks" }
rspack_plugin_mf = { path = "../rspack_plugin_mf" }
rspack_plugin_progress = { path = "../rspack_plugin_progress" }
rspack_plugin_real_content_hash = { path = "../rspack_plugin_real_content_hash" }
rspack_plugin_remove_empty_chunks = { path = "../rspack_plugin_remove_empty_chunks" }
rspack_plugin_runtime = { path = "../rspack_plugin_runtime" }
rspack_plugin_runtime_chunk = { path = "../rspack_plugin_runtime_chunk" }
rspack_plugin_schemes = { path = "../rspack_plugin_schemes" }
rspack_plugin_size_limits = { path = "../rspack_plugin_size_limits" }
rspack_plugin_split_chunks = { path = "../rspack_plugin_split_chunks" }
rspack_plugin_swc_css_minimizer = { path = "../rspack_plugin_swc_css_minimizer" }
rspack_plugin_swc_js_minimizer = { path = "../rspack_plugin_swc_js_minimizer" }
rspack_plugin_warn_sensitive_module = { path = "../rspack_plugin_warn_sensitive_module" }
rspack_plugin_wasm = { path = "../rspack_plugin_wasm" }
rspack_plugin_web_worker_template = { path = "../rspack_plugin_web_worker_template" }
rspack_plugin_worker = { path = "../rspack_plugin_worker" }
rspack_regex = { path = "../rspack_regex" }
rspack_binding_values = { version = "0.1.0", path = "../rspack_binding_values" }
rspack_collections = { version = "0.1.0", path = "../rspack_collections" }
rspack_core = { version = "0.1.0", path = "../rspack_core" }
rspack_error = { version = "0.1.0", path = "../rspack_error" }
rspack_hook = { version = "0.1.0", path = "../rspack_hook" }
rspack_ids = { version = "0.1.0", path = "../rspack_ids" }
rspack_loader_lightningcss = { version = "0.1.0", path = "../rspack_loader_lightningcss" }
rspack_loader_preact_refresh = { version = "0.1.0", path = "../rspack_loader_preact_refresh" }
rspack_loader_react_refresh = { version = "0.1.0", path = "../rspack_loader_react_refresh" }
rspack_loader_runner = { version = "0.1.0", path = "../rspack_loader_runner" }
rspack_loader_swc = { version = "0.1.0", path = "../rspack_loader_swc" }
rspack_loader_testing = { version = "0.1.0", path = "../rspack_loader_testing" }
rspack_napi = { version = "0.1.0", path = "../rspack_napi" }
rspack_napi_macros = { version = "0.1.0", path = "../rspack_napi_macros" }
rspack_plugin_asset = { version = "0.1.0", path = "../rspack_plugin_asset" }
rspack_plugin_banner = { version = "0.1.0", path = "../rspack_plugin_banner" }
rspack_plugin_copy = { version = "0.1.0", path = "../rspack_plugin_copy" }
rspack_plugin_css = { version = "0.1.0", path = "../rspack_plugin_css" }
rspack_plugin_devtool = { version = "0.1.0", path = "../rspack_plugin_devtool" }
rspack_plugin_dynamic_entry = { version = "0.1.0", path = "../rspack_plugin_dynamic_entry" }
rspack_plugin_ensure_chunk_conditions = { version = "0.1.0", path = "../rspack_plugin_ensure_chunk_conditions" }
rspack_plugin_entry = { version = "0.1.0", path = "../rspack_plugin_entry" }
rspack_plugin_externals = { version = "0.1.0", path = "../rspack_plugin_externals" }
rspack_plugin_extract_css = { version = "0.1.0", path = "../rspack_plugin_extract_css" }
rspack_plugin_hmr = { version = "0.1.0", path = "../rspack_plugin_hmr" }
rspack_plugin_html = { version = "0.1.0", path = "../rspack_plugin_html" }
rspack_plugin_ignore = { version = "0.1.0", path = "../rspack_plugin_ignore" }
rspack_plugin_javascript = { version = "0.1.0", path = "../rspack_plugin_javascript" }
rspack_plugin_json = { version = "0.1.0", path = "../rspack_plugin_json" }
rspack_plugin_lazy_compilation = { version = "0.1.0", path = "../rspack_plugin_lazy_compilation" }
rspack_plugin_library = { version = "0.1.0", path = "../rspack_plugin_library" }
rspack_plugin_lightning_css_minimizer = { version = "0.1.0", path = "../rspack_plugin_lightning_css_minimizer" }
rspack_plugin_limit_chunk_count = { version = "0.1.0", path = "../rspack_plugin_limit_chunk_count" }
rspack_plugin_merge_duplicate_chunks = { version = "0.1.0", path = "../rspack_plugin_merge_duplicate_chunks" }
rspack_plugin_mf = { version = "0.1.0", path = "../rspack_plugin_mf" }
rspack_plugin_progress = { version = "0.1.0", path = "../rspack_plugin_progress" }
rspack_plugin_real_content_hash = { version = "0.1.0", path = "../rspack_plugin_real_content_hash" }
rspack_plugin_remove_empty_chunks = { version = "0.1.0", path = "../rspack_plugin_remove_empty_chunks" }
rspack_plugin_runtime = { version = "0.1.0", path = "../rspack_plugin_runtime" }
rspack_plugin_runtime_chunk = { version = "0.1.0", path = "../rspack_plugin_runtime_chunk" }
rspack_plugin_schemes = { version = "0.1.0", path = "../rspack_plugin_schemes" }
rspack_plugin_size_limits = { version = "0.1.0", path = "../rspack_plugin_size_limits" }
rspack_plugin_split_chunks = { version = "0.1.0", path = "../rspack_plugin_split_chunks" }
rspack_plugin_swc_css_minimizer = { version = "0.1.0", path = "../rspack_plugin_swc_css_minimizer" }
rspack_plugin_swc_js_minimizer = { version = "0.1.0", path = "../rspack_plugin_swc_js_minimizer" }
rspack_plugin_warn_sensitive_module = { version = "0.1.0", path = "../rspack_plugin_warn_sensitive_module" }
rspack_plugin_wasm = { version = "0.1.0", path = "../rspack_plugin_wasm" }
rspack_plugin_web_worker_template = { version = "0.1.0", path = "../rspack_plugin_web_worker_template" }
rspack_plugin_worker = { version = "0.1.0", path = "../rspack_plugin_worker" }
rspack_regex = { version = "0.1.0", path = "../rspack_regex" }
rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
Expand Down
22 changes: 11 additions & 11 deletions crates/rspack_binding_values/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[package]
edition = "2021"
license = "MIT"
name = "rspack_binding_values"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
description = "rspack binding values"
edition = "2021"
license = "MIT"
name = "rspack_binding_values"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
[dependencies]
futures = { workspace = true }
heck = { workspace = true }
napi = { workspace = true, features = ["async", "tokio_rt", "serde-json", "anyhow"] }
napi-derive = { workspace = true }
rspack_collections = { path = "../rspack_collections" }
rspack_core = { path = "../rspack_core" }
rspack_error = { path = "../rspack_error" }
rspack_napi = { path = "../rspack_napi" }
rspack_regex = { path = "../rspack_regex" }
rspack_util = { path = "../rspack_util" }
rspack_collections = { version = "0.1.0", path = "../rspack_collections" }
rspack_core = { version = "0.1.0", path = "../rspack_core" }
rspack_error = { version = "0.1.0", path = "../rspack_error" }
rspack_napi = { version = "0.1.0", path = "../rspack_napi" }
rspack_regex = { version = "0.1.0", path = "../rspack_regex" }
rspack_util = { version = "0.1.0", path = "../rspack_util" }
rustc-hash = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
15 changes: 9 additions & 6 deletions crates/rspack_collections/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
[package]
edition = "2021"
license = "MIT"
name = "rspack_collections"
version = "0.1.0"
description = "rspack collections"
description = "rspack collections"
documentation.workspace = true
edition = "2021"
homepage.workspace = true
license = "MIT"
name = "rspack_collections"
repository.workspace = true
version = "0.1.0"
[dependencies]
dashmap = { workspace = true }
hashlink = { workspace = true }
indexmap = { workspace = true }
rayon = { workspace = true }
serde = { workspace = true }
serde = { workspace = true, features = ["derive"] }
ustr = { workspace = true, features = ["serde"] }
32 changes: 16 additions & 16 deletions crates/rspack_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
edition = "2021"
license = "MIT"
name = "rspack_core"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
description = "rspack core"
edition = "2021"
license = "MIT"
name = "rspack_core"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
[dependencies]
anymap = { workspace = true }
async-recursion = { workspace = true }
Expand All @@ -27,19 +27,19 @@ once_cell = { workspace = true }
paste = { workspace = true }
rayon = { workspace = true }
regex = { workspace = true }
rspack_ast = { path = "../rspack_ast" }
rspack_collections = { path = "../rspack_collections" }
rspack_error = { path = "../rspack_error" }
rspack_fs = { path = "../rspack_fs", features = ["async", "rspack-error"] }
rspack_futures = { path = "../rspack_futures" }
rspack_hash = { path = "../rspack_hash" }
rspack_hook = { path = "../rspack_hook" }
rspack_loader_runner = { path = "../rspack_loader_runner" }
rspack_macros = { path = "../rspack_macros" }
rspack_regex = { path = "../rspack_regex" }
rspack_ast = { version = "0.1.0", path = "../rspack_ast" }
rspack_collections = { version = "0.1.0", path = "../rspack_collections" }
rspack_error = { version = "0.1.0", path = "../rspack_error" }
rspack_fs = { version = "0.1.0", path = "../rspack_fs", features = ["async", "rspack-error"] }
rspack_futures = { version = "0.1.0", path = "../rspack_futures" }
rspack_hash = { version = "0.1.0", path = "../rspack_hash" }
rspack_hook = { version = "0.1.0", path = "../rspack_hook" }
rspack_loader_runner = { version = "0.1.0", path = "../rspack_loader_runner" }
rspack_macros = { version = "0.1.0", path = "../rspack_macros" }
rspack_regex = { version = "0.1.0", path = "../rspack_regex" }
rspack_resolver = { version = "0.1.0", features = ["package_json_raw_json_api"] }
rspack_sources = { workspace = true }
rspack_util = { path = "../rspack_util" }
rspack_util = { version = "0.1.0", path = "../rspack_util" }
rustc-hash = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
Expand Down
14 changes: 7 additions & 7 deletions crates/rspack_error/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
edition = "2021"
license = "MIT"
name = "rspack_error"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
description = "rspack error"
edition = "2021"
license = "MIT"
name = "rspack_error"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand All @@ -14,8 +14,8 @@ futures = { workspace = true }
miette = { version = "5", features = ["fancy"] }
once_cell = { workspace = true }
owo-colors = "3.5.0"
rspack_collections = { path = "../rspack_collections" }
swc_core = { workspace = true, features = ["common"] }
rspack_collections = { version = "0.1.0", path = "../rspack_collections" }
swc_core = { workspace = true, features = ["common", "common_concurrent"] }
termcolor = "1"
textwrap = "0.15.2"
thiserror = "1"
Expand Down
11 changes: 6 additions & 5 deletions crates/rspack_fs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
edition = "2021"
license = "MIT"
name = "rspack_fs"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
description = "rspack fs"
edition = "2021"
license = "MIT"
name = "rspack_fs"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
[features]
async = ["dep:futures", "dep:tokio"]
default = ["native"]
Expand All @@ -15,6 +15,7 @@ rspack-error = ["dep:rspack_error"]
[dependencies.rspack_error]
optional = true
path = "../rspack_error"
version = "0.1.0"

[dependencies.futures]
optional = true
Expand Down
14 changes: 7 additions & 7 deletions crates/rspack_fs_node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
edition = "2021"
license = "MIT"
name = "rspack_fs_node"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
description = "rspack fs node"
edition = "2021"
license = "MIT"
name = "rspack_fs_node"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
[lib]
crate-type = ["cdylib", "rlib"]

Expand All @@ -16,8 +16,8 @@ default = ["async"]
futures = { workspace = true }
napi = { workspace = true, features = ["napi4", "tokio_rt"] }
napi-derive = { workspace = true }
rspack_fs = { path = "../rspack_fs", default-features = false, features = ["rspack-error"] }
rspack_napi = { path = "../rspack_napi" }
rspack_fs = { version = "0.1.0", path = "../rspack_fs", default-features = false, features = ["rspack-error"] }
rspack_napi = { version = "0.1.0", path = "../rspack_napi" }

[build-dependencies]
napi-build = { workspace = true }
Expand Down
Loading
Loading