@i18n-micro/cli 2.0.0 → 2.0.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/dist/chunks/{check-BaP_H-mS.mjs → check-CwSzATDI.mjs} +1 -1
- package/dist/chunks/{info-rYas4Yw3.mjs → info-Lom_wHos.mjs} +1 -1
- package/dist/chunks/{lint-BaEIQGMl.mjs → lint-DDGSQAXd.mjs} +1 -1
- package/dist/chunks/{package-f9OTcDxl.mjs → package-BejjFS6s.mjs} +1 -1
- package/dist/chunks/{runner-wHXdhRdA.mjs → runner-CsPPffV1.mjs} +2 -2
- package/dist/chunks/{spec-BwZlT28L.mjs → spec-DwveYr8X.mjs} +3 -3
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import { A as log, _ as findingsError, a as flattenStrings, s as groupBy, x as u
|
|
|
2
2
|
import { d as splitList, u as relativePath } from "./nuxt-dKxG087V.mjs";
|
|
3
3
|
import { n as relativeFile, t as Project } from "./project-DgWgr7pF.mjs";
|
|
4
4
|
import { f as usageDoubts, u as scanProject } from "./source-Bx2lHSW7.mjs";
|
|
5
|
-
import { t as CHECK_TYPES } from "./spec-
|
|
5
|
+
import { t as CHECK_TYPES } from "./spec-DwveYr8X.mjs";
|
|
6
6
|
import { r as findUnused } from "./clean-Do9z6D5j.mjs";
|
|
7
7
|
import { t as extraKeys } from "./sync-C0NVDabK.mjs";
|
|
8
8
|
// src/commands/check.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as log, M as plural, _ as findingsError, a as flattenStrings, x as usageError } from "./json-BV_apCMu.mjs";
|
|
2
2
|
import { a as readJsonIfExists, d as splitList } from "./nuxt-dKxG087V.mjs";
|
|
3
3
|
import { n as relativeFile, t as Project } from "./project-DgWgr7pF.mjs";
|
|
4
|
-
import { r as LINT_RULES } from "./spec-
|
|
4
|
+
import { r as LINT_RULES } from "./spec-DwveYr8X.mjs";
|
|
5
5
|
import { join } from "node:path";
|
|
6
6
|
// src/lint-rules.ts
|
|
7
7
|
/** Rules for what is wrong in any language. Whether a text ends in a period is not one of them. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as version$1 } from "./package-
|
|
1
|
+
import { t as version$1 } from "./package-BejjFS6s.mjs";
|
|
2
2
|
import { A as log, D as closePrompts, N as spinner, O as formatDuration, P as style, S as validationError, b as reportError, d as ownValue, k as isInteractive, x as usageError } from "./json-BV_apCMu.mjs";
|
|
3
|
-
import { a as commands, i as REMOVED_COMMANDS, n as COMMAND_GROUPS } from "./spec-
|
|
3
|
+
import { a as commands, i as REMOVED_COMMANDS, n as COMMAND_GROUPS } from "./spec-DwveYr8X.mjs";
|
|
4
4
|
import { defineCommand, runCommand } from "citty";
|
|
5
5
|
// src/help.ts
|
|
6
6
|
/** The layout of citty's `renderUsage`, as nuxi prints it, with commands grouped and examples added. */
|
|
@@ -101,7 +101,7 @@ var commands = {
|
|
|
101
101
|
...shared,
|
|
102
102
|
json
|
|
103
103
|
},
|
|
104
|
-
load: () => import("./info-
|
|
104
|
+
load: () => import("./info-Lom_wHos.mjs")
|
|
105
105
|
},
|
|
106
106
|
check: {
|
|
107
107
|
group: "Inspect",
|
|
@@ -122,7 +122,7 @@ var commands = {
|
|
|
122
122
|
json
|
|
123
123
|
},
|
|
124
124
|
examples: ["i18n-micro check", "i18n-micro check --only missing,placeholders --json"],
|
|
125
|
-
load: () => import("./check-
|
|
125
|
+
load: () => import("./check-CwSzATDI.mjs")
|
|
126
126
|
},
|
|
127
127
|
stats: {
|
|
128
128
|
group: "Inspect",
|
|
@@ -160,7 +160,7 @@ var commands = {
|
|
|
160
160
|
json
|
|
161
161
|
},
|
|
162
162
|
examples: ["i18n-micro lint --rules no-trailing-spaces --fix"],
|
|
163
|
-
load: () => import("./lint-
|
|
163
|
+
load: () => import("./lint-DDGSQAXd.mjs")
|
|
164
164
|
},
|
|
165
165
|
search: {
|
|
166
166
|
group: "Inspect",
|
package/dist/cli.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as runCli } from "./chunks/runner-
|
|
2
|
-
import { a as commands, n as COMMAND_GROUPS } from "./chunks/spec-
|
|
1
|
+
import { t as runCli } from "./chunks/runner-CsPPffV1.mjs";
|
|
2
|
+
import { a as commands, n as COMMAND_GROUPS } from "./chunks/spec-DwveYr8X.mjs";
|
|
3
3
|
export { COMMAND_GROUPS, commands, runCli };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@i18n-micro/cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Command-line tools for nuxt-i18n-micro: extract, sync, translate, lint and audit locale files.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@vue/compiler-sfc": "^3.5.44",
|
|
52
52
|
"citty": "^0.2.2",
|
|
53
|
-
"@i18n-micro/utils": "^2.0.
|
|
53
|
+
"@i18n-micro/utils": "^2.0.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@nuxt/kit": "^3.18.0 || ^4.0.0",
|