@formatjs/cli-lib 6.6.5 → 6.6.6

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/src/cli.js +3 -3
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # @formatjs/cli
2
2
 
3
- We've migrated the docs to https://formatjs.io/docs/tooling/cli.
3
+ We've migrated the docs to https://formatjs.github.io/docs/tooling/cli.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/cli-lib",
3
- "version": "6.6.5",
3
+ "version": "6.6.6",
4
4
  "description": "Lib for CLI for formatjs.",
5
5
  "keywords": [
6
6
  "intl",
@@ -43,8 +43,8 @@
43
43
  "loud-rejection": "2",
44
44
  "tslib": "2",
45
45
  "typescript": "5",
46
- "@formatjs/icu-messageformat-parser": "2.9.4",
47
46
  "@formatjs/ts-transformer": "3.13.23",
47
+ "@formatjs/icu-messageformat-parser": "2.9.4",
48
48
  "@formatjs/icu-skeleton-parser": "1.8.8"
49
49
  },
50
50
  "peerDependencies": {
package/src/cli.js CHANGED
@@ -109,9 +109,9 @@ type CompileFn = <T = Record<string, MessageDescriptor>>(
109
109
  This is especially useful to convert from a TMS-specific format back to react-intl format
110
110
  `)
111
111
  .option('--out-file <path>', `Compiled translation output file. If this is not provided, result will be printed to stdout`)
112
- .option('--ast', `Whether to compile to AST. See https://formatjs.io/docs/guides/advanced-usage#pre-parsing-messages for more information`)
112
+ .option('--ast', `Whether to compile to AST. See https://formatjs.github.io/docs/guides/advanced-usage#pre-parsing-messages for more information`)
113
113
  .option('--skip-errors', `Whether to continue compiling messages after encountering an error. Any keys with errors will not be included in the output file.`)
114
- .option('--pseudo-locale <pseudoLocale>', `Whether to generate pseudo-locale files. See https://formatjs.io/docs/tooling/cli#--pseudo-locale-pseudolocale for possible values. "--ast" is required for this to work.`)
114
+ .option('--pseudo-locale <pseudoLocale>', `Whether to generate pseudo-locale files. See https://formatjs.github.io/docs/tooling/cli#--pseudo-locale-pseudolocale for possible values. "--ast" is required for this to work.`)
115
115
  .option('--ignore-tag', `Whether the parser to treat HTML/XML tags as string literal instead of parsing them as tag token. When this is false we only allow simple tags without any attributes.`)
116
116
  .action(async (filePatterns, opts) => {
117
117
  (0, console_utils_1.debug)('File pattern:', filePatterns);
@@ -134,7 +134,7 @@ type CompileFn = <T = Record<string, MessageDescriptor>>(
134
134
  \`\`\`
135
135
  This is especially useful to convert from a TMS-specific format back to react-intl format
136
136
  `)
137
- .option('--ast', `Whether to compile to AST. See https://formatjs.io/docs/guides/advanced-usage#pre-parsing-messages for more information`)
137
+ .option('--ast', `Whether to compile to AST. See https://formatjs.github.io/docs/guides/advanced-usage#pre-parsing-messages for more information`)
138
138
  .action(async (folder, outFolder, opts) => {
139
139
  (0, console_utils_1.debug)('Folder:', folder);
140
140
  (0, console_utils_1.debug)('Options:', opts);