Skip to content

Commit 3b59e36

Browse files
committed
fix(tools): Adds missing gateway-api dependency, fixes cross-package import
Disables vscode auto-import on the workspace
1 parent b1dd624 commit 3b59e36

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
33
"javascript.validate.enable": false,
4+
"typescript.autoImportSuggestions.enabled": false,
5+
"typescript.suggest.autoImports": false,
6+
"javascript.suggest.autoImports": false,
47
"editor.renderWhitespace": "boundary",
58
"editor.renderControlCharacters": true,
69
"editor.trimAutoWhitespace": true,

packages/tools/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"dependencies": {
1717
"@babel/runtime": ">7.0.0-rc",
1818
"@babel/runtime-corejs2": ">7.0.0-rc",
19+
"@valos/gateway-api": "^0.34.0-prerelease.8",
1920
"base64-js": "^1.2.3",
2021
"fake-indexeddb": "^2.0.3",
2122
"immutable": "~3.7.4",

packages/tools/wrapError.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// import StackTrace from "stacktrace-js";
22

3+
const inBrowser = require("@valos/gateway-api/inBrowser").default;
4+
35
const dumpify = require("./dumpify").default;
46
const isSymbol = require("./isSymbol").default;
5-
const inBrowser = require("../gateway-api/inBrowser").default;
67

78
if (typeof window !== "undefined") window.beaumpify = dumpify;
89

0 commit comments

Comments
 (0)