@mariokreitz/langsync 0.5.0 → 0.7.0

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/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { LangSyncConfig, LangSyncConfigInput, defineConfig } from '@langsync/shared/config';
1
+ export * from '@mariokreitz/langsync-sdk';
package/dist/index.js CHANGED
@@ -1,30 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import 'cosmiconfig';
3
- import 'cosmiconfig-typescript-loader';
4
- import { z } from 'zod';
5
-
6
- z.object({
7
- input: z.string().describe("Path to the source i18n directory."),
8
- output: z.string().default("./translations").describe(
9
- 'Base directory for translated output. Defaults to "./translations". Reserved for report and export output in future releases.'
10
- ),
11
- locales: z.array(z.string()).min(1).describe('List of supported locales (e.g. ["en", "de", "fr"]).'),
12
- defaultLocale: z.string().optional().describe(
13
- "Reference locale. Keys from this locale are synced into all other locales. Defaults to the first entry in `locales`."
14
- ),
15
- framework: z.enum(["i18next", "ngx-translate", "react-intl", "none"]).optional().describe("i18n framework integration. Use `none` to opt out explicitly."),
16
- excel: z.object({
17
- file: z.string().default("translations.xlsx"),
18
- sheetName: z.string().default("Translations")
19
- }).optional(),
20
- ai: z.object({
21
- provider: z.enum(["openai", "deepl", "anthropic", "gemini"]).default("openai").describe("AI translation provider."),
22
- apiKey: z.string().optional().describe("API key. Falls back to the provider-specific env var."),
23
- model: z.string().optional().describe("Provider model id (e.g. gpt-5-mini).")
24
- }).optional().describe("AI translation settings.")
25
- });
26
- function defineConfig(config) {
27
- return config;
28
- }
29
-
30
- export { defineConfig };
2
+ export * from '@mariokreitz/langsync-sdk';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mariokreitz/langsync",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Modern localization workflow tooling for TypeScript applications.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -60,15 +60,16 @@
60
60
  "listr2": "^8.3.3",
61
61
  "ora": "^8.2.0",
62
62
  "prompts": "^2.4.2",
63
- "zod": "^3.25.76"
63
+ "zod": "^3.25.76",
64
+ "@mariokreitz/langsync-sdk": "0.2.0"
64
65
  },
65
66
  "devDependencies": {
66
67
  "@types/prompts": "^2.4.9",
67
68
  "memfs": "^4.57.3",
68
- "@langsync/shared": "0.2.0",
69
- "@langsync/excel-engine": "0.1.1",
70
- "@langsync/core": "0.1.1",
71
- "@langsync/ai-engine": "0.2.0"
69
+ "@langsync/shared": "0.2.2",
70
+ "@langsync/core": "0.1.3",
71
+ "@langsync/ai-engine": "0.2.2",
72
+ "@langsync/excel-engine": "0.2.1"
72
73
  },
73
74
  "scripts": {
74
75
  "build": "tsup",