Skip to content

Commit

Permalink
Fix the example using as library via TypeScript (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrseanryan authored Feb 5, 2023
1 parent a14db2d commit 9dc185c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Fix for import from index file via a custom path - avoids false positives on index files - #266. Now tested with more cases such as import from "foo" OR import from "foo/index" with various file extensions supported.
- ts-unused-exports npm package: Updated the version in package-lock.json
- Fixed the example using ts-unused-exports as a library via TypeScript

## [9.0.2] - 15 Jan 2023

Expand Down
2 changes: 1 addition & 1 deletion example/library-usage-via-TypeScript/execute.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npm ci && npm build && npm start
npm ci && npm start && npm test
2 changes: 1 addition & 1 deletion example/library-usage-via-TypeScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"build": "tsc",
"start": "node ./dist/app.js",
"test": "npm ci && ./node_modules/bin/ts-unused-exports ./tsconfig.json"
"test": "npm ci && ./node_modules/ts-unused-exports/bin/ts-unused-exports ../simple/tsconfig.json"
},
"dependencies": {
"ts-unused-exports": "^9.0.1",
Expand Down

0 comments on commit 9dc185c

Please sign in to comment.