ts-prune icon indicating copy to clipboard operation
ts-prune copied to clipboard

Find unused exports in a typescript project. ๐Ÿ›€

Results 11 ts-prune issues
Sort by recently updated
recently updated
newest added

Using ts-prune in a pre-commit hook could be helpful to better audit dead code before the commit comes through. More about pre-commit if you don't know it: `https://pre-commit.com/#intro`. Besides the...

**Describe the Feature** Instead of running `ts-prune` and processing its `stdout` in shell script, I'd like to invoke its main function from my own typescript script. As a workaround, I...

bug
no-issue-activity

**Describe the bug** This is the start of the error stack you get for running `ts-prune` on a file that includes invalid module syntax: ```plaintext $ yarn ts-prune --project tsconfig.base.json...

bug
no-issue-activity

When lots of items are outputted in the cli, I find they can be difficult to separate out easily by eye. My initial thought was to separate out the following...

Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.4.3 to 19.0.3. Release notes Sourced from semantic-release's releases. v19.0.3 19.0.3 (2022-06-09) Bug Fixes log-repo: use the original form of the repo url to remove the need...

dependencies

Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.3 to 3.1.4. Release notes Sourced from semver-regex's releases. v3.1.4 Backport of ReDoS fix https://github.com/sindresorhus/semver-regex/commit/7712ba564d40da101cf2b2b33e6a910d9f2f57f4 Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=semver-regex&package-manager=npm_and_yarn&previous-version=3.1.3&new-version=3.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will...

dependencies

**Describe the bug** After installing via yarn, and restarting my terminal, `ts-prune` is not a command. ![image](https://user-images.githubusercontent.com/1400380/176786837-5fd607da-d685-4450-88fe-f59469ac1a11.png) **To Reproduce** Steps to reproduce the behavior: 1. Install on widnows 2. Try...

bug

I noticed that many of the results are false or missleading **To Reproduce** please check this repo https://github.com/a7madgamal/ts-prune-bug and run `npm run find-deadcode` Current result: ``` src/components/index.ts:4 - Button (used...

bug

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.10.3 to 7.23.2. Release notes Sourced from @โ€‹babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...

dependencies
no-pr-activity

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade cosmiconfig from 8.1.3 to 8.3.6. :information_source: Keep your dependencies up-to-date....