mirror of
https://github.com/swc-project/swc.git
synced 2024-10-04 20:28:43 +03:00
fix(api/rust): Exclude test files from rust packages (#4091)
This commit is contained in:
parent
f75ec3dd66
commit
533f756274
@ -3,6 +3,7 @@ authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "JsDoc parser writen in rust"
|
||||
documentation = "https://rustdoc.swc.rs/jsdoc/"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
license = "Apache-2.0"
|
||||
name = "jsdoc"
|
||||
version = "0.64.0"
|
||||
|
@ -3,6 +3,7 @@ authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "CSS code generator for the swc project"
|
||||
documentation = "https://rustdoc.swc.rs/swc_css_codegen/"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
license = "Apache-2.0"
|
||||
name = "swc_css_codegen"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
|
@ -3,6 +3,7 @@ authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "CSS linter"
|
||||
documentation = "https://rustdoc.swc.rs/swc_css_lints/"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
license = "Apache-2.0"
|
||||
name = "swc_css_lints"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
|
@ -3,6 +3,7 @@ authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "CSS minifier"
|
||||
documentation = "https://rustdoc.swc.rs/swc_css_minifier/"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
license = "Apache-2.0"
|
||||
name = "swc_css_minifier"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
|
@ -3,11 +3,11 @@ authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "CSS paresr"
|
||||
documentation = "https://rustdoc.swc.rs/swc_css_parser/"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
license = "Apache-2.0"
|
||||
name = "swc_css_parser"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
version = "0.99.0"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[features]
|
||||
debug = []
|
||||
|
@ -2,6 +2,7 @@
|
||||
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "Linter for the swc project"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
license = "Apache-2.0"
|
||||
name = "swc_ecma_lints"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
|
@ -3,6 +3,7 @@ authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "rust port of babel and closure compiler."
|
||||
documentation = "https://rustdoc.swc.rs/swc_ecma_transforms_base/"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs", "src/**/*.js"]
|
||||
license = "Apache-2.0"
|
||||
name = "swc_ecma_transforms_base"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
|
@ -3,6 +3,7 @@ authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "Compatibility layer between estree and swc"
|
||||
documentation = "https://rustdoc.swc.rs/swc_estree_compat/"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
license = "Apache-2.0"
|
||||
name = "swc_estree_compat"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
|
@ -3,6 +3,7 @@ authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "Port of stylis"
|
||||
documentation = "https://rustdoc.swc.rs/swc_stylis/"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
license = "Apache-2.0"
|
||||
name = "swc_stylis"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
|
@ -2,6 +2,7 @@
|
||||
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
description = "Webpack AST optimizer"
|
||||
edition = "2021"
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
license = "Apache-2.0"
|
||||
name = "swc_webpack_ast"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
|
16
scripts/cargo/print-pulblished-files.sh
Executable file
16
scripts/cargo/print-pulblished-files.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
crates=$(\
|
||||
cargo metadata --format-version 1 \
|
||||
| jq -r '.workspace_members[]' \
|
||||
| cut -f1 -d" " \
|
||||
| sort \
|
||||
)
|
||||
|
||||
for crate in $crates
|
||||
do
|
||||
cargo publish -p $crate --dry-run --no-verify -v || true
|
||||
done
|
Loading…
Reference in New Issue
Block a user