@formatjs/cli-lib 7.0.0 → 7.0.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.
@@ -3,7 +3,7 @@ import { outputFile, readJSON } from 'fs-extra';
3
3
  import stringify from 'json-stable-stringify';
4
4
  import { debug, warn, writeStdout } from './console_utils';
5
5
  import { resolveBuiltinFormatter } from './formatters';
6
- import { generateXXAC, generateXXLS, generateXXHA, generateENXA, generateENXB, } from './pseudo_locale';
6
+ import { generateENXA, generateENXB, generateXXAC, generateXXHA, generateXXLS, } from './pseudo_locale';
7
7
  /**
8
8
  * Aggregate `inputFiles` into a single JSON blob and compile.
9
9
  * Also checks for conflicting IDs.
@@ -1,6 +1,6 @@
1
- import { compile } from './compile';
2
- import { join, basename } from 'path';
3
1
  import { outputFile } from 'fs-extra';
2
+ import { basename, join } from 'path';
3
+ import { compile } from './compile';
4
4
  export default async function compileFolder(files, outFolder, opts = {}) {
5
5
  const results = await Promise.all(files.map(f => compile([f], opts)));
6
6
  const outFiles = files.map(f => join(outFolder, basename(f)));
@@ -1,4 +1,4 @@
1
- import { supportsColor, green, red, yellow } from 'chalk';
1
+ import { green, red, supportsColor, yellow } from 'chalk';
2
2
  import readline from 'readline';
3
3
  import { format, promisify } from 'util';
4
4
  const CLEAR_WHOLE_LINE = 0;
@@ -1,2 +1,2 @@
1
1
  export type ScriptParseFn = (source: string) => void;
2
- export declare function parseFile(source: string, filename: string, parseScriptFn: ScriptParseFn): any;
2
+ export declare function parseFile(source: string, filename: string, parseScriptFn: ScriptParseFn): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/cli-lib",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
4
4
  "description": "Lib for CLI for formatjs.",
5
5
  "keywords": [
6
6
  "intl",
@@ -44,9 +44,9 @@
44
44
  "loud-rejection": "2",
45
45
  "tslib": "2",
46
46
  "typescript": "5",
47
- "@formatjs/icu-messageformat-parser": "2.9.5",
48
- "@formatjs/ts-transformer": "3.13.24",
49
- "@formatjs/icu-skeleton-parser": "1.8.9"
47
+ "@formatjs/icu-messageformat-parser": "2.9.7",
48
+ "@formatjs/ts-transformer": "3.13.26",
49
+ "@formatjs/icu-skeleton-parser": "1.8.11"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@glimmer/env": "^0.1.7",