Skip to content
Permalink
Browse files

feat(generic): add source-map-support for better stacktraces

  • Loading branch information
malept committed Apr 18, 2018
1 parent 61b3632 commit 77077ce236cfd3a11436f7e3790dd5a1c8ced620
Showing with 139 additions and 2 deletions.
  1. +3 −2 .babelrc
  2. +2 −0 package.json
  3. +1 −0 packages/api/core/package.json
  4. +133 −0 yarn.lock
@@ -2,7 +2,8 @@
"sourceMaps": "inline",
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
"@babel/plugin-proposal-object-rest-spread",
"source-map-support"
],
"presets": [
[
@@ -15,4 +16,4 @@
],
"@babel/typescript"
]
}
}
@@ -67,6 +67,7 @@
"resolve-package": "^1.0.1",
"s3": "^4.4.0",
"semver": "^5.3.0",
"source-map-support": "^0.5.4",
"sudo-prompt": "^8.0.0",
"username": "^3.0.0",
"yarn-or-npm": "^2.0.2",
@@ -106,6 +107,7 @@
"@types/sinon": "^4.3.1",
"asar": "^0.14.0",
"babel-eslint": "^7.0.0",
"babel-plugin-source-map-support": "^2.0.1",
"chai": "^4.0.0",
"chai-as-promised": "^7.0.0",
"commitizen": "^2.8.6",
@@ -57,6 +57,7 @@
"pify": "^3.0.0",
"resolve-package": "^1.0.1",
"semver": "^5.3.0",
"source-map-support": "^0.5.4",
"sudo-prompt": "^8.0.0",
"username": "^3.0.0",
"yarn-or-npm": "^2.0.2"
133 yarn.lock
@@ -23,6 +23,32 @@
dependencies:
"@babel/highlight" "7.0.0-beta.44"

"@babel/code-frame@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.46.tgz#e0d002100805daab1461c0fcb32a07e304f3a4f4"
dependencies:
"@babel/highlight" "7.0.0-beta.46"

"@babel/core@^7.0.0-beta.40":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.0.0-beta.46.tgz#dbe2189bcdef9a2c84becb1ec624878d31a95689"
dependencies:
"@babel/code-frame" "7.0.0-beta.46"
"@babel/generator" "7.0.0-beta.46"
"@babel/helpers" "7.0.0-beta.46"
"@babel/template" "7.0.0-beta.46"
"@babel/traverse" "7.0.0-beta.46"
"@babel/types" "7.0.0-beta.46"
babylon "7.0.0-beta.46"
convert-source-map "^1.1.0"
debug "^3.1.0"
json5 "^0.5.0"
lodash "^4.2.0"
micromatch "^2.3.11"
resolve "^1.3.2"
semver "^5.4.1"
source-map "^0.5.0"

"@babel/core@^7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.0.0-beta.44.tgz#90bb9e897427e7ebec2a1b857f458ff74ca28057"
@@ -53,6 +79,16 @@
source-map "^0.5.0"
trim-right "^1.0.1"

"@babel/generator@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.46.tgz#6f57159bcc28bf8c3ed6b549789355cebfa3faa7"
dependencies:
"@babel/types" "7.0.0-beta.46"
jsesc "^2.5.1"
lodash "^4.2.0"
source-map "^0.5.0"
trim-right "^1.0.1"

"@babel/helper-annotate-as-pure@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.44.tgz#8ecf33cc5235295afcc7f160a63cab17ce7776f4"
@@ -97,12 +133,26 @@
"@babel/template" "7.0.0-beta.44"
"@babel/types" "7.0.0-beta.44"

"@babel/helper-function-name@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.46.tgz#d0c4eed2e220e180f91b02e008dcc4594afe1d39"
dependencies:
"@babel/helper-get-function-arity" "7.0.0-beta.46"
"@babel/template" "7.0.0-beta.46"
"@babel/types" "7.0.0-beta.46"

"@babel/helper-get-function-arity@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz#d03ca6dd2b9f7b0b1e6b32c56c72836140db3a15"
dependencies:
"@babel/types" "7.0.0-beta.44"

"@babel/helper-get-function-arity@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.46.tgz#7161bfe449b4183dbe25d1fe5579338b7429e5f2"
dependencies:
"@babel/types" "7.0.0-beta.46"

"@babel/helper-hoist-variables@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.44.tgz#a1bbb2c25f9b4058e041ecc1556f096eacdbd142"
@@ -116,6 +166,13 @@
"@babel/types" "7.0.0-beta.44"
lodash "^4.2.0"

"@babel/helper-module-imports@^7.0.0-beta.40":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.46.tgz#8bd2e1fcfae883d28149a350e31ce606aa24eda6"
dependencies:
"@babel/types" "7.0.0-beta.46"
lodash "^4.2.0"

"@babel/helper-module-transforms@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.44.tgz#185dc17b37c4b9cc3daee0f0f44e74f000e21bb7"
@@ -176,6 +233,12 @@
dependencies:
"@babel/types" "7.0.0-beta.44"

"@babel/helper-split-export-declaration@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.46.tgz#6903893c72bb2a3d54ed20b5ff2aa8a28e8d2ea1"
dependencies:
"@babel/types" "7.0.0-beta.46"

"@babel/helper-wrap-function@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.44.tgz#d128718a543f313264dff7cb386957e3e465c95d"
@@ -193,6 +256,14 @@
"@babel/traverse" "7.0.0-beta.44"
"@babel/types" "7.0.0-beta.44"

"@babel/helpers@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.0.0-beta.46.tgz#b5f988dfd77f4f713792cf7818b687050736ee52"
dependencies:
"@babel/template" "7.0.0-beta.46"
"@babel/traverse" "7.0.0-beta.46"
"@babel/types" "7.0.0-beta.46"

"@babel/highlight@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.44.tgz#18c94ce543916a80553edcdcf681890b200747d5"
@@ -201,6 +272,14 @@
esutils "^2.0.2"
js-tokens "^3.0.0"

"@babel/highlight@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.46.tgz#c553c51e65f572bdedd6eff66fc0bb563016645e"
dependencies:
chalk "^2.0.0"
esutils "^2.0.2"
js-tokens "^3.0.0"

"@babel/plugin-proposal-async-generator-functions@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.44.tgz#b08d90cd0f6a82e11cb5ae64eee4fba7d0d7999e"
@@ -536,6 +615,15 @@
babylon "7.0.0-beta.44"
lodash "^4.2.0"

"@babel/template@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.46.tgz#8b23982411d5b5dbfa479437bfe414adb1411bb9"
dependencies:
"@babel/code-frame" "7.0.0-beta.46"
"@babel/types" "7.0.0-beta.46"
babylon "7.0.0-beta.46"
lodash "^4.2.0"

"@babel/traverse@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.44.tgz#a970a2c45477ad18017e2e465a0606feee0d2966"
@@ -551,6 +639,21 @@
invariant "^2.2.0"
lodash "^4.2.0"

"@babel/traverse@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.46.tgz#29a0c0395b3642f0297e6f8e475bde89f9343755"
dependencies:
"@babel/code-frame" "7.0.0-beta.46"
"@babel/generator" "7.0.0-beta.46"
"@babel/helper-function-name" "7.0.0-beta.46"
"@babel/helper-split-export-declaration" "7.0.0-beta.46"
"@babel/types" "7.0.0-beta.46"
babylon "7.0.0-beta.46"
debug "^3.1.0"
globals "^11.1.0"
invariant "^2.2.0"
lodash "^4.2.0"

"@babel/types@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.44.tgz#6b1b164591f77dec0a0342aca995f2d046b3a757"
@@ -559,6 +662,14 @@
lodash "^4.2.0"
to-fast-properties "^2.0.0"

"@babel/types@7.0.0-beta.46":
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.46.tgz#eb84399a699af9fcb244440cce78e1acbeb40e0c"
dependencies:
esutils "^2.0.2"
lodash "^4.2.0"
to-fast-properties "^2.0.0"

"@octokit/rest@^15.2.6":
version "15.2.6"
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-15.2.6.tgz#16226f58fbf0ba88f631848fb622dfe0ad410c0c"
@@ -1278,6 +1389,13 @@ babel-messages@^6.23.0, babel-messages@^6.8.0:
dependencies:
babel-runtime "^6.22.0"

babel-plugin-source-map-support@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/babel-plugin-source-map-support/-/babel-plugin-source-map-support-2.0.1.tgz#ccd822535ab32cf73c0a50596ed87e534ffdf410"
dependencies:
"@babel/core" "^7.0.0-beta.40"
"@babel/helper-module-imports" "^7.0.0-beta.40"

babel-runtime@^6.22.0, babel-runtime@^6.26.0, babel-runtime@^6.9.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
@@ -1326,6 +1444,10 @@ babylon@7.0.0-beta.44:
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d"

babylon@7.0.0-beta.46:
version "7.0.0-beta.46"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.46.tgz#b6ddaba81bbb130313932757ff9c195d527088b6"

balanced-match@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
@@ -1493,6 +1615,10 @@ buffer-from@^0.1.1:
dependencies:
is-array-buffer-x "^1.0.13"

buffer-from@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.0.0.tgz#4cb8832d23612589b0406e9e2956c17f06fdf531"

buffer@4.9.1:
version "4.9.1"
resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298"
@@ -6506,6 +6632,13 @@ source-map-support@^0.5.3:
dependencies:
source-map "^0.6.0"

source-map-support@^0.5.4:
version "0.5.5"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.5.tgz#0d4af9e00493e855402e8ec36ebed2d266fceb90"
dependencies:
buffer-from "^1.0.0"
source-map "^0.6.0"

source-map-url@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"

0 comments on commit 77077ce

Please sign in to comment.
You can’t perform that action at this time.