@medusajs/medusa-oas-cli 0.2.5 → 0.2.6-next-20230516074534
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/utils/fs-utils.js
CHANGED
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.getTmpDirectory = exports.exists = exports.isFile = void 0;
|
|
7
7
|
const promises_1 = require("fs/promises");
|
|
8
8
|
const path_1 = __importDefault(require("path"));
|
|
9
|
+
const path_2 = require("path");
|
|
9
10
|
const os_1 = require("os");
|
|
10
11
|
async function isFile(filePath) {
|
|
11
12
|
try {
|
|
@@ -33,7 +34,7 @@ const getTmpDirectory = async () => {
|
|
|
33
34
|
* RUNNER_TEMP: GitHub action, the path to a temporary directory on the runner.
|
|
34
35
|
*/
|
|
35
36
|
const tmpDir = (_a = process.env["RUNNER_TEMP"]) !== null && _a !== void 0 ? _a : (0, os_1.tmpdir)();
|
|
36
|
-
return await (0, promises_1.mkdtemp)(tmpDir);
|
|
37
|
+
return await (0, promises_1.mkdtemp)(`${tmpDir}${path_2.sep}`);
|
|
37
38
|
};
|
|
38
39
|
exports.getTmpDirectory = getTmpDirectory;
|
|
39
40
|
//# sourceMappingURL=fs-utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs-utils.js","sourceRoot":"","sources":["../../src/utils/fs-utils.ts"],"names":[],"mappings":";;;;;;AAAA,0CAAoD;AACpD,gDAAuB;AACvB,2BAA2B;AAEpB,KAAK,UAAU,MAAM,CAAC,QAAgB;IAC3C,IAAI;QACF,OAAO,CAAC,MAAM,IAAA,gBAAK,EAAC,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;KACtD;IAAC,OAAO,GAAG,EAAE;QACZ,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;QAChB,OAAO,KAAK,CAAA;KACb;AACH,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A,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,mCAAI,IAAA,WAAM,GAAE,CAAA;IACrD,OAAO,MAAM,IAAA,kBAAO,EAAC,GAAG,MAAM,GAAG,UAAG,EAAE,CAAC,CAAA;AACzC,CAAC,CAAA;AANY,QAAA,eAAe,mBAM3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/medusa-oas-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6-next-20230516074534",
|
|
4
4
|
"description": "OAS CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"test": "NODE_OPTIONS='--unhandled-rejections=strict' jest src"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@medusajs/medusa": "1.
|
|
38
|
+
"@medusajs/medusa": "1.11.0-next-20230516074534",
|
|
39
39
|
"@medusajs/openapi-typescript-codegen": "0.2.1",
|
|
40
40
|
"@readme/json-schema-ref-parser": "^1.2.0",
|
|
41
41
|
"@readme/openapi-parser": "^2.4.0",
|