gt 2.14.32 → 2.14.33
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# gtx-cli
|
|
2
2
|
|
|
3
|
+
## 2.14.33
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`9eae4d9`](https://github.com/generaltranslation/gt/commit/9eae4d93476688b621c739683c8bac64cbf50bf0)]:
|
|
8
|
+
- generaltranslation@8.2.12
|
|
9
|
+
- @generaltranslation/python-extractor@0.2.18
|
|
10
|
+
|
|
3
11
|
## 2.14.32
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1052,6 +1060,7 @@
|
|
|
1052
1060
|
https://generaltranslation.com/blog/generaltranslation_v8
|
|
1053
1061
|
|
|
1054
1062
|
Please update the following packages to the latest version:
|
|
1063
|
+
|
|
1055
1064
|
- generaltranslation: `7.9.1` or later
|
|
1056
1065
|
- gtx-cli: `2.4.15` or later
|
|
1057
1066
|
- gt-sanity: `1.0.11` or later
|
package/bin/main.js
ADDED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "2.14.
|
|
1
|
+
export declare const PACKAGE_VERSION = "2.14.33";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file is auto-generated. Do not edit manually.
|
|
2
|
-
export const PACKAGE_VERSION = '2.14.
|
|
2
|
+
export const PACKAGE_VERSION = '2.14.33';
|
package/dist/main.js
CHANGED
|
File without changes
|
|
@@ -31,8 +31,8 @@ You can also add a `context` prop to `<T>` to give context to the translator. Fo
|
|
|
31
31
|
```jsx
|
|
32
32
|
import { T } from 'gt-next';
|
|
33
33
|
|
|
34
|
-
<T context=
|
|
35
|
-
View your <a href=
|
|
34
|
+
<T context='Cookies as in web cookies'>
|
|
35
|
+
View your <a href='/cookies'>Cookies</a>
|
|
36
36
|
</T>;
|
|
37
37
|
```
|
|
38
38
|
|
|
@@ -97,7 +97,7 @@ import { T, Var, Num } from 'gt-next';
|
|
|
97
97
|
`useLocale` returns the user's current language, as a BCP 47 locale tag.
|
|
98
98
|
|
|
99
99
|
```js
|
|
100
|
-
import { useLocale } from 'gt-next'
|
|
100
|
+
import { useLocale } from 'gt-next';
|
|
101
101
|
|
|
102
102
|
const locale = useLocale(); // "en-US"
|
|
103
103
|
```
|
|
@@ -29,8 +29,8 @@ You can also add a `context` prop to `<T>` to give context to the translator. Fo
|
|
|
29
29
|
```jsx
|
|
30
30
|
import { T } from 'gt-react';
|
|
31
31
|
|
|
32
|
-
<T context=
|
|
33
|
-
View your <a href=
|
|
32
|
+
<T context='Cookies as in web cookies'>
|
|
33
|
+
View your <a href='/cookies'>Cookies</a>
|
|
34
34
|
</T>;
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -88,7 +88,7 @@ import { T, Var, Num } from 'gt-react';
|
|
|
88
88
|
`useLocale` returns the user's current language, as a BCP 47 locale tag.
|
|
89
89
|
|
|
90
90
|
```js
|
|
91
|
-
import { useLocale } from 'gt-react'
|
|
91
|
+
import { useLocale } from 'gt-react';
|
|
92
92
|
|
|
93
93
|
const locale = useLocale(); // "en-US"
|
|
94
94
|
```
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gt",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.33",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
|
-
"bin": "
|
|
5
|
+
"bin": "bin/main.js",
|
|
6
6
|
"files": [
|
|
7
|
+
"bin",
|
|
7
8
|
"dist",
|
|
8
9
|
"binaries",
|
|
9
10
|
"CHANGELOG.md"
|
|
@@ -110,13 +111,12 @@
|
|
|
110
111
|
"unified": "^11.0.5",
|
|
111
112
|
"unist-util-visit": "^5.0.0",
|
|
112
113
|
"yaml": "^2.8.0",
|
|
113
|
-
"@generaltranslation/python-extractor": "0.2.
|
|
114
|
-
"generaltranslation": "8.2.
|
|
114
|
+
"@generaltranslation/python-extractor": "0.2.18",
|
|
115
|
+
"generaltranslation": "8.2.12",
|
|
115
116
|
"gt-remark": "1.0.7"
|
|
116
117
|
},
|
|
117
118
|
"devDependencies": {
|
|
118
119
|
"@babel/types": "^7.28.4",
|
|
119
|
-
"@biomejs/biome": "^1.9.4",
|
|
120
120
|
"@types/babel__generator": "^7.27.0",
|
|
121
121
|
"@types/babel__traverse": "^7.20.6",
|
|
122
122
|
"@types/figlet": "^1.7.0",
|
|
@@ -157,6 +157,7 @@
|
|
|
157
157
|
"release:beta": "pnpm run build:clean && pnpm publish --tag beta",
|
|
158
158
|
"release:latest": "pnpm run build:clean && pnpm publish --tag latest",
|
|
159
159
|
"bin:restore": "node scripts/restore-package-json.js",
|
|
160
|
-
"bin:prep": "node scripts/prepare-binary-release.js"
|
|
160
|
+
"bin:prep": "node scripts/prepare-binary-release.js",
|
|
161
|
+
"typecheck": "tsc --noEmit"
|
|
161
162
|
}
|
|
162
163
|
}
|