Releases: antoine-coulon/skott
[email protected]
Patch Changes
- Updated dependencies [
93bc556
]:
[email protected]
Minor Changes
- #180
93bc556
Thanks @MengLinMaker! - Add option to highlight "Deep dependencies" when clicking on source files
[email protected]
Patch Changes
- #173
bc13f35
Thanks @aniravi24! - Avoid attempting to resolve TypeScript path aliases when notsconfig
is found in the working directory when not providing any entrypoint. This also allows the terminal to not be polluted when using CLI--verbose
mode withtsconfig
irrelevant resolution errors when not being in a TypeScript workspace.
[email protected]
Minor Changes
-
#164
c2b127c
Thanks @antoine-coulon! - Introduce Groups visualization feature based on granularity configuration that can either bemodule
orgroup
.When using
group
granularity, the application does not render irrelevant features for an higher-level granularity e.g. File Explorer and File Summary are disabled.The
granularity
of the web application rendering can't be modified through the CLI and is stillmodule
by default. The only way to alter that configuration is to use the rendering API introduced in 0.34.0 and to provide a meta configuration with the selected granularity.
[email protected]
Patch Changes
- #170
1716f5d
Thanks @antoine-coulon! - fix: remove typescript-estree warning by using latest typescript compatible version
[email protected]
Minor Changes
-
#162
b13d3c9
Thanks @antoine-coulon! - Allow unused files to be tracked and reported. From the CLI,--showUnusedFiles
can be used to report unused files. From the API, a newcollectUnusedFiles
method is accessible through the graph API:import skott from "skott"; const instance = await skott(); const unusedFiles = instance.useGraph().collectUnusedFiles();
This version also includes a fix for a bug related to
--trackBuiltinDependencies
and--trackThirdPartyDependencies
that were not propagated anymore (since 0.34.0) when being provided from the CLI. -
#161
4d19c97
Thanks @antoine-coulon! - Add support for multiple ignore patterns:- the CLI can now accumulate multiple ignore patterns such as
skott --ignorePattern=X --ignorePattern=Y
- the API configuration now takes a
ignorePatterns
property instead of a singleignorePattern
(breaking change).
- the CLI can now accumulate multiple ignore patterns such as
Patch Changes
-
#163
efb106a
Thanks @antoine-coulon! - Upgrade to Effect v3 -
#159
8cb4f1c
Thanks @antoine-coulon! - Fix skott performance timing in the CLI
[email protected]
Patch Changes
- #163
efb106a
Thanks @antoine-coulon! - Upgrade to Effect v3
[email protected]
Minor Changes
-
#157
0871131
Thanks @antoine-coulon! - Expose a new rendering module providing a programmatic access to terminal and web visualizations through skott's API.This is equivalent to use the CLI such as
skott --displayMode=webapp
but offers more flexibility for the runtime configuration which suffers from limitations when only using the CLI (some configurations are nearly impossible to represent using strings e.g. providing custom functions), this is why often authors tend to introduce runtime configuration files that CLIs can pick up automatically, thing that we want to avoid with skott, by unifying it's usage either coming from the API or CLI.Using the rendering module
import { defaultConfig } from "skott"; import { Web, Terminal } from "skott/rendering"; await Web.renderWebApplication( // skott runtime config defaultConfig, // application config { visualization: { granularity: "module", }, watch: true, port: 1111, onListen: (port) => console.log(`Listening on port ${port}`), open: true, onOpenError: () => console.log(`Error when opening the browser`), }, ); await Terminal.renderTerminalApplication(defaultConfig, { displayMode: "graph", exitCodeOnCircularDependencies: 1, showCircularDependencies: true, showUnusedDependencies: true, watch: true, });
[email protected]
Minor Changes
-
#145
2c00723
Thanks @antoine-coulon! - Add GitHub tarball fetcher to be able to pull public repositories as.zip
(used in skott's benchmark).Switch to an Effect-based API.
[email protected]
Patch Changes
- #152
9d43673
Thanks @antoine-coulon! - Remove @typescript-eslint/typescript-estree warning occurring when an incompatible version of TypeScript is found by ensuring fixed compatible versions from the manifest.