npm package diff
Package: @forge/cli-shared
Versions: 5.3.1-next.0-experimental-10722bc - 5.5.0-next.13
File: package/out/shared/directories.js
Index: package/out/shared/directories.js
===================================================================
--- package/out/shared/directories.js
+++ package/out/shared/directories.js
@@ -0,0 +1,10 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.tmpDir = exports.FORGE_DIRECTORY = void 0;
+const tmp_1 = require("tmp");
+exports.FORGE_DIRECTORY = '.forge';
+function tmpDir(prefix) {
+ prefix = prefix ? `forge-${prefix}` : 'forge';
+ return (0, tmp_1.dirSync)({ prefix, unsafeCleanup: true }).name;
+}
+exports.tmpDir = tmpDir;