@docusaurus/theme-translations
Advanced tools
Comparing version 2.0.0-beta.13 to 2.0.0-beta.14
@@ -14,5 +14,3 @@ "use strict"; | ||
function getDefaultLocalesDirPath() { | ||
const parentDirPath = path_1.default.join(__dirname, '..'); | ||
const pkg = JSON.parse(fs_extra_1.default.readFileSync(path_1.default.join(parentDirPath, 'package.json'), 'utf8')); | ||
return path_1.default.join(parentDirPath, pkg.files[0]); | ||
return path_1.default.join(__dirname, '../locales'); | ||
} | ||
@@ -54,1 +52,2 @@ // Return an ordered list of locales we should try | ||
exports.readDefaultCodeTranslationMessages = readDefaultCodeTranslationMessages; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@docusaurus/theme-translations", | ||
"version": "2.0.0-beta.13", | ||
"version": "2.0.0-beta.14", | ||
"description": "Docusaurus theme translations.", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"files": [ | ||
"locales" | ||
], | ||
"publishConfig": { | ||
@@ -29,3 +26,4 @@ "access": "public" | ||
"devDependencies": { | ||
"chalk": "^4.1.2", | ||
"@docusaurus/core": "2.0.0-beta.14", | ||
"@docusaurus/logger": "2.0.0-beta.14", | ||
"lodash": "^4.17.20" | ||
@@ -36,3 +34,3 @@ }, | ||
}, | ||
"gitHead": "b6ca12aedf10a10c2375f4f8b7e7380cfd7c7202" | ||
"gitHead": "c4824a8937d8f1aa0806667749cbc74058e2b294" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
121371
100
1812
3