Skip to content

Commit

Permalink
Enable declarationMap and sourceMap for TS (#643)
Browse files Browse the repository at this point in the history
* Enable declarationMap and sourceMap for TS

* Add changeset

* Also publish src folder
  • Loading branch information
Murderlon authored Aug 7, 2024
1 parent 45ebbe8 commit de28c6e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .changeset/swift-pumpkins-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@tus/file-store': minor
'@tus/gcs-store': minor
'@tus/s3-store': minor
'@tus/server': minor
'@tus/utils': minor
---

Publish source maps and declaration maps
3 changes: 2 additions & 1 deletion packages/file-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"files": [
"README.md",
"LICENSE",
"dist"
"dist",
"src"
],
"license": "MIT",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion packages/gcs-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"files": [
"README.md",
"LICENSE",
"dist"
"dist",
"src"
],
"scripts": {
"build": "tsc --build",
Expand Down
3 changes: 2 additions & 1 deletion packages/s3-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"files": [
"README.md",
"LICENSE",
"dist"
"dist",
"src"
],
"scripts": {
"build": "tsc --build",
Expand Down
3 changes: 2 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"files": [
"README.md",
"LICENSE",
"dist"
"dist",
"src"
],
"scripts": {
"build": "tsc --build",
Expand Down
3 changes: 2 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"files": [
"README.md",
"LICENSE",
"dist"
"dist",
"src"
],
"scripts": {
"build": "tsc --build",
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"target": "es2020",
"strict": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"useUnknownInCatchVariables": false
}
}

0 comments on commit de28c6e

Please sign in to comment.