@platforma-sdk/bootstrap 2.1.0 → 2.1.1
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 +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +120 -120
- package/dist/index.mjs.map +1 -1
- package/dist/util.d.ts +4 -1
- package/dist/util.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/util.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { default as fs } from 'fs';
|
|
1
2
|
import { default as winston } from 'winston';
|
|
2
3
|
export declare function askYN(prompt: string): boolean;
|
|
3
4
|
export declare function assertNever(n: never): void;
|
|
4
5
|
export declare function createLogger(level?: string): winston.Logger;
|
|
5
6
|
export declare function randomStr(len: number): string;
|
|
6
7
|
export declare function resolveTilde(p: string): string;
|
|
7
|
-
export declare function ensureDir(p: string
|
|
8
|
+
export declare function ensureDir(p: string, options?: {
|
|
9
|
+
mode?: fs.Mode;
|
|
10
|
+
}): void;
|
|
8
11
|
export declare function getProcessName(pid: number): string;
|
|
9
12
|
//# sourceMappingURL=util.d.ts.map
|
package/dist/util.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,CAAC;AAIpB,OAAO,OAAO,MAAM,SAAS,CAAC;AAI9B,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAG7C;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,QAEnC;AAED,wBAAgB,YAAY,CAAC,KAAK,GAAE,MAAgB,GAAG,OAAO,CAAC,MAAM,CAyBpE;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAI7C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAK9C;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAC7C,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,CAAA;CACf,QASA;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAkBlD"}
|
package/package.json
CHANGED