simple-scaffold 1.9.0 → 2.0.0-pre.2

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/types.js CHANGED
@@ -1,32 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LogLevel = void 0;
4
- /**
5
- * The amount of information to log when generating scaffold.
6
- * When not `None`, the selected level will be the lowest level included.
7
- *
8
- * For example, level `Info` (2) will include `Info`, `Warning` and `Error`, but not `Debug`; and `Warning` will only
9
- * show `Warning` and `Error`.
10
- *
11
- * @default `2 (info)`
12
- *
13
- * @category Logging
14
- */
15
- var LogLevel;
16
- (function (LogLevel) {
4
+ exports.LogLevel = {
17
5
  /** Silent output */
18
- LogLevel[LogLevel["None"] = 0] = "None";
6
+ none: "none",
19
7
  /** Debugging information. Very verbose and only recommended for troubleshooting. */
20
- LogLevel[LogLevel["Debug"] = 1] = "Debug";
8
+ debug: "debug",
21
9
  /**
22
10
  * The regular level of logging. Major actions are logged to show the scaffold progress.
23
11
  *
24
12
  * @default
25
13
  */
26
- LogLevel[LogLevel["Info"] = 2] = "Info";
14
+ info: "info",
27
15
  /** Warnings such as when file fails to replace token values properly in template. */
28
- LogLevel[LogLevel["Warning"] = 3] = "Warning";
16
+ warning: "warning",
29
17
  /** Errors, such as missing files, bad replacement token syntax, or un-writable directories. */
30
- LogLevel[LogLevel["Error"] = 4] = "Error";
31
- })(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
18
+ error: "error",
19
+ };
32
20
  //# sourceMappingURL=types.js.map
package/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAyQA;;;;;;;;;;GAUG;AACH,IAAY,QAeX;AAfD,WAAY,QAAQ;IAClB,oBAAoB;IACpB,uCAAQ,CAAA;IACR,oFAAoF;IACpF,yCAAS,CAAA;IACT;;;;OAIG;IACH,uCAAQ,CAAA;IACR,qFAAqF;IACrF,6CAAW,CAAA;IACX,+FAA+F;IAC/F,yCAAS,CAAA;AACX,CAAC,EAfW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAenB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAmQa,QAAA,QAAQ,GAAG;IACtB,oBAAoB;IACpB,IAAI,EAAE,MAAM;IACZ,oFAAoF;IACpF,KAAK,EAAE,OAAO;IACd;;;;OAIG;IACH,IAAI,EAAE,MAAM;IACZ,qFAAqF;IACrF,OAAO,EAAE,SAAS;IAClB,+FAA+F;IAC/F,KAAK,EAAE,OAAO;CACN,CAAA"}
package/utils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;AAEA,SAAgB,SAAS,CAAC,GAAiC;IACzD,IAAI,GAAG;QAAE,MAAM,GAAG,CAAA;AACpB,CAAC;AAFD,8BAEC;AAED,SAAgB,OAAO,CAAW,QAAwB,EAAE,GAAM;IAChE,OAAO,OAAO,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAE,QAA4B,CAAC,GAAG,CAAC,CAAC,CAAC,CAAE,QAAc,CAAA;AAC9F,CAAC;AAFD,0BAEC;AAED,SAAgB,gBAAgB,CAAW,KAAqB;IAC9D,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;QAC/B,OAAO,KAAK,CAAA;KACb;IAED,OAAO,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAA;AACrB,CAAC;AAND,4CAMC"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;AAEA,SAAgB,SAAS,CAAC,GAAiC;IACzD,IAAI,GAAG;QAAE,MAAM,GAAG,CAAA;AACpB,CAAC;AAFD,8BAEC;AAED,SAAgB,OAAO,CAAW,QAAwB,EAAE,GAAM;IAChE,OAAO,OAAO,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAE,QAA4B,CAAC,GAAG,CAAC,CAAC,CAAC,CAAE,QAAc,CAAA;AAC9F,CAAC;AAFD,0BAEC;AAED,SAAgB,gBAAgB,CAAW,KAAqB;IAC9D,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE,CAAC;QAChC,OAAO,KAAK,CAAA;IACd,CAAC;IAED,OAAO,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAA;AACrB,CAAC;AAND,4CAMC"}