@zeesoft/i18n-verify 3.2.8 → 3.2.9
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/executor.mjs +1 -1
- package/package.json +1 -1
package/dist/executor.mjs
CHANGED
|
@@ -6685,7 +6685,7 @@ const getRootProjectMainDir = () => {
|
|
|
6685
6685
|
};
|
|
6686
6686
|
const getRootProjectPackageJson = (rootProjectPath = getRootProjectMainDir()) => getFileContent(joinPaths(rootProjectPath, "package.json"));
|
|
6687
6687
|
const getRootProjectName = () => getRootProjectPackageJson()?.match(/"name": "([^"]+)",/)?.[1] || "";
|
|
6688
|
-
const getConfigFilePath = () => joinPaths(process.cwd(), CONFIG_FILE_NAME);
|
|
6688
|
+
const getConfigFilePath = () => process.env.I18N_RC_CONFIG_PATH ? process.env.I18N_RC_CONFIG_PATH : joinPaths(process.cwd(), CONFIG_FILE_NAME);
|
|
6689
6689
|
const getConfigTemplate = (type = "") => `{
|
|
6690
6690
|
"appName": "${getRootProjectName()}",
|
|
6691
6691
|
"type": "${type}", // set automation framework type ${arr2Txt(
|
package/package.json
CHANGED