@mariokreitz/langsync 0.4.0 → 0.4.1

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
@@ -94,7 +94,8 @@ export default defineConfig({
94
94
  });
95
95
  ```
96
96
 
97
- JSON, JS, and MJS configs are also supported via cosmiconfig.
97
+ JSON, JS, and MJS configs are also supported via cosmiconfig. Omit `framework`
98
+ or set `framework: 'none'` for custom setups.
98
99
 
99
100
  ## Documentation
100
101
 
package/dist/cli.js CHANGED
@@ -250,7 +250,7 @@ var LangSyncConfigSchema = z.object({
250
250
  output: z.string().describe("Path to the output/translations directory."),
251
251
  locales: z.array(z.string()).min(1).describe("List of supported locales."),
252
252
  defaultLocale: z.string().optional(),
253
- framework: z.enum(["i18next", "ngx-translate", "react-intl"]).optional().describe("i18n framework integration."),
253
+ framework: z.enum(["i18next", "ngx-translate", "react-intl", "none"]).optional().describe("i18n framework integration. Use `none` to opt out explicitly."),
254
254
  excel: z.object({
255
255
  file: z.string().default("translations.xlsx"),
256
256
  sheetName: z.string().default("Translations")
@@ -1079,7 +1079,7 @@ function registerWatchCommand(program) {
1079
1079
  }
1080
1080
 
1081
1081
  // src/cli.ts
1082
- var VERSION = "0.4.0" ;
1082
+ var VERSION = "0.4.1" ;
1083
1083
  async function main() {
1084
1084
  assertNodeVersion(22);
1085
1085
  const program = new Command();
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ z.object({
8
8
  output: z.string().describe("Path to the output/translations directory."),
9
9
  locales: z.array(z.string()).min(1).describe("List of supported locales."),
10
10
  defaultLocale: z.string().optional(),
11
- framework: z.enum(["i18next", "ngx-translate", "react-intl"]).optional().describe("i18n framework integration."),
11
+ framework: z.enum(["i18next", "ngx-translate", "react-intl", "none"]).optional().describe("i18n framework integration. Use `none` to opt out explicitly."),
12
12
  excel: z.object({
13
13
  file: z.string().default("translations.xlsx"),
14
14
  sheetName: z.string().default("Translations")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mariokreitz/langsync",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Modern localization workflow tooling for TypeScript applications.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -51,24 +51,24 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "chalk": "^5.3.0",
54
+ "chalk": "^5.6.2",
55
55
  "chokidar": "^4.0.3",
56
56
  "commander": "^12.1.0",
57
- "cosmiconfig": "^9.0.0",
57
+ "cosmiconfig": "^9.0.1",
58
58
  "cosmiconfig-typescript-loader": "^6.1.0",
59
59
  "exceljs": "^4.4.0",
60
- "listr2": "^8.2.5",
61
- "ora": "^8.1.1",
60
+ "listr2": "^8.3.3",
61
+ "ora": "^8.2.0",
62
62
  "prompts": "^2.4.2",
63
- "zod": "^3.24.1"
63
+ "zod": "^3.25.76"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@types/prompts": "^2.4.9",
67
67
  "memfs": "^4.57.3",
68
68
  "@langsync/shared": "0.1.0",
69
+ "@langsync/ai-engine": "0.1.0",
69
70
  "@langsync/core": "0.1.0",
70
- "@langsync/excel-engine": "0.1.0",
71
- "@langsync/ai-engine": "0.1.0"
71
+ "@langsync/excel-engine": "0.1.0"
72
72
  },
73
73
  "scripts": {
74
74
  "build": "tsup",