@intuned/runtime-dev 1.3.1-api-token.4 → 1.3.1-api-token.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@
2
2
 
3
3
  var _dotenv = _interopRequireDefault(require("dotenv"));
4
4
  var _constants = require("../../common/constants");
5
+ var _backend = require("./helpers/backend");
5
6
  var _commands = require("./commands");
6
7
  var _helpers = require("./helpers");
7
8
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -10,6 +11,9 @@ _dotenv.default.config({
10
11
  });
11
12
  process.env[_constants.CLI_ENV_VAR_KEY] = "true";
12
13
  process.env.RUN_ENVIRONMENT = "authoring";
14
+ if (!process.env.FUNCTIONS_DOMAIN) {
15
+ process.env.FUNCTIONS_DOMAIN = (0, _backend.getBaseUrl)();
16
+ }
13
17
  _commands.program.configureHelp({
14
18
  sortSubcommands: true
15
19
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.3.1-api-token.4",
3
+ "version": "1.3.1-api-token.5",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",