gtx-cli 2.0.11 → 2.0.12

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,11 @@
1
1
  # gtx-cli
2
2
 
3
+ ## 2.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [#503](https://github.com/generaltranslation/gt/pull/503) [`9549d88`](https://github.com/generaltranslation/gt/commit/9549d88485af4dc57fb19847016d53aa3375b380) Thanks [@brian-lou](https://github.com/brian-lou)! - Fix path resolution mechanism for useGT/getGT usage scanning
8
+
3
9
  ## 2.0.11
4
10
 
5
11
  ### Patch Changes
@@ -11,7 +11,7 @@ import fs from 'node:fs';
11
11
  import path from 'node:path';
12
12
  import { parse } from '@babel/parser';
13
13
  import { createMatchPath, loadConfig } from 'tsconfig-paths';
14
- import * as resolve from 'resolve';
14
+ import resolve from 'resolve';
15
15
  /**
16
16
  * Processes a single translation function call (e.g., t('hello world', { id: 'greeting' })).
17
17
  * Extracts the translatable string content and metadata, then adds it to the updates array.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtx-cli",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "main": "dist/index.js",
5
5
  "bin": "dist/main.js",
6
6
  "files": [