@fluenti/cli 0.6.0 → 0.6.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.
@@ -1,4 +1,4 @@
1
- import { ExtractedMessage } from '../../core/src/compiler.ts';
1
+ import { ExtractedMessage } from '@fluenti/core/compiler';
2
2
  export interface CatalogEntry {
3
3
  message?: string | undefined;
4
4
  context?: string | undefined;
@@ -1,2 +1,2 @@
1
- export { loadConfig, loadConfigSync, DEFAULT_FLUENTI_CONFIG } from '../../core/src/config.ts';
1
+ export { loadConfig, loadConfigSync, DEFAULT_FLUENTI_CONFIG } from '@fluenti/core/config';
2
2
  //# sourceMappingURL=config-loader.d.ts.map
@@ -1,4 +1,4 @@
1
- import { FluentiBuildConfig } from '../../core/src/compiler.ts';
1
+ import { FluentiBuildConfig } from '@fluenti/core/compiler';
2
2
  /**
3
3
  * Define a Fluenti configuration with full type inference and IDE autocompletion.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { ExtractedMessage } from '../../core/src/compiler.ts';
1
+ import { ExtractedMessage } from '@fluenti/core/compiler';
2
2
  /**
3
3
  * File-level extract cache that skips re-extraction for unchanged files.
4
4
  *
@@ -5,15 +5,15 @@ export { readJsonCatalog, writeJsonCatalog } from './json-format';
5
5
  export { readPoCatalog, writePoCatalog } from './po-format';
6
6
  export { compileCatalog, compileIndex, collectAllIds } from './compile';
7
7
  export type { CompileStats } from './compile';
8
- export { hashMessage } from '../../core/src/compiler.ts';
8
+ export { hashMessage } from '@fluenti/core/compiler';
9
9
  export { defineConfig } from './config';
10
10
  export { loadConfig } from './config-loader';
11
11
  export { runCompile } from './compile-runner';
12
12
  export type { RunCompileOptions } from './compile-runner';
13
13
  export { runExtract } from './extract-runner';
14
14
  export type { RunExtractOptions } from './extract-runner';
15
- export type { FluentiBuildConfig } from '../../core/src/compiler.ts';
16
- export type { FluentiConfig } from '../../core/src/index.ts';
15
+ export type { FluentiBuildConfig } from '@fluenti/core/compiler';
16
+ export type { FluentiConfig } from '@fluenti/core';
17
17
  export { rewriteFluentiImports, runCodemod } from './codemod';
18
18
  export type { CodemodOptions, CodemodResult } from './codemod';
19
19
  export { runDoctor, formatDoctorReport } from './doctor';
@@ -1,3 +1,3 @@
1
- import { ExtractedMessage } from '../../core/src/compiler.ts';
1
+ import { ExtractedMessage } from '@fluenti/core/compiler';
2
2
  export declare function extractFromTsx(code: string, filename: string, idGenerator?: (message: string, context?: string) => string): ExtractedMessage[];
3
3
  //# sourceMappingURL=tsx-extractor.d.ts.map
@@ -1,4 +1,4 @@
1
- import { ExtractedMessage } from '../../core/src/compiler.ts';
1
+ import { ExtractedMessage } from '@fluenti/core/compiler';
2
2
  /** Extract messages from Vue SFC files */
3
3
  export declare function extractFromVue(code: string, filename: string, idGenerator?: (message: string, context?: string) => string): ExtractedMessage[];
4
4
  //# sourceMappingURL=vue-extractor.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluenti/cli",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "type": "module",
5
5
  "description": "Fluenti CLI — message extraction from Vue SFC & TSX, PO/JSON catalog compilation",
6
6
  "homepage": "https://fluenti.dev",
@@ -72,7 +72,7 @@
72
72
  "fast-glob": "^3",
73
73
  "gettext-parser": "^9",
74
74
  "jiti": "^2",
75
- "@fluenti/core": "0.6.0"
75
+ "@fluenti/core": "0.6.1"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "@vue/compiler-sfc": "^3.5"