Skip to content

Releases: antoine-coulon/skott

[email protected]

15 Mar 09:45
Compare
Choose a tag to compare

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]

13 Mar 08:40
e0e3ba1
Compare
Choose a tag to compare

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.

[email protected]

12 Mar 15:36
Compare
Choose a tag to compare

Patch Changes

  • #150 04fe22d Thanks @antoine-coulon! - This patch fixes the eager evaluation of cwd default value from the config preventing process.chdir
    to work as expected when used before invoking skott's API.

    process.chdir("/tmp/somewhere");
    
    // skott is now being executed at the root of "/tmp/somewhere"
    
    const instance = await skott();

    Note: regarding the generated graph relationships, this is pretty much equivalent as doing skott({ cwd: "/tmp/somewhere" }), even though
    node paths will be relative and won't have the same values as the later still executes skott from the script location
    and not from /tmp/somewhere. In other words, using cwd parameter will have node paths being relative to skott's script location, while using
    process.chdir will make skott execute the script from the provided directory.

    You can find a real example of the difference between node paths using process.chdir and cwd: #149 (comment)
    by @mattkindy.

[email protected]

07 Mar 15:42
295d4b8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.32.0...0.33.0

[email protected]

31 Jan 08:47
b713034
Compare
Choose a tag to compare

Patch Changes

  • #138 4a3bd27 Thanks @pedrolamas! - Fixes high severity vulnerability in lodash.* dependency by replacing it with lodash-es

[email protected]

28 Jan 12:10
Compare
Choose a tag to compare

Minor Changes

  • #131 777998c Thanks @antoine-coulon! - Add watch mode through --watch cli option that can be used with all display modes:

    • using with --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.

    • using with --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).

    • using with --displayMode=raw

    Changes will clear the terminal and output the new information depending on selected options (--showCircularDependencies, etc). As usual with raw mode, the graph is not rendered.

    Few breaking changes:

    • using --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 the webapp.

    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 using raw, file-tree or graph display modes.

Patch Changes

[email protected]

21 Dec 07:20
Compare
Choose a tag to compare

Patch Changes

[email protected]

06 Oct 07:33
f072e3d
Compare
Choose a tag to compare

Patch Changes

  • #121 06674a0 Thanks @robertoyoc! - Resolve index.jsx and index.tsx when they are being imported from . and ./ declarations.

[email protected]

03 Oct 20:31
Compare
Choose a tag to compare

Patch Changes

[email protected]

03 Oct 12:10
65a4ced
Compare
Choose a tag to compare

Patch Changes