glotfox 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # glotfox
2
2
 
3
- Command-line tool for [GlotFox](https://glotfox.app.dukauskas.lt). It extracts translation keys from React, Next.js and vanilla JS/TS projects into the source-locale files.
3
+ Command-line tool for [GlotFox](https://glotfox.com). It extracts translation keys from React, Next.js and vanilla JS/TS projects into the source-locale files.
4
4
 
5
5
  Requires Node 22+.
6
6
 
@@ -52,7 +52,7 @@ npx glotfox pull # write approved translations into the locale files
52
52
 
53
53
  | Option | Description |
54
54
  |--------|-------------|
55
- | `--api-url <url>` | Server URL (default `$GLOTFOX_API_URL`, then `https://glotfox.app.dukauskas.lt`). |
55
+ | `--api-url <url>` | Server URL (default `$GLOTFOX_API_URL`, then `https://dashboard.glotfox.com`). |
56
56
  | `--dry-run` | Report what would happen without uploading (`push`) or writing files (`pull`). |
57
57
 
58
58
  - `push` sends every key of the source-locale files as `namespace:key` with its text and its `*.meta.json` description. It never deletes keys on the server.
@@ -847,7 +847,7 @@ function generateTypes(opts) {
847
847
  // src/sync.ts
848
848
  import fs6 from "node:fs";
849
849
  import path6 from "node:path";
850
- var DEFAULT_API_URL = "https://glotfox.app.dukauskas.lt";
850
+ var DEFAULT_API_URL = "https://dashboard.glotfox.com";
851
851
  var PUSH_BATCH = 500;
852
852
  var MAX_REFERENCES = 50;
853
853
  var Api = class {
package/dist/cli.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  loadConfig,
8
8
  pull,
9
9
  push
10
- } from "./chunk-AQOIF7AF.js";
10
+ } from "./chunk-V7VH3XEQ.js";
11
11
 
12
12
  // src/cli.ts
13
13
  import { parseArgs } from "node:util";
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  pull,
10
10
  push,
11
11
  scanSource
12
- } from "./chunk-AQOIF7AF.js";
12
+ } from "./chunk-V7VH3XEQ.js";
13
13
  export {
14
14
  check,
15
15
  extract,
package/dist/sync.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const DEFAULT_API_URL = "https://glotfox.app.dukauskas.lt";
1
+ export declare const DEFAULT_API_URL = "https://dashboard.glotfox.com";
2
2
  export interface KeyReference {
3
3
  file: string;
4
4
  line: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glotfox",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "GlotFox CLI: extract translation keys from React/Next.js and vanilla JS/TS projects",
5
5
  "license": "MIT",
6
6
  "type": "module",