@termdock/twlint 1.0.3 → 1.2.0

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 (43) hide show
  1. package/README.md +104 -17
  2. package/dist/cli.d.ts.map +1 -1
  3. package/dist/cli.js +18 -15
  4. package/dist/cli.js.map +1 -1
  5. package/dist/core/config-loader.d.ts +2 -2
  6. package/dist/core/config-loader.d.ts.map +1 -1
  7. package/dist/core/config-loader.js +1 -1
  8. package/dist/core/config-matcher.d.ts +58 -0
  9. package/dist/core/config-matcher.d.ts.map +1 -0
  10. package/dist/core/config-matcher.js +236 -0
  11. package/dist/core/config-matcher.js.map +1 -0
  12. package/dist/core/config-schema.d.ts +2 -1
  13. package/dist/core/config-schema.d.ts.map +1 -1
  14. package/dist/core/config-schema.js +30 -26
  15. package/dist/core/config-schema.js.map +1 -1
  16. package/dist/core/dictionary-loading-strategies.d.ts +1 -1
  17. package/dist/core/dictionary-loading-strategies.js +1 -1
  18. package/dist/core/dictionary-manager.d.ts +1 -1
  19. package/dist/core/dictionary-manager.d.ts.map +1 -1
  20. package/dist/core/dictionary-manager.js +76 -24
  21. package/dist/core/dictionary-manager.js.map +1 -1
  22. package/dist/core/ignore-file-loader.d.ts +29 -0
  23. package/dist/core/ignore-file-loader.d.ts.map +1 -0
  24. package/dist/core/ignore-file-loader.js +74 -0
  25. package/dist/core/ignore-file-loader.js.map +1 -0
  26. package/dist/core/linter.d.ts +42 -5
  27. package/dist/core/linter.d.ts.map +1 -1
  28. package/dist/core/linter.js +129 -38
  29. package/dist/core/linter.js.map +1 -1
  30. package/dist/dictionaries/academic.json +1 -1
  31. package/dist/dictionaries/ai-emerging-tech.json +1 -1
  32. package/dist/dictionaries/business-finance.json +1 -1
  33. package/dist/dictionaries/core.json +386 -2
  34. package/dist/dictionaries/hardware-3c.json +1 -1
  35. package/dist/dictionaries/index.json +4 -4
  36. package/dist/dictionaries/network-cloud.json +1 -1
  37. package/dist/dictionaries/operating-system.json +1 -1
  38. package/dist/dictionaries/social-media.json +1 -1
  39. package/dist/dictionaries/software-development.json +34 -2
  40. package/dist/dictionaries/user-interface.json +1 -1
  41. package/dist/types.d.ts +2 -0
  42. package/dist/types.d.ts.map +1 -1
  43. package/package.json +2 -2
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "metadata": {
3
3
  "name": "core",
4
- "version": "1.0.0",
5
- "entries": 142
4
+ "version": "1.2.0",
5
+ "entries": 157
6
6
  },
7
7
  "lookup": {
8
8
  "访问": {
@@ -4012,6 +4012,390 @@
4012
4012
  "reason": "台灣檔案操作標準",
4013
4013
  "match_type": "exact",
4014
4014
  "autofix_safe": true
4015
+ },
4016
+ "包含": {
4017
+ "taiwan": "包含",
4018
+ "confidence": 1,
4019
+ "category": "fixed-term",
4020
+ "reason": "避免 '包' 被錯誤匹配",
4021
+ "match_type": "exact",
4022
+ "autofix_safe": false
4023
+ },
4024
+ "包含_contain": {
4025
+ "taiwan": "包含",
4026
+ "confidence": 1,
4027
+ "category": "fixed-term",
4028
+ "reason": "避免 '包' 被錯誤匹配",
4029
+ "match_type": "exact",
4030
+ "autofix_safe": false
4031
+ },
4032
+ "包括": {
4033
+ "taiwan": "包括",
4034
+ "confidence": 1,
4035
+ "category": "fixed-term",
4036
+ "reason": "避免 '包' 被錯誤匹配",
4037
+ "match_type": "exact",
4038
+ "autofix_safe": false
4039
+ },
4040
+ "包括_include": {
4041
+ "taiwan": "包括",
4042
+ "confidence": 1,
4043
+ "category": "fixed-term",
4044
+ "reason": "避免 '包' 被錯誤匹配",
4045
+ "match_type": "exact",
4046
+ "autofix_safe": false
4047
+ },
4048
+ "包装": {
4049
+ "taiwan": "包裝",
4050
+ "confidence": 1,
4051
+ "category": "fixed-term",
4052
+ "reason": "避免 '包' 被錯誤匹配",
4053
+ "match_type": "exact",
4054
+ "autofix_safe": false
4055
+ },
4056
+ "包装_packaging": {
4057
+ "taiwan": "包裝",
4058
+ "confidence": 1,
4059
+ "category": "fixed-term",
4060
+ "reason": "避免 '包' 被錯誤匹配",
4061
+ "match_type": "exact",
4062
+ "autofix_safe": false
4063
+ },
4064
+ "包裝": {
4065
+ "taiwan": "包裝",
4066
+ "confidence": 1,
4067
+ "category": "fixed-term",
4068
+ "reason": "避免 '包' 被錯誤匹配",
4069
+ "match_type": "exact",
4070
+ "autofix_safe": false
4071
+ },
4072
+ "包裝_packaging": {
4073
+ "taiwan": "包裝",
4074
+ "confidence": 1,
4075
+ "category": "fixed-term",
4076
+ "reason": "避免 '包' 被錯誤匹配",
4077
+ "match_type": "exact",
4078
+ "autofix_safe": false
4079
+ },
4080
+ "人类": {
4081
+ "taiwan": "人類",
4082
+ "confidence": 1,
4083
+ "category": "fixed-term",
4084
+ "reason": "避免 '类' 被錯誤匹配",
4085
+ "match_type": "exact",
4086
+ "autofix_safe": false
4087
+ },
4088
+ "人类_human": {
4089
+ "taiwan": "人類",
4090
+ "confidence": 1,
4091
+ "category": "fixed-term",
4092
+ "reason": "避免 '类' 被錯誤匹配",
4093
+ "match_type": "exact",
4094
+ "autofix_safe": false
4095
+ },
4096
+ "人類": {
4097
+ "taiwan": "人類",
4098
+ "confidence": 1,
4099
+ "category": "fixed-term",
4100
+ "reason": "避免 '类' 被錯誤匹配",
4101
+ "match_type": "exact",
4102
+ "autofix_safe": false
4103
+ },
4104
+ "人類_human": {
4105
+ "taiwan": "人類",
4106
+ "confidence": 1,
4107
+ "category": "fixed-term",
4108
+ "reason": "避免 '类' 被錯誤匹配",
4109
+ "match_type": "exact",
4110
+ "autofix_safe": false
4111
+ },
4112
+ "种类": {
4113
+ "taiwan": "種類",
4114
+ "confidence": 1,
4115
+ "category": "fixed-term",
4116
+ "reason": "避免 '类' 被錯誤匹配",
4117
+ "match_type": "exact",
4118
+ "autofix_safe": false
4119
+ },
4120
+ "种类_kind": {
4121
+ "taiwan": "種類",
4122
+ "confidence": 1,
4123
+ "category": "fixed-term",
4124
+ "reason": "避免 '类' 被錯誤匹配",
4125
+ "match_type": "exact",
4126
+ "autofix_safe": false
4127
+ },
4128
+ "種類": {
4129
+ "taiwan": "種類",
4130
+ "confidence": 1,
4131
+ "category": "fixed-term",
4132
+ "reason": "避免 '类' 被錯誤匹配",
4133
+ "match_type": "exact",
4134
+ "autofix_safe": false
4135
+ },
4136
+ "種類_kind": {
4137
+ "taiwan": "種類",
4138
+ "confidence": 1,
4139
+ "category": "fixed-term",
4140
+ "reason": "避免 '类' 被錯誤匹配",
4141
+ "match_type": "exact",
4142
+ "autofix_safe": false
4143
+ },
4144
+ "多云": {
4145
+ "taiwan": "多雲",
4146
+ "confidence": 1,
4147
+ "category": "fixed-term",
4148
+ "reason": "避免 '云' 被錯誤匹配",
4149
+ "match_type": "exact",
4150
+ "autofix_safe": false
4151
+ },
4152
+ "多云_cloudy": {
4153
+ "taiwan": "多雲",
4154
+ "confidence": 1,
4155
+ "category": "fixed-term",
4156
+ "reason": "避免 '云' 被錯誤匹配",
4157
+ "match_type": "exact",
4158
+ "autofix_safe": false
4159
+ },
4160
+ "多雲": {
4161
+ "taiwan": "多雲",
4162
+ "confidence": 1,
4163
+ "category": "fixed-term",
4164
+ "reason": "避免 '云' 被錯誤匹配",
4165
+ "match_type": "exact",
4166
+ "autofix_safe": false
4167
+ },
4168
+ "多雲_cloudy": {
4169
+ "taiwan": "多雲",
4170
+ "confidence": 1,
4171
+ "category": "fixed-term",
4172
+ "reason": "避免 '云' 被錯誤匹配",
4173
+ "match_type": "exact",
4174
+ "autofix_safe": false
4175
+ },
4176
+ "区域": {
4177
+ "taiwan": "區域",
4178
+ "confidence": 1,
4179
+ "category": "fixed-term",
4180
+ "reason": "避免 '域' 被錯誤匹配",
4181
+ "match_type": "exact",
4182
+ "autofix_safe": false
4183
+ },
4184
+ "区域_region": {
4185
+ "taiwan": "區域",
4186
+ "confidence": 1,
4187
+ "category": "fixed-term",
4188
+ "reason": "避免 '域' 被錯誤匹配",
4189
+ "match_type": "exact",
4190
+ "autofix_safe": false
4191
+ },
4192
+ "區域": {
4193
+ "taiwan": "區域",
4194
+ "confidence": 1,
4195
+ "category": "fixed-term",
4196
+ "reason": "避免 '域' 被錯誤匹配",
4197
+ "match_type": "exact",
4198
+ "autofix_safe": false
4199
+ },
4200
+ "區域_region": {
4201
+ "taiwan": "區域",
4202
+ "confidence": 1,
4203
+ "category": "fixed-term",
4204
+ "reason": "避免 '域' 被錯誤匹配",
4205
+ "match_type": "exact",
4206
+ "autofix_safe": false
4207
+ },
4208
+ "领域": {
4209
+ "taiwan": "領域",
4210
+ "confidence": 1,
4211
+ "category": "fixed-term",
4212
+ "reason": "避免 '域' 被錯誤匹配",
4213
+ "match_type": "exact",
4214
+ "autofix_safe": false
4215
+ },
4216
+ "领域_field_domain": {
4217
+ "taiwan": "領域",
4218
+ "confidence": 1,
4219
+ "category": "fixed-term",
4220
+ "reason": "避免 '域' 被錯誤匹配",
4221
+ "match_type": "exact",
4222
+ "autofix_safe": false
4223
+ },
4224
+ "領域": {
4225
+ "taiwan": "領域",
4226
+ "confidence": 1,
4227
+ "category": "fixed-term",
4228
+ "reason": "避免 '域' 被錯誤匹配",
4229
+ "match_type": "exact",
4230
+ "autofix_safe": false
4231
+ },
4232
+ "領域_field_domain": {
4233
+ "taiwan": "領域",
4234
+ "confidence": 1,
4235
+ "category": "fixed-term",
4236
+ "reason": "避免 '域' 被錯誤匹配",
4237
+ "match_type": "exact",
4238
+ "autofix_safe": false
4239
+ },
4240
+ "客栈": {
4241
+ "taiwan": "客棧",
4242
+ "confidence": 1,
4243
+ "category": "fixed-term",
4244
+ "reason": "避免 '栈' 被錯誤匹配",
4245
+ "match_type": "exact",
4246
+ "autofix_safe": false
4247
+ },
4248
+ "客栈_inn": {
4249
+ "taiwan": "客棧",
4250
+ "confidence": 1,
4251
+ "category": "fixed-term",
4252
+ "reason": "避免 '栈' 被錯誤匹配",
4253
+ "match_type": "exact",
4254
+ "autofix_safe": false
4255
+ },
4256
+ "客棧": {
4257
+ "taiwan": "客棧",
4258
+ "confidence": 1,
4259
+ "category": "fixed-term",
4260
+ "reason": "避免 '栈' 被錯誤匹配",
4261
+ "match_type": "exact",
4262
+ "autofix_safe": false
4263
+ },
4264
+ "客棧_inn": {
4265
+ "taiwan": "客棧",
4266
+ "confidence": 1,
4267
+ "category": "fixed-term",
4268
+ "reason": "避免 '栈' 被錯誤匹配",
4269
+ "match_type": "exact",
4270
+ "autofix_safe": false
4271
+ },
4272
+ "栈道": {
4273
+ "taiwan": "棧道",
4274
+ "confidence": 1,
4275
+ "category": "fixed-term",
4276
+ "reason": "避免 '栈' 被錯誤匹配",
4277
+ "match_type": "exact",
4278
+ "autofix_safe": false
4279
+ },
4280
+ "栈道_plank_road": {
4281
+ "taiwan": "棧道",
4282
+ "confidence": 1,
4283
+ "category": "fixed-term",
4284
+ "reason": "避免 '栈' 被錯誤匹配",
4285
+ "match_type": "exact",
4286
+ "autofix_safe": false
4287
+ },
4288
+ "棧道": {
4289
+ "taiwan": "棧道",
4290
+ "confidence": 1,
4291
+ "category": "fixed-term",
4292
+ "reason": "避免 '栈' 被錯誤匹配",
4293
+ "match_type": "exact",
4294
+ "autofix_safe": false
4295
+ },
4296
+ "棧道_plank_road": {
4297
+ "taiwan": "棧道",
4298
+ "confidence": 1,
4299
+ "category": "fixed-term",
4300
+ "reason": "避免 '栈' 被錯誤匹配",
4301
+ "match_type": "exact",
4302
+ "autofix_safe": false
4303
+ },
4304
+ "河流": {
4305
+ "taiwan": "河流",
4306
+ "confidence": 1,
4307
+ "category": "fixed-term",
4308
+ "reason": "避免 '流' 被錯誤匹配",
4309
+ "match_type": "exact",
4310
+ "autofix_safe": false
4311
+ },
4312
+ "河流_river": {
4313
+ "taiwan": "河流",
4314
+ "confidence": 1,
4315
+ "category": "fixed-term",
4316
+ "reason": "避免 '流' 被錯誤匹配",
4317
+ "match_type": "exact",
4318
+ "autofix_safe": false
4319
+ },
4320
+ "交流": {
4321
+ "taiwan": "交流",
4322
+ "confidence": 1,
4323
+ "category": "fixed-term",
4324
+ "reason": "避免 '流' 被錯誤匹配",
4325
+ "match_type": "exact",
4326
+ "autofix_safe": false
4327
+ },
4328
+ "交流_communicate": {
4329
+ "taiwan": "交流",
4330
+ "confidence": 1,
4331
+ "category": "fixed-term",
4332
+ "reason": "避免 '流' 被錯誤匹配",
4333
+ "match_type": "exact",
4334
+ "autofix_safe": false
4335
+ },
4336
+ "考卷": {
4337
+ "taiwan": "考卷",
4338
+ "confidence": 1,
4339
+ "category": "fixed-term",
4340
+ "reason": "避免 '卷' 被錯誤匹配",
4341
+ "match_type": "exact",
4342
+ "autofix_safe": false
4343
+ },
4344
+ "考卷_exam_paper": {
4345
+ "taiwan": "考卷",
4346
+ "confidence": 1,
4347
+ "category": "fixed-term",
4348
+ "reason": "避免 '卷' 被錯誤匹配",
4349
+ "match_type": "exact",
4350
+ "autofix_safe": false
4351
+ },
4352
+ "问卷": {
4353
+ "taiwan": "問卷",
4354
+ "confidence": 1,
4355
+ "category": "fixed-term",
4356
+ "reason": "避免 '卷' 被錯誤匹配",
4357
+ "match_type": "exact",
4358
+ "autofix_safe": false
4359
+ },
4360
+ "问卷_questionnaire": {
4361
+ "taiwan": "問卷",
4362
+ "confidence": 1,
4363
+ "category": "fixed-term",
4364
+ "reason": "避免 '卷' 被錯誤匹配",
4365
+ "match_type": "exact",
4366
+ "autofix_safe": false
4367
+ },
4368
+ "問卷": {
4369
+ "taiwan": "問卷",
4370
+ "confidence": 1,
4371
+ "category": "fixed-term",
4372
+ "reason": "避免 '卷' 被錯誤匹配",
4373
+ "match_type": "exact",
4374
+ "autofix_safe": false
4375
+ },
4376
+ "問卷_questionnaire": {
4377
+ "taiwan": "問卷",
4378
+ "confidence": 1,
4379
+ "category": "fixed-term",
4380
+ "reason": "避免 '卷' 被錯誤匹配",
4381
+ "match_type": "exact",
4382
+ "autofix_safe": false
4383
+ },
4384
+ "土堆": {
4385
+ "taiwan": "土堆",
4386
+ "confidence": 1,
4387
+ "category": "fixed-term",
4388
+ "reason": "避免 '堆' 被錯誤匹配",
4389
+ "match_type": "exact",
4390
+ "autofix_safe": false
4391
+ },
4392
+ "土堆_mound": {
4393
+ "taiwan": "土堆",
4394
+ "confidence": 1,
4395
+ "category": "fixed-term",
4396
+ "reason": "避免 '堆' 被錯誤匹配",
4397
+ "match_type": "exact",
4398
+ "autofix_safe": false
4015
4399
  }
4016
4400
  }
4017
4401
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "name": "hardware-3c",
4
- "version": "1.0.0",
4
+ "version": "1.2.0",
5
5
  "entries": 89
6
6
  },
7
7
  "lookup": {
@@ -26,7 +26,7 @@
26
26
  "description": "核心詞庫",
27
27
  "type": "core",
28
28
  "required": true,
29
- "entries": 142
29
+ "entries": 157
30
30
  },
31
31
  {
32
32
  "name": "extended",
@@ -68,7 +68,7 @@
68
68
  "description": "軟體開發",
69
69
  "type": "domain",
70
70
  "required": false,
71
- "entries": 117
71
+ "entries": 118
72
72
  },
73
73
  {
74
74
  "name": "user-interface",
@@ -78,6 +78,6 @@
78
78
  "entries": 106
79
79
  }
80
80
  ],
81
- "version": "1.0.0",
82
- "buildTime": "2025-10-19T08:55:43.184Z"
81
+ "version": "1.2.0",
82
+ "buildTime": "2026-02-19T06:57:21.924Z"
83
83
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "name": "network-cloud",
4
- "version": "1.0.0",
4
+ "version": "1.2.0",
5
5
  "entries": 111
6
6
  },
7
7
  "lookup": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "name": "operating-system",
4
- "version": "1.0.0",
4
+ "version": "1.2.0",
5
5
  "entries": 97
6
6
  },
7
7
  "lookup": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "name": "social-media",
4
- "version": "1.0.0",
4
+ "version": "1.2.0",
5
5
  "entries": 97
6
6
  },
7
7
  "lookup": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "metadata": {
3
3
  "name": "software-development",
4
- "version": "1.0.0",
5
- "entries": 117
4
+ "version": "1.2.0",
5
+ "entries": 118
6
6
  },
7
7
  "lookup": {
8
8
  "算法": {
@@ -1909,6 +1909,38 @@
1909
1909
  "match_type": "exact",
1910
1910
  "autofix_safe": true
1911
1911
  },
1912
+ "鲁棒性": {
1913
+ "taiwan": "穩健性",
1914
+ "confidence": 0.95,
1915
+ "category": "mainland-term",
1916
+ "reason": "台灣標準意譯",
1917
+ "match_type": "exact",
1918
+ "autofix_safe": true
1919
+ },
1920
+ "鲁棒性_robustness": {
1921
+ "taiwan": "穩健性",
1922
+ "confidence": 0.95,
1923
+ "category": "mainland-term",
1924
+ "reason": "台灣標準意譯",
1925
+ "match_type": "exact",
1926
+ "autofix_safe": true
1927
+ },
1928
+ "魯棒性": {
1929
+ "taiwan": "穩健性",
1930
+ "confidence": 0.95,
1931
+ "category": "mainland-term",
1932
+ "reason": "台灣標準意譯",
1933
+ "match_type": "exact",
1934
+ "autofix_safe": true
1935
+ },
1936
+ "魯棒性_robustness": {
1937
+ "taiwan": "穩健性",
1938
+ "confidence": 0.95,
1939
+ "category": "mainland-term",
1940
+ "reason": "台灣標準意譯",
1941
+ "match_type": "exact",
1942
+ "autofix_safe": true
1943
+ },
1912
1944
  "回滚": {
1913
1945
  "taiwan": "回溯",
1914
1946
  "confidence": 0.9,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "name": "user-interface",
4
- "version": "1.0.0",
4
+ "version": "1.2.0",
5
5
  "entries": 106
6
6
  },
7
7
  "lookup": {
package/dist/types.d.ts CHANGED
@@ -14,10 +14,12 @@ export interface LintResult {
14
14
  }
15
15
  export interface TWLintConfig {
16
16
  files?: string[];
17
+ ignores?: string[];
17
18
  dictionaries?: string[];
18
19
  domains?: string[];
19
20
  rules?: Record<string, 'error' | 'warning' | 'info' | 'off'>;
20
21
  }
22
+ export type TWLintUserConfig = TWLintConfig | TWLintConfig[];
21
23
  export type MatchType = 'exact' | 'word_boundary' | 'context_sensitive';
22
24
  export interface ContextRule {
23
25
  before?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,KAAK,EAAE,CAAA;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,CAAC,CAAA;CAC7D;AAED,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,eAAe,GAAG,mBAAmB,CAAA;AAEvE,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,EAA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A;QACf,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;CACxC;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAA;CACxE;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC;AAED,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;IACzD,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAAA;IACrC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CACpC;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,CAAA;CACtC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@termdock/twlint",
3
- "version": "1.0.3",
3
+ "version": "1.2.0",
4
4
  "description": "A CLI tool for detecting simplified Chinese terms and suggesting Taiwan traditional alternatives",
5
5
  "main": "dist/cli.js",
6
6
  "type": "module",
@@ -74,4 +74,4 @@
74
74
  "engines": {
75
75
  "node": ">=18.0.0"
76
76
  }
77
- }
77
+ }