@lingui/conf
Advanced tools
Comparing version 3.10.4 to 3.11.0
import type { GeneratorOptions } from "@babel/core"; | ||
export declare type CatalogFormat = "lingui" | "minimal" | "po" | "csv" | "po-gettext"; | ||
export declare type CatalogFormat = "lingui" | "minimal" | "po" | "csv" | "po-gettext"; | ||
export type CatalogFormatOptions = { | ||
@@ -26,2 +26,7 @@ origins?: boolean; | ||
declare type CatalogService = { | ||
name: string; | ||
apiKey: string; | ||
} | ||
declare type ExtractorType = { | ||
@@ -50,2 +55,3 @@ match(filename: string): boolean; | ||
sourceLocale: string; | ||
service: CatalogService; | ||
}; | ||
@@ -68,3 +74,3 @@ export declare const defaultConfig: LinguiConfig; | ||
catalogs: CatalogConfig[]; | ||
compileNamespace: "es" | "ts" | "cjs" | string; | ||
compileNamespace: "es" | "ts" | "cjs" | string; | ||
fallbackLocales: FallbackLocales; | ||
@@ -79,2 +85,3 @@ format: CatalogFormat; | ||
sourceLocale: string; | ||
service: CatalogService; | ||
}; | ||
@@ -81,0 +88,0 @@ deprecatedConfig: { |
12
index.js
@@ -55,2 +55,8 @@ "use strict"; | ||
}, | ||
extractors: (0, _jestValidate.multipleValidOptions)([], ["babel"], [{ | ||
match: function match(fileName) { | ||
return false; | ||
}, | ||
extract: function extract(filename, targetDir, options) {} | ||
}]), | ||
extractBabelOptions: { | ||
@@ -71,3 +77,7 @@ plugins: [], | ||
runtimeConfigModule: ["@lingui/core", "i18n"], | ||
sourceLocale: "" | ||
sourceLocale: "", | ||
service: { | ||
name: "", | ||
apiKey: "" | ||
} | ||
}; | ||
@@ -74,0 +84,0 @@ exports.defaultConfig = defaultConfig; |
{ | ||
"name": "@lingui/conf", | ||
"version": "3.10.4", | ||
"version": "3.11.0", | ||
"sideEffects": false, | ||
"description": "Get lingui configuration from package.json", | ||
@@ -5,0 +6,0 @@ "keywords": [ |
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
22100
544