@tywalk/pcf-helper 1.5.2 → 1.5.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tywalk/pcf-helper",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Command line helper for building and publishing PCF controls to Dataverse.",
5
5
  "main": "dist/index.js",
6
6
  "types": "./types/",
@@ -13,9 +13,18 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
13
13
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
+ var __importDefault = (this && this.__importDefault) || function (mod) {
17
+ return (mod && mod.__esModule) ? mod : { "default": mod };
18
+ };
16
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.setLogLevel = void 0;
21
+ const color_logger_1 = __importDefault(require("@tywalk/color-logger"));
17
22
  __exportStar(require("./build-pcf"), exports);
18
23
  __exportStar(require("./import-pcf"), exports);
19
24
  __exportStar(require("./init-pcf"), exports);
20
25
  __exportStar(require("./upgrade-pcf"), exports);
21
26
  __exportStar(require("./session-pcf"), exports);
27
+ const setLogLevel = (level) => {
28
+ color_logger_1.default.setLevel(level);
29
+ };
30
+ exports.setLogLevel = setLogLevel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tywalk/pcf-helper",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Command line helper for building and publishing PCF controls to Dataverse.",
5
5
  "main": "dist/index.js",
6
6
  "types": "./types/",
@@ -3,3 +3,4 @@ export * from './import-pcf';
3
3
  export * from './init-pcf';
4
4
  export * from './upgrade-pcf';
5
5
  export * from './session-pcf';
6
+ export declare const setLogLevel: (level: "debug" | "info" | "warn" | "error") => void;