You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be more aware of the workspace during clean (#7752)
* Be more aware of the workspace during clean
* Only clean current package
* fmt
* Return is_child from packages make
* Invert if
* Introduce PackageMap to make things a bit more clear.
* Use workspace extension if there is a link, otherwise root_package.
* Add a TODO that we need to clean up some confusing bits.
* Refactor using project_context
* A rescript.json with an unrelated parent can still be a monorepo.
* Remove all from format command.
* get_rescript_legacy inside rescript repository.
* sigh
* StrippedVerbatimPath in before local dep check
* Use proper --version
* Add playground to monorepo
* Copilot nitpicks
* Add test for only formatting the current project.
* Add clean single project test
* Add test for compiler-args
* Get root config from project_context
* Return Result for get_root_package
* Make a conscious split between dev and non-dev local dependencies for MonorepoRoot.
* Add dev project to root of test-repo
* Try and add test for format --dev
* Respect --dev for packages::make in format
* Improve success message
* Add test to ensure we clean dev-dependency with --dev.
* Pass in actual rescript.json
* Ensure dependencies are cleaned as well.
* restore instead of clean
* Address code review remarks of clean.rs
* Store path to config in Config struct
* Format
* Add with-ppx example
* Ensure parse arguments of source package are used.
* Add compiled file from with-ppx
* Update snapshot because new test project.
* Update suffix test.
* One more file to format
* Moar code review suggestions.
* Print if a package is local after checking.
* Remove debug log
* Windows fix of the day
* Wait a bit more on watch file for Windows CI
* Add changelog entry
* Extract common data from enum.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,25 @@
14
14
15
15
#### :boom: Breaking Change
16
16
17
+
-`rescript format` no longer accepts `--all`. All (non-dev) files of the current rescript.json are now formatted by default. https://github.com/rescript-lang/rescript/pull/7752
- Fix issue with ast conversion (for ppx use) on functions with attributes on first argument. https://github.com/rescript-lang/rescript/pull/7761
25
28
26
29
#### :memo: Documentation
27
30
28
31
#### :nail_care: Polish
29
32
33
+
-`rescript format` now has a `--dev` flag that works similar to `rescript clean`. https://github.com/rescript-lang/rescript/pull/7752
34
+
-`rescript clean` now will clean an individual project (see [#7707](https://github.com/rescript-lang/rescript/issues/7707)). https://github.com/rescript-lang/rescript/pull/7752
35
+
30
36
#### :house: Internal
31
37
32
38
- AST: Use jsx_tag_name instead of Longindent.t to store jsx tag name. https://github.com/rescript-lang/rescript/pull/7760
0 commit comments