Skip to content

Tags: F3n67u/tools

Tags

v0.4.2

Toggle v0.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(vscode): update the format of the npm lockfile (rome#2347)

v0.4.0

Toggle v0.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feature(rome_cli): distribute the Rome CLI to npm (rome#2304)

* feature(rome_cli): distribute the Rome CLI to npm

* Apply suggestions from code review

Co-authored-by: Emanuele Stoppa <[email protected]>

* enable publishing to npm

* fix the wrapper script

* bump version numbers

Co-authored-by: Emanuele Stoppa <[email protected]>

v0.3.20220325

Toggle v0.3.20220325's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feature(rome_js_parser): JSX Error Recovery (rome#2302)

This PR adds diagnostics for invalid JSX syntax and improves the error recovery.

This PR further includes:

* Splitting fragment into `JsxFragment`, `JsxOpeningFragment` and `JsxClosingFragment`. This simplifies parsing and aligns the structure with `JsxElement`
* Change the optionality of `JsxExpressionChild`'s expression to optional ([spec](https://facebook.github.io/jsx/#prod-JSXChild)).
* Move JSX to primary expression according to the JSX spec.
* Only parse JSX in JSX (because of ambiguity)
* Disable parsing of Element type arguments in JSX to get improved error recovery in the case of `<Test <Nested>content</Nested></Test>`
* Don't parse `</` as `<`  followed by a Regular expression (only if there's no trivia in between) in JSX mode to have improved error recovery in case the `}` of an attribute or child is missing.

v0.1.20220324

Toggle v0.1.20220324's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(rome_cli): Emit error for unknown options (rome#2297)

## Summary

Pico's `free_from_...` operation returns any remaining argument, including arguments starting with `--` or `-` that indicate unknown options.

This PR checks if any of the remaining arguments is a potential unknown option and emits an error message for it.

This PR doesn't address that we shouldn't use panics for printing error messages.

## Test

```bash
rome format test.js --skip-error
thread 'main' panicked at 'unrecognized option "--skip-error". Type 'cli format --help' for more information.', crates/rome_cli/src/commands/format.rs:69:17

rome format test.js -- // OK
```

v0.1.20220316

Toggle v0.1.20220316's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore(website): restore philosophy.md section and update packages (ro…

…me#2232)

* chore(website): restore philosophy.md section and update packages

* chore: code review

v0.2.2022314

Toggle v0.2.2022314's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(rslint_parser): simple jsx parser (rome#2220)

* jsx, open/close and self closing elements

v

Toggle v's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(rome_formatter): improve the formatting of call expressions (rom…

…e#2178)

v10.0.7-nightly.2021.7.27

Toggle v10.0.7-nightly.2021.7.27's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(js-parser): enable declare TypeScript modifier on a class's field (

rome#1652)

v10.0.7-nightly.2021.7.17

Toggle v10.0.7-nightly.2021.7.17's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
perf(browsers-db): store data as JSON.parse string instead of json (r…

…ome#1644)

v10.0.7-nightly.2021.7.6

Toggle v10.0.7-nightly.2021.7.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(project): avoid validate manifest (rome#1615)