Files
oxc/oxc_release.toml
T
leaysgur dffa4b329f feat(formatter_css): implement oxc_formatter_css (#23320)
- Implement `oxc_formatter_css` crate
- Use `raffia` crate
  - https://github.com/g-plane/raffia
  - Supports CSS, LESS and SCSS
- Prettier uses `postcss` for parser
  - https://github.com/prettier/prettier/blob/1c6ba5539141552e0e8e22d401ea620d8fdff468/package.json#L100-L105

Since design of `postcss`, this parser is very lenient with syntax.
Because of this, the AST is also less detailed, so formatting processes often rely on text-based.

On the other hand, `raffia` is relatively strict, so it cannot parse some postcss plugin syntax.

While this part clearly creates a difference from Prettier, we have judged that it is not an issue since it still supports major plugins syntax and aligns with current trends.
2026-06-29 03:15:23 +00:00

41 lines
1.0 KiB
TOML

# Configuration file for [cargo release oxc](https://github.com/oxc-project/cargo-release-oxc)
# Release `--name crates`
[[releases]]
name = "crates"
root_crate = "oxc"
versioned_files = [
"Cargo.toml",
"napi/parser/package.json",
"napi/transform/package.json",
"napi/minify/package.json",
"npm/oxc-types/package.json",
"npm/runtime/package.json",
]
[[releases]]
name = "oxlint"
scopes_for_breaking_change = ["lint"]
versioned_files = [
"apps/oxlint/Cargo.toml",
"apps/oxlint/package.json",
"crates/oxc_linter/Cargo.toml",
"npm/oxlint/package.json",
"npm/oxlint-plugin-eslint/package.json",
"npm/oxlint-plugins/package.json",
]
[[releases]]
name = "oxfmt"
scopes_for_breaking_change = ["format"]
versioned_files = [
"apps/oxfmt/Cargo.toml",
"apps/oxfmt/package.json",
"crates/oxc_formatter_core/Cargo.toml",
"crates/oxc_formatter/Cargo.toml",
"crates/oxc_formatter_json/Cargo.toml",
"crates/oxc_formatter_graphql/Cargo.toml",
"crates/oxc_formatter_css/Cargo.toml",
"npm/oxfmt/package.json",
]