@tywalk/pcf-helper-run 1.2.13 → 1.2.14

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.
package/dist/index.js CHANGED
@@ -266,14 +266,14 @@ addCommonOptions(commander_1.program.command('session'))
266
266
  .option('-f, --config <path>', 'config file path', 'session.config.json')
267
267
  .option('-w, --watch', 'start pcf-scripts watch process')
268
268
  .action((options) => {
269
- var _a, _b, _c, _d, _e, _f;
269
+ var _a, _b, _c, _d, _e;
270
270
  const { logger, tick } = setupExecutionContext(options);
271
271
  let result = 0;
272
272
  try {
273
273
  logger.log('[PCF Helper Run] ' + (0, performanceUtil_1.formatTime)(new Date()) + ' session started.\n');
274
274
  if (!options.url || options.config) {
275
275
  const config = tasks.loadConfig(options.config || 'session.config.json');
276
- tasks.runSession((_a = config.remoteEnvironmentUrl) !== null && _a !== void 0 ? _a : options.url, (_b = config.remoteScriptToIntercept) !== null && _b !== void 0 ? _b : options.script, (_c = config.remoteStylesheetToIntercept) !== null && _c !== void 0 ? _c : options.stylesheet, (_d = config.localBundlePath) !== null && _d !== void 0 ? _d : options.bundle, (_e = config.localCssPath) !== null && _e !== void 0 ? _e : options.css, (_f = config.startWatch) !== null && _f !== void 0 ? _f : options.watch);
276
+ tasks.runSession((_a = config.remoteEnvironmentUrl) !== null && _a !== void 0 ? _a : options.url, (_b = config.remoteScriptToIntercept) !== null && _b !== void 0 ? _b : options.script, (_c = config.remoteStylesheetToIntercept) !== null && _c !== void 0 ? _c : options.stylesheet, (_d = config.localBundlePath) !== null && _d !== void 0 ? _d : options.bundle, (_e = config.localCssPath) !== null && _e !== void 0 ? _e : options.css, config.startWatch || options.watch);
277
277
  }
278
278
  else {
279
279
  tasks.runSession(options.url, options.script, options.stylesheet, options.bundle, options.css, options.watch);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tywalk/pcf-helper-run",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "description": "A simple command-line utility for building and publishing PCF controls to Dataverse.",
5
5
  "types": "./types/",
6
6
  "files": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tywalk/pcf-helper-run",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "A simple command-line utility for building and publishing PCF controls to Dataverse.",
5
5
  "types": "./types/",
6
6
  "files": [