@opensea/i18n-extract
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -76,5 +76,7 @@ #!/usr/bin/env node | ||
_a.label = 5; | ||
case 5: return [4 /*yield*/, Promise.all(Object.keys(translations).map(function (namespace) { | ||
case 5: return [4 /*yield*/, Promise.all(Object.keys(translations) | ||
.sort() | ||
.map(function (namespace) { | ||
var outfile = path_1.default.join(out, "".concat(namespace, ".json")); | ||
return promises_1.default.writeFile(outfile, JSON.stringify(translations[namespace], null, 2)); | ||
return promises_1.default.writeFile(outfile, "".concat(JSON.stringify(translations[namespace], null, 2), "\n")); | ||
}))]; | ||
@@ -81,0 +83,0 @@ case 6: |
{ | ||
"name": "@opensea/i18n-extract", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Package for i18n key extractions", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
50032
423