Skip to content

Commit

Permalink
deps: source map to show errors in source line
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorniaky committed Sep 4, 2023
1 parent 376f7e4 commit 81c4878
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"devDependencies": {
"@types/node": "^20.5.9",
"@types/source-map-support": "^0.5.7",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"dotenv": "^16.3.1",
Expand Down
1 change: 1 addition & 0 deletions packages/api-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"access": "public"
},
"dependencies": {
"source-map-support": "^0.5.21",
"tslib": "^2.6.2"
}
}
2 changes: 2 additions & 0 deletions packages/api-types/v2.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
import "source-map-support/register";

export * from "./payload/v2";
export * from "./rest/v2";
1 change: 1 addition & 0 deletions packages/discloud.app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@discloudapp/api-types": "^0.4.0",
"@discloudapp/rest": "^0.7.3",
"@discloudapp/util": "^0.4.7",
"source-map-support": "^0.5.21",
"tslib": "^2.6.2",
"undici": "^5.23.0",
"zod": "^3.22.2"
Expand Down
4 changes: 3 additions & 1 deletion packages/discloud.app/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "source-map-support/register";

import DiscloudApp from "./discloudApp/DiscloudApp";
import AppAptManager from "./managers/AppAptManager";
import AppManager from "./managers/AppManager";
Expand Down Expand Up @@ -42,8 +44,8 @@ export {
DataManager,
DiscloudApp,
TeamApp,
TeamAppStatus,
TeamAppManager,
TeamAppStatus,
User,
};

Expand Down
1 change: 1 addition & 0 deletions packages/rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dependencies": {
"@discloudapp/api-types": "^0.4.0",
"@discloudapp/util": "^0.4.7",
"source-map-support": "^0.5.21",
"tslib": "^2.6.2",
"undici": "^5.23.0"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/rest/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "source-map-support/register";

export * from "./@enum";
export * from "./@types";
export * from "./REST";
Expand Down
1 change: 1 addition & 0 deletions packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"license": "Apache-2.0",
"dependencies": {
"glob": "^10.3.4",
"source-map-support": "^0.5.21",
"tslib": "^2.6.2",
"undici": "^5.23.0"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/util/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "source-map-support/register";

export * from "./BitField";
export * from "./DiscloudConfig";
export * from "./FileResolver";
Expand Down
22 changes: 21 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.1.tgz#0480eeb7221eb9bc398ad7432c9d7e14b1a5a367"
integrity sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==

"@types/source-map-support@^0.5.7":
version "0.5.7"
resolved "https://registry.yarnpkg.com/@types/source-map-support/-/source-map-support-0.5.7.tgz#68b3cc568cc4cc4d141d58edfca164c1354044b9"
integrity sha512-rJqBfLel8jPuL5MwXxMH2Cdb6D80Snu3YJxDE+VJAmtT04l7j3OA7h+FYXlYDys0WeBVH/MPbExj3B8NCaDw9g==
dependencies:
source-map "^0.6.0"

"@typescript-eslint/eslint-plugin@^6.4.1":
version "6.5.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.5.0.tgz#5cee33edf0d45d5ec773e3b3111206b098ac8599"
Expand Down Expand Up @@ -350,6 +357,11 @@ braces@^3.0.2:
dependencies:
fill-range "^7.0.1"

buffer-from@^1.0.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==

busboy@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893"
Expand Down Expand Up @@ -1114,7 +1126,15 @@ slash@^3.0.0:
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==

source-map@^0.6.1:
source-map-support@^0.5.21:
version "0.5.21"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==
dependencies:
buffer-from "^1.0.0"
source-map "^0.6.0"

source-map@^0.6.0, source-map@^0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
Expand Down

0 comments on commit 81c4878

Please sign in to comment.