mirror of https://github.com/embarklabs/embark.git
bugfix(@embark/embark-utils): fix import of dockerHostSwap
bugfix(@embark/embark-utils): fix import of dockerHostSwap bugfix(@embark/embark-utils): fix ts npm call add ts declartion for embark-utils add ts declartion for embark-utils
This commit is contained in:
parent
1107138cf5
commit
9b493ae7e3
|
@ -0,0 +1 @@
|
||||||
|
declare module "embark-utils";
|
|
@ -31,22 +31,22 @@
|
||||||
"clean": "npm run reset",
|
"clean": "npm run reset",
|
||||||
"lint": "npm-run-all lint:*",
|
"lint": "npm-run-all lint:*",
|
||||||
"lint:js": "eslint src/",
|
"lint:js": "eslint src/",
|
||||||
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
|
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
|
||||||
"package": "npm pack",
|
"package": "npm pack",
|
||||||
"// qa": "npm-run-all lint typecheck build package",
|
"qa": "npm-run-all lint typecheck build package",
|
||||||
"qa": "npm-run-all lint build package",
|
|
||||||
"reset": "npx rimraf dist embark-*.tgz package",
|
"reset": "npx rimraf dist embark-*.tgz package",
|
||||||
"start": "npm run watch",
|
"start": "npm run watch",
|
||||||
"// typecheck": "tsc",
|
"typecheck": "tsc",
|
||||||
"watch": "run-p watch:*",
|
"watch": "run-p watch:*",
|
||||||
"watch:build": "npm run build -- --verbose --watch",
|
"watch:build": "npm run build -- --verbose --watch",
|
||||||
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
|
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": "../../.eslintrc.json"
|
"extends": "../../.eslintrc.json"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime-corejs2": "7.3.1"
|
"@babel/runtime-corejs2": "7.3.1",
|
||||||
|
"follow-redirects": "1.5.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "7.2.3",
|
"@babel/cli": "7.2.3",
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {Embark} from "embark";
|
import {Embark} from "embark";
|
||||||
import {__} from "i18n";
|
import {__} from "i18n";
|
||||||
import {dockerHostSwap} from "../../utils/host.js";
|
|
||||||
import {findNextPort} from "../../utils/network";
|
import {findNextPort} from "../../utils/network";
|
||||||
import Server from "./server";
|
import Server from "./server";
|
||||||
|
|
||||||
const utils = require("../../utils/utils.js");
|
const utils = require("../../utils/utils.js");
|
||||||
|
import {dockerHostSwap} from "embark-utils";
|
||||||
|
|
||||||
const DEFAULT_PORT = 55555;
|
const DEFAULT_PORT = 55555;
|
||||||
const DEFAULT_HOSTNAME = "localhost";
|
const DEFAULT_HOSTNAME = "localhost";
|
||||||
|
|
Loading…
Reference in New Issue