@tywalk/pcf-helper-run 1.2.7 → 1.2.10

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
@@ -263,14 +263,14 @@ addCommonOptions(commander_1.program.command('session'))
263
263
  .option('-s, --intercept-stylesheet <stylesheet>', 'remote stylesheet to intercept')
264
264
  .option('-b, --local-bundle <path>', 'local bundle path')
265
265
  .option('-c, --local-css <path>', 'local CSS path')
266
- .option('-f, --config <path>', 'config file path', 'dev-config.json')
266
+ .option('-f, --config <path>', 'config file path', 'session.config.json')
267
267
  .action((options) => {
268
268
  const { logger, tick } = setupExecutionContext(options);
269
269
  let result = 0;
270
270
  try {
271
271
  logger.log('[PCF Helper Run] ' + (0, performanceUtil_1.formatTime)(new Date()) + ' session started.\n');
272
272
  if (!options.url) {
273
- const config = tasks.loadConfig(options.config || 'dev-config.json');
273
+ const config = tasks.loadConfig(options.config || 'session.config.json');
274
274
  options.url = config.remoteEnvironmentUrl;
275
275
  options.script = config.remoteScriptToIntercept;
276
276
  options.stylesheet = config.remoteStylesheetToIntercept;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tywalk/pcf-helper-run",
3
- "version": "1.2.7",
3
+ "version": "1.2.10",
4
4
  "description": "A simple command-line utility for building and publishing PCF controls to Dataverse.",
5
5
  "types": "./types/",
6
6
  "files": [
@@ -14,7 +14,8 @@
14
14
  "test": "jest",
15
15
  "build": "tsc",
16
16
  "upgrade": "npm version patch --no-git-tag-version",
17
- "ready": "npm run upgrade && npm run build && npm publish --access public"
17
+ "ready": "npm run upgrade && npm run build",
18
+ "update": "npm run ready && npm publish --access public"
18
19
  },
19
20
  "keywords": [
20
21
  "pcf"
@@ -25,7 +26,7 @@
25
26
  },
26
27
  "dependencies": {
27
28
  "@tywalk/color-logger": "^1.0.3",
28
- "@tywalk/pcf-helper": "^1.5.4"
29
+ "@tywalk/pcf-helper": "^1.5.6"
29
30
  },
30
31
  "devDependencies": {
31
32
  "@types/jest": "^29.5.14",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tywalk/pcf-helper-run",
3
- "version": "1.2.7",
3
+ "version": "1.2.10",
4
4
  "description": "A simple command-line utility for building and publishing PCF controls to Dataverse.",
5
5
  "types": "./types/",
6
6
  "files": [
@@ -14,7 +14,8 @@
14
14
  "test": "jest",
15
15
  "build": "tsc",
16
16
  "upgrade": "npm version patch --no-git-tag-version",
17
- "ready": "npm run upgrade && npm run build && npm publish --access public"
17
+ "ready": "npm run upgrade && npm run build",
18
+ "update": "npm run ready && npm publish --access public"
18
19
  },
19
20
  "keywords": [
20
21
  "pcf"
@@ -25,7 +26,7 @@
25
26
  },
26
27
  "dependencies": {
27
28
  "@tywalk/color-logger": "^1.0.3",
28
- "@tywalk/pcf-helper": "^1.5.4"
29
+ "@tywalk/pcf-helper": "^1.5.6"
29
30
  },
30
31
  "devDependencies": {
31
32
  "@types/jest": "^29.5.14",