@tiangong-lca/cli 0.0.14 → 0.0.16

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/README.md CHANGED
@@ -17,8 +17,8 @@ checkPaths:
17
17
  - bin/**
18
18
  - src/cli.ts
19
19
  - src/main.ts
20
- lastReviewedAt: 2026-06-04
21
- lastReviewedCommit: 44d7a7450d1050ec2c4a76ebf97394698a89800c
20
+ lastReviewedAt: 2026-06-11
21
+ lastReviewedCommit: 98104c9d377fda260a0655f3871804b5c59d6f6b
22
22
  ---
23
23
 
24
24
  # TianGong LCA CLI
@@ -11,12 +11,37 @@
11
11
  "type": "string",
12
12
  "description": "Free text with an unlimited length."
13
13
  },
14
+ "Languages": {
15
+ "description": "TIDAS Languages enumeration.",
16
+ "type": "string",
17
+ "enum": [
18
+ "aa", "ab", "ae", "af", "ak", "am", "an", "ar", "as", "av",
19
+ "ay", "az", "ba", "be", "bg", "bh", "bi", "bm", "bn", "bo",
20
+ "br", "bs", "ca", "ce", "ch", "co", "cr", "cs", "cu", "cv",
21
+ "cy", "da", "de", "dv", "dz", "ee", "el", "en", "eo", "es",
22
+ "et", "eu", "fa", "ff", "fi", "fj", "fo", "fr", "fy", "ga",
23
+ "gd", "gl", "gn", "gu", "gv", "ha", "he", "hi", "ho", "hr",
24
+ "ht", "hu", "hy", "hz", "ia", "id", "ie", "ig", "ii", "ik",
25
+ "io", "is", "it", "iu", "ja", "jv", "ka", "kg", "ki", "kj",
26
+ "kk", "kl", "km", "kn", "ko", "kr", "ks", "ku", "kv", "kw",
27
+ "ky", "la", "lb", "lg", "li", "ln", "lo", "lt", "lu", "lv",
28
+ "mg", "mh", "mi", "mk", "ml", "mn", "mo", "mr", "ms", "mt",
29
+ "my", "na", "nb", "nd", "ne", "ng", "nl", "nn", "no", "nr",
30
+ "nv", "ny", "oc", "oj", "om", "or", "os", "pa", "pi", "pl",
31
+ "ps", "pt", "qu", "rm", "rn", "ro", "ru", "rw", "sa", "sc",
32
+ "sd", "se", "sg", "si", "sk", "sl", "sm", "sn", "so", "sq",
33
+ "sr", "ss", "st", "su", "sv", "sw", "ta", "te", "tg", "th",
34
+ "ti", "tk", "tl", "tn", "to", "tr", "ts", "tt", "tw", "ty",
35
+ "ug", "uk", "ur", "uz", "ve", "vi", "vo", "wa", "wo", "xh",
36
+ "yi", "yo", "za", "zh", "zu"
37
+ ]
38
+ },
14
39
  "LocalizedTextItem": {
15
40
  "description": "Language-tagged text with optional script checks for selected languages.",
16
41
  "type": "object",
17
42
  "properties": {
18
43
  "@xml:lang": {
19
- "type": "string"
44
+ "$ref": "#/$defs/Languages"
20
45
  },
21
46
  "#text": {
22
47
  "type": "string"
@@ -31,7 +56,7 @@
31
56
  "if": {
32
57
  "properties": {
33
58
  "@xml:lang": {
34
- "pattern": "^[zZ][hH](?:-|$)"
59
+ "const": "zh"
35
60
  }
36
61
  },
37
62
  "required": [
@@ -50,7 +75,7 @@
50
75
  "if": {
51
76
  "properties": {
52
77
  "@xml:lang": {
53
- "pattern": "^[eE][nN](?:-|$)"
78
+ "const": "en"
54
79
  }
55
80
  },
56
81
  "required": [
@@ -499,7 +499,8 @@
499
499
  "enum": [
500
500
  "Elementary flow",
501
501
  "Product flow",
502
- "Waste flow"
502
+ "Waste flow",
503
+ "Other flow"
503
504
  ]
504
505
  },
505
506
  "common:other": {
@@ -212,6 +212,7 @@
212
212
  "Natural resources",
213
213
  "Natural environment",
214
214
  "Human health",
215
+ "Man-made environment",
215
216
  "Other"
216
217
  ]
217
218
  },
@@ -570,7 +571,7 @@
570
571
  "Cross-check with other data set",
571
572
  "Expert judgement",
572
573
  "Mass balance",
573
- "Compliance with legal limitsRegulated Inputs and Outputs e.g. emission data are validated for compliance with legal limits, typically after relating and scaling the data to the regulated processes/sites etc.",
574
+ "Compliance with legal limits",
574
575
  "Compliance with ISO 14040 to 14044",
575
576
  "Documentation",
576
577
  "Evidence collection by means of plant visits and/or interviews"
@@ -597,7 +598,7 @@
597
598
  "Cross-check with other data set",
598
599
  "Expert judgement",
599
600
  "Mass balance",
600
- "Compliance with legal limitsRegulated Inputs and Outputs e.g. emission data are validated for compliance with legal limits, typically after relating and scaling the data to the regulated processes/sites etc.",
601
+ "Compliance with legal limits",
601
602
  "Compliance with ISO 14040 to 14044",
602
603
  "Documentation",
603
604
  "Evidence collection by means of plant visits and/or interviews"
@@ -653,7 +654,7 @@
653
654
  "Cross-check with other data set",
654
655
  "Expert judgement",
655
656
  "Mass balance",
656
- "Compliance with legal limitsRegulated Inputs and Outputs e.g. emission data are validated for compliance with legal limits, typically after relating and scaling the data to the regulated processes/sites etc.",
657
+ "Compliance with legal limits",
657
658
  "Compliance with ISO 14040 to 14044",
658
659
  "Documentation",
659
660
  "Evidence collection by means of plant visits and/or interviews"
@@ -680,7 +681,7 @@
680
681
  "Cross-check with other data set",
681
682
  "Expert judgement",
682
683
  "Mass balance",
683
- "Compliance with legal limitsRegulated Inputs and Outputs e.g. emission data are validated for compliance with legal limits, typically after relating and scaling the data to the regulated processes/sites etc.",
684
+ "Compliance with legal limits",
684
685
  "Compliance with ISO 14040 to 14044",
685
686
  "Documentation",
686
687
  "Evidence collection by means of plant visits and/or interviews"
@@ -1155,7 +1156,7 @@
1155
1156
  "enum": [
1156
1157
  "undefined",
1157
1158
  "log-normal",
1158
- "normalisation",
1159
+ "normal",
1159
1160
  "triangular",
1160
1161
  "uniform"
1161
1162
  ]
@@ -1245,7 +1246,7 @@
1245
1246
  "enum": [
1246
1247
  "undefined",
1247
1248
  "log-normal",
1248
- "normalisation",
1249
+ "normal",
1249
1250
  "triangular",
1250
1251
  "uniform"
1251
1252
  ]
package/dist/src/cli.js CHANGED
@@ -524,7 +524,7 @@ Options:
524
524
  --mapping-dir <dir> Optional custom mapping/reference data directory
525
525
  --language <lang> Default language for generated text (default: en)
526
526
  --validation-jobs <n> Parallel validation jobs passed to tidas-tools (default: 1)
527
- --process-bundles Write per-process dependency bundles (default: enabled)
527
+ --process-bundles Write per-process dependency bundles (default: enabled by tidas-tools)
528
528
  --process-bundles-dir <dir>
529
529
  Custom per-process bundle directory (default: <output-dir>/process-bundles)
530
530
  --no-process-bundles Disable per-process dependency bundle generation
@@ -539,7 +539,6 @@ Outputs written under --output-dir:
539
539
  - conversion-report.json
540
540
  - tidas/ when target includes TIDAS and not detect-only
541
541
  - ilcd/ when target includes ILCD and not detect-only
542
- - mapping.csv when not detect-only
543
542
  - process-bundles/ when not detect-only and process bundles are enabled
544
543
  - outputs/import-lca-report.json
545
544
  `.trim();