Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up CHANGELOG and tweak README #295

Merged
merged 3 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
## [9.0.6] - 26 Jun 2023
## [10.0.0] - 9 Aug 2023

- Handled the case when import statement contains '.ts' and '.tsx' extensions in path
### Changed

- the setting excludePathsFromReport now supports regex - #293
- handle import statements that contain '.ts' or '.tsx' extensions - #281

## [9.0.5] - 24 Jun 2023

### Added

- Add --ignoreLocallyUsed flag which means that exports which are used in the same file they are defined in won't be reported as unused

## [9.0.4] - 12 Feb 2023
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ts-unused-exports path/to/tsconfig.json [file1.ts ...] [options]
| `allowUnusedEnums` | Allow unused `enum`s. | `--allowUnusedEnums` |
| `allowUnusedTypes` | Allow unused `type` or `interface`. | `--allowUnusedTypes` |
| `excludeDeclarationFiles` | Exclude `.d.ts` files when looking for unused exports. | `--excludeDeclarationFiles` |
| `excludePathsFromReport` | Exclude files from the _output_ that match the given path segments or regex. | `--excludePathsFromReport=math;utils` |
| `excludePathsFromReport` | Exclude files from the _output_ that match the given path segments or regex. The path segments or regexes are separated with a semi-colon. | `--excludePathsFromReport=math;utils` |
| `exitWithCount` | Set the process exit code to be the count of files that have unused exports. | `--exitWithCount` |
| `exitWithUnusedTypesCount` | Set the process exit code to be the total count of unused exported types. | `--exitWithUnusedTypesCount` |
| `findCompletelyUnusedFiles` | Find all *completely* unused files (where *all* exports are unused). | `--findCompletelyUnusedFiles` |
Expand Down
Empty file modified example/library-usage-via-TypeScript/build.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-unused-exports",
"version": "9.0.5",
"version": "10.0.0",
"description": "ts-unused-exports finds unused exported symbols in your Typescript project",
"main": "lib/app.js",
"repository": {
Expand Down