Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
skott-webapp@2.1.0
Minor Changes
777998c
Thanks @antoine-coulon! - Add hot application refresh through Server-Sent Events when watch mode is enabled on the backendskott@0.32.0
Minor Changes
#131
777998c
Thanks @antoine-coulon! - Add watch mode through--watch
cli option that can be used with all display modes:--displayMode=webapp
(default)Changes will fully re-render the graph with its new content. Changes are not atomic yet, meaning that even if only one file is changed, the graph is being re-rendered anyway. Note that this might be improved in the future.
--displayMode=file-tree
or--displayMode=graph
Changes will clear the terminal and output the new computed graph with other information depending on selected options (
--showCircularDependencies
etc).--displayMode=raw
Changes will clear the terminal and output the new information depending on selected options (
--showCircularDependencies
, etc). As usual withraw
mode, the graph is not rendered.Few breaking changes:
--showCircularDependencies
and--showUnusedDependencies
together with--displayMode=webapp
will throw error. This is because these options were thought to be used in the context of cli output which is not very useful when using thewebapp
.Note that the web application has an option to show circular dependencies without the need for the
--showCircularDependencies
to be provided. The same for--showUnusedDependencies
will be done in the next versions, for now showing unused dependencies is only supported usingraw
,file-tree
orgraph
display modes.Patch Changes
777998c
]: