Skip to content

Commit

Permalink
chore: crates should only publish src and examples directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jun 8, 2024
1 parent 4b67f8e commit 0608198
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions crates/oxc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_allocator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_ast_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/examples", "/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_diagnostics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_js_regex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_language_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_linter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/examples", "/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_module_lexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]
include = ["/examples", "/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/examples", "/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_prettier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/examples", "/src"]

[lints]
workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_semantic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]
include = ["/examples", "/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_span/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_transformer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/examples", "/src"]

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/oxc_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ keywords.workspace = true
license.workspace = true
rust-version.workspace = true
categories.workspace = true
include = ["/src"]

[lints]
workspace = true
Expand Down

0 comments on commit 0608198

Please sign in to comment.