maasglobal-schema-generator-io-ts
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -105,2 +105,3 @@ "use strict"; | ||
var path_1 = __importDefault(require("path")); | ||
var process_1 = __importDefault(require("process")); | ||
exports.logHeader = '# io-ts code generation log\n\n'; | ||
@@ -110,5 +111,7 @@ var relativeLogPath = path_1.default.posix.join('io-ts', '_translation.log'); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var schemaGlob, typesDir, _a, base, deps, importArgs, imports, args, logPath, errStream; | ||
var cwd, schemaDir, schemaGlob, typesDir, _a, base, deps, importArgs, imports, args, logPath, errStream; | ||
return __generator(this, function (_b) { | ||
schemaGlob = path_1.default.posix.join(pkg.paths.schemas, '**', '*.json'); | ||
cwd = process_1.default.cwd(); | ||
schemaDir = path_1.default.relative(cwd, pkg.paths.schemas); | ||
schemaGlob = path_1.default.posix.join(schemaDir, '**', '*.json'); | ||
typesDir = path_1.default.posix.join(pkg.paths.src, 'io-ts', '_types'); | ||
@@ -139,3 +142,3 @@ _a = pkg.manifest, base = _a.base, deps = _a.deps; | ||
stderr: errStream, | ||
stdout: process.stdout, | ||
stdout: process_1.default.stdout, | ||
}); | ||
@@ -142,0 +145,0 @@ errStream.end(); |
{ | ||
"name": "maasglobal-schema-generator-io-ts", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
33956
634
0