@lingui/conf
Advanced tools
Comparing version 4.11.2 to 5.0.0-next.0
@@ -37,2 +37,3 @@ /** | ||
extra?: Extra; | ||
placeholders?: Record<string, string[]>; | ||
}; | ||
@@ -77,2 +78,3 @@ type MessageType<Extra = CatalogExtra> = ExtractedMessageType<Extra> & { | ||
comment?: string; | ||
placeholders?: Record<string, string>; | ||
}; | ||
@@ -96,3 +98,3 @@ type CatalogFormatOptions = { | ||
type FallbackLocales = LocaleObject; | ||
type ModuleSource = [string, string?]; | ||
type ModuleSource = readonly [module: string, specifier?: string]; | ||
type CatalogService = { | ||
@@ -185,5 +187,3 @@ name: string; | ||
rootDir?: string; | ||
runtimeConfigModule?: ModuleSource | { | ||
[symbolName: string]: ModuleSource; | ||
}; | ||
runtimeConfigModule?: ModuleSource | Partial<Record<"useLingui" | "Trans" | "i18n", ModuleSource>>; | ||
sourceLocale?: string; | ||
@@ -195,9 +195,9 @@ service?: CatalogService; | ||
}; | ||
type ModuleSourceNormalized = readonly [module: string, specifier: string]; | ||
type LinguiConfigNormalized = Omit<LinguiConfig, "runtimeConfigModule"> & { | ||
fallbackLocales?: FallbackLocales; | ||
runtimeConfigModule: { | ||
i18nImportModule: string; | ||
i18nImportName: string; | ||
TransImportModule: string; | ||
TransImportName: string; | ||
i18n: ModuleSourceNormalized; | ||
useLingui: ModuleSourceNormalized; | ||
Trans: ModuleSourceNormalized; | ||
}; | ||
@@ -204,0 +204,0 @@ }; |
{ | ||
"name": "@lingui/conf", | ||
"version": "4.11.2", | ||
"version": "5.0.0-next.0", | ||
"sideEffects": false, | ||
@@ -41,7 +41,7 @@ "description": "Get lingui configuration from package.json", | ||
"devDependencies": { | ||
"@lingui/jest-mocks": "*", | ||
"@lingui/jest-mocks": "^3.0.3", | ||
"tsd": "^0.26.1", | ||
"unbuild": "^2.0.0" | ||
}, | ||
"gitHead": "17e0af54b0b9d9577db2cef1be680a6d871611e7" | ||
"gitHead": "2192f8d54699a3846ff8fe6f3992697be2da68a8" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
44900
1065
2