@dokebi/cli 0.4.79 → 0.4.81

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 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.79",
4
+ "cli": "0.4.81",
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.79",
833
+ "version": "0.4.81",
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.7",
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.",
@@ -3677,7 +3677,7 @@
3677
3677
  {
3678
3678
  "id": "dokebi-web",
3679
3679
  "package": "@dokebi/web",
3680
- "version": "0.4.16",
3680
+ "version": "0.4.17",
3681
3681
  "kind": "plugin",
3682
3682
  "summary": "Fastify 5 HTTP server (503 before ready, health paths, drain, zero-downtime cluster replacement, security headers and overload protection on by default)",
3683
3683
  "description": "Fastify 5 HTTP server owned by a Dokebi app: 503 before ready, health routes, drain and cluster handover.",
@@ -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
- if (!locale.isDirectory())
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.79";
1
+ export declare const CLI_VERSION = "0.4.81";
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
@@ -1,5 +1,5 @@
1
1
  import { CliError } from './errors.js';
2
- export const CLI_VERSION = '0.4.79';
2
+ export const CLI_VERSION = '0.4.81';
3
3
  export function envelope(command, result, ok = true) {
4
4
  return { schemaVersion: 1, cliVersion: CLI_VERSION, command, ok, result, error: null };
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dokebi/cli",
3
- "version": "0.4.79",
3
+ "version": "0.4.81",
4
4
  "description": "Project scaffolding, plugin catalog, recipes, install and verification CLI for Dokebi.",
5
5
  "keywords": [
6
6
  "dokebi",