@dokebi/cli 0.4.78 → 0.4.80
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/catalog.json +4 -4
- package/dist/check/i18n-rules.js +4 -3
- package/dist/output.d.ts +1 -1
- package/dist/output.js +1 -1
- package/package.json +1 -1
package/catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "Generated by scripts/catalog/build.ts from package.json dokebiCatalog fields and packages/cli/catalog-src (D-0065). Do not edit; run node scripts/catalog/build.ts.",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
|
-
"cli": "0.4.
|
|
4
|
+
"cli": "0.4.80",
|
|
5
5
|
"core": {
|
|
6
6
|
"package": "@dokebi/core",
|
|
7
7
|
"version": "0.4.8"
|
|
@@ -830,7 +830,7 @@
|
|
|
830
830
|
{
|
|
831
831
|
"id": null,
|
|
832
832
|
"package": "@dokebi/cli",
|
|
833
|
-
"version": "0.4.
|
|
833
|
+
"version": "0.4.80",
|
|
834
834
|
"kind": "cli",
|
|
835
835
|
"summary": "Commands to create a project, browse the plugin catalog, run recipes, install plugins and verify (dokebi)",
|
|
836
836
|
"description": "Project scaffolding, plugin catalog, recipes, install and verification CLI for Dokebi.",
|
|
@@ -1578,7 +1578,7 @@
|
|
|
1578
1578
|
{
|
|
1579
1579
|
"id": "dokebi-i18n",
|
|
1580
1580
|
"package": "@dokebi/i18n",
|
|
1581
|
-
"version": "0.2.
|
|
1581
|
+
"version": "0.2.8",
|
|
1582
1582
|
"kind": "plugin",
|
|
1583
1583
|
"summary": "Compiled translations, locale negotiation, cardinal plurals and named number/date formats",
|
|
1584
1584
|
"description": "Compiled translation catalogs, locale negotiation, cardinal plurals and named Intl formats.",
|
|
@@ -2968,7 +2968,7 @@
|
|
|
2968
2968
|
{
|
|
2969
2969
|
"id": "dokebi-runtime-settings",
|
|
2970
2970
|
"package": "@dokebi/runtime-settings",
|
|
2971
|
-
"version": "0.2.
|
|
2971
|
+
"version": "0.2.1",
|
|
2972
2972
|
"kind": "plugin",
|
|
2973
2973
|
"summary": "Settings operators change while the app runs: definitions in code (a group tree, text, number, numbers per choice, boolean, select, multiselect, json and file with rules, choices from your data), common and personal values saved in your database in the caller's transaction (the changes answered for the audit log), common values read from memory, every worker refreshed by a revision",
|
|
2974
2974
|
"description": "Settings operators change while the app runs, for Dokebi: definitions in code (a group tree, nine types with rules, choices from your data), common and personal values in your database saved in the caller's transaction, common values read from memory, every worker refreshed by a revision.",
|
package/dist/check/i18n-rules.js
CHANGED
|
@@ -95,7 +95,8 @@ async function readLayer(root, kind, name, folder, broken) {
|
|
|
95
95
|
const files = new Map();
|
|
96
96
|
const folders = new Map();
|
|
97
97
|
for (const locale of locales) {
|
|
98
|
-
|
|
98
|
+
// Dot entries (`.claude/` a tool left behind) are not locales: @dokebi/i18n leaves them out.
|
|
99
|
+
if (!locale.isDirectory() || locale.name.startsWith('.'))
|
|
99
100
|
continue;
|
|
100
101
|
const canonical = canonicalLocale(locale.name);
|
|
101
102
|
if (canonical === undefined || folders.has(canonical)) {
|
|
@@ -112,7 +113,7 @@ async function readLayer(root, kind, name, folder, broken) {
|
|
|
112
113
|
folders.set(canonical, locale.name);
|
|
113
114
|
const byNamespace = new Map();
|
|
114
115
|
for (const file of await readdir(join(root, folder, locale.name), { withFileTypes: true })) {
|
|
115
|
-
if (!file.isFile() || !file.name.endsWith('.json'))
|
|
116
|
+
if (!file.isFile() || !file.name.endsWith('.json') || file.name.startsWith('.'))
|
|
116
117
|
continue;
|
|
117
118
|
const path = `${folder}/${locale.name}/${file.name}`;
|
|
118
119
|
const text = await readFile(join(root, path), 'utf8');
|
|
@@ -160,7 +161,7 @@ async function namedLayers(root, parent, kind, broken) {
|
|
|
160
161
|
}
|
|
161
162
|
const out = [];
|
|
162
163
|
for (const entry of entries
|
|
163
|
-
.filter((item) => item.isDirectory())
|
|
164
|
+
.filter((item) => item.isDirectory() && !item.name.startsWith('.'))
|
|
164
165
|
.sort((a, b) => (a.name < b.name ? -1 : 1))) {
|
|
165
166
|
const layer = await readLayer(root, kind, entry.name, `${parent}/${entry.name}/locales`, broken);
|
|
166
167
|
if (layer)
|
package/dist/output.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.4.
|
|
1
|
+
export declare const CLI_VERSION = "0.4.80";
|
|
2
2
|
export declare function envelope(command: string, result: unknown, ok?: boolean): object;
|
|
3
3
|
export declare function failure(command: string, error: unknown, mutationStarted: boolean): object;
|
package/dist/output.js
CHANGED