gt-react 8.2.4 → 8.2.6
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/internal.d.ts +2 -2
- package/dist/internal.d.ts.map +1 -1
- package/package.json +10 -16
package/dist/internal.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import renderDefaultChildren from "./provider/rendering/renderDefaultChildren";
|
|
|
11
11
|
import renderTranslatedChildren from "./provider/rendering/renderTranslatedChildren";
|
|
12
12
|
import { defaultRenderSettings } from "./provider/rendering/defaultRenderSettings";
|
|
13
13
|
import renderSkeleton from "./provider/rendering/renderSkeleton";
|
|
14
|
-
import { Dictionary, RenderMethod, TranslatedChildren, TranslatedContent, TranslationError, TranslationsObject } from "./types/types";
|
|
14
|
+
import { Dictionary, RenderMethod, TranslatedChildren, TranslatedContent, TranslationError, TranslationsObject, DictionaryEntry } from "./types/types";
|
|
15
15
|
import { isTranslationError } from "./utils/utils";
|
|
16
|
-
export { addGTIdentifier, writeChildrenAsObjects, isVariableObject, Dictionary, flattenDictionary, getDictionaryEntry, getVariableProps, getPluralBranch, extractEntryMetadata, getVariableName, getFallbackVariableName, renderDefaultChildren, renderTranslatedChildren, renderSkeleton, RenderMethod, defaultRenderSettings, TranslatedChildren, TranslationsObject, TranslatedContent, TranslationError, isTranslationError };
|
|
16
|
+
export { addGTIdentifier, writeChildrenAsObjects, isVariableObject, Dictionary, flattenDictionary, getDictionaryEntry, getVariableProps, DictionaryEntry, getPluralBranch, extractEntryMetadata, getVariableName, getFallbackVariableName, renderDefaultChildren, renderTranslatedChildren, renderSkeleton, RenderMethod, defaultRenderSettings, TranslatedChildren, TranslationsObject, TranslatedContent, TranslationError, isTranslationError };
|
|
17
17
|
//# sourceMappingURL=internal.d.ts.map
|
package/dist/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA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F,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,cAAc,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACvJ,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EACH,eAAe,EAAE,sBAAsB,EAAE,gBAAgB,EACzD,UAAU,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,eAAe,EACpF,eAAe,EAAE,oBAAoB,EACrC,eAAe,EAAE,uBAAuB,EACxC,qBAAqB,EAAE,wBAAwB,EAC/C,cAAc,EACd,YAAY,EAAE,qBAAqB,EACnC,kBAAkB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,kBAAkB,EAClG,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gt-react",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.6",
|
|
4
4
|
"description": "A React library for automatic internationalization.",
|
|
5
|
-
"main": "
|
|
6
|
-
"module": "./dist/esm/index.js",
|
|
5
|
+
"main": "dist/index.js",
|
|
7
6
|
"types": "dist/index.d.ts",
|
|
8
7
|
"peerDependencies": {
|
|
9
8
|
"react": ">=16.8.0 <20.0.0",
|
|
@@ -12,9 +11,7 @@
|
|
|
12
11
|
"scripts": {
|
|
13
12
|
"patch": "npm version patch",
|
|
14
13
|
"transpile": "tsc",
|
|
15
|
-
"build": "npm run
|
|
16
|
-
"build:esm": "tsc -p tsconfig.esm.json",
|
|
17
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
14
|
+
"build": "npm run transpile",
|
|
18
15
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
19
16
|
},
|
|
20
17
|
"repository": {
|
|
@@ -35,19 +32,16 @@
|
|
|
35
32
|
},
|
|
36
33
|
"exports": {
|
|
37
34
|
".": {
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"types": "./dist/index.d.ts"
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"default": "./dist/index.js"
|
|
41
37
|
},
|
|
42
38
|
"./internal": {
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"types": "./dist/internal.d.ts"
|
|
39
|
+
"types": "./dist/internal.d.ts",
|
|
40
|
+
"default": "./dist/internal.js"
|
|
46
41
|
},
|
|
47
42
|
"./client": {
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"types": "./dist/client.d.ts"
|
|
43
|
+
"types": "./dist/client.d.ts",
|
|
44
|
+
"default": "./dist/client.js"
|
|
51
45
|
}
|
|
52
46
|
},
|
|
53
47
|
"typesVersions": {
|
|
@@ -80,6 +74,6 @@
|
|
|
80
74
|
],
|
|
81
75
|
"dependencies": {
|
|
82
76
|
"@generaltranslation/supported-locales": "^1.1.2",
|
|
83
|
-
"generaltranslation": "^6.1.
|
|
77
|
+
"generaltranslation": "^6.1.3"
|
|
84
78
|
}
|
|
85
79
|
}
|