@localess/cli 3.0.3-dev.20260427074254 → 3.0.3-dev.20260427093804

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 (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -330,7 +330,7 @@ function N(e) {
330
330
  export interface ${e}ContentAsset {
331
331
  /** Define the type of Asset */
332
332
  kind: 'ASSET';
333
- /** Unique identifier for the asset. */
333
+ /** Unique identifier for the asset. */
334
334
  uri: string;
335
335
  }
336
336
 
@@ -426,7 +426,7 @@ function L(e, t = "") {
426
426
  " _id: string;",
427
427
  " /** Unique identifier for the Schema object. */",
428
428
  ` _schema: '${i}';`,
429
- ...(s.fields ?? []).flatMap((e) => {
429
+ ...(s.fields ?? []).slice().sort((e, t) => e.name.localeCompare(t.name)).flatMap((e) => {
430
430
  let n = F(e, t), r = e.required ? "" : "?", i = [];
431
431
  return e.description && i.push(` /** ${e.description} */`), i.push(` ${e.name}${r}: ${n};`), i;
432
432
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localess/cli",
3
- "version": "3.0.3-dev.20260427074254",
3
+ "version": "3.0.3-dev.20260427093804",
4
4
  "description": "Localess Command Line.",
5
5
  "keywords": [
6
6
  "localess",