Skip to content

Commit

Permalink
fix: tsc-alias to resolve full paths
Browse files Browse the repository at this point in the history
  • Loading branch information
smessie committed Oct 31, 2024
1 parent bac0799 commit c5ac072
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "File util functions to be used within the RDF-Connect ecosystem",
"type": "module",
"scripts": {
"build": "tsc",
"build": "tsc && tsc-alias",
"prepublishOnly": "tsc",
"test": "bun test",
"watch": "tsc -w"
Expand Down Expand Up @@ -41,6 +41,7 @@
"@types/adm-zip": "^0.5.5",
"@types/node": "^20.14.2",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"typescript": "^5.4.5"
}
}
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"esm": true,
"experimentalSpecifierResolution": "node"
},
"tsc-alias": {
"resolveFullPaths": true,
"verbose": false
},
"include": ["src/**/*"],
"exclude": ["node_modules/**/*"]
}

0 comments on commit c5ac072

Please sign in to comment.