@ai-matrx/content-ir 0.19.25 → 0.19.26
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/CHANGELOG.md +6 -0
- package/dist/convert.cjs +19 -1
- package/dist/convert.cjs.map +1 -1
- package/dist/convert.js +19 -1
- package/dist/convert.js.map +1 -1
- package/dist/core.cjs +19 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +19 -1
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +19 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/dist/text-case.cjs +322 -0
- package/dist/text-case.cjs.map +1 -0
- package/dist/text-case.d.cts +81 -0
- package/dist/text-case.d.ts +81 -0
- package/dist/text-case.js +309 -0
- package/dist/text-case.js.map +1 -0
- package/package.json +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.19.26
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/content-ir-core/v0.19.25..npm/content-ir-core/v0.19.26 -- apps/shared/content-ir-core`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
3
9
|
## 0.19.25
|
|
4
10
|
|
|
5
11
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/convert.cjs
CHANGED
|
@@ -8,7 +8,7 @@ function scalarArrayItemType(type) {
|
|
|
8
8
|
return "string";
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// text-case.ts
|
|
12
12
|
var DEFAULT_WORD_REPLACEMENTS = {
|
|
13
13
|
// Acronyms & initialisms
|
|
14
14
|
"api": "API",
|
|
@@ -276,6 +276,24 @@ function formatText(text, options = {}) {
|
|
|
276
276
|
}
|
|
277
277
|
return result;
|
|
278
278
|
}
|
|
279
|
+
var IDENTIFIER_ACRONYMS = [
|
|
280
|
+
"ID",
|
|
281
|
+
"URL",
|
|
282
|
+
"PDF",
|
|
283
|
+
"HTML",
|
|
284
|
+
"JSON",
|
|
285
|
+
"API",
|
|
286
|
+
"AI",
|
|
287
|
+
"UI",
|
|
288
|
+
"CSV",
|
|
289
|
+
"SMS",
|
|
290
|
+
"SEO",
|
|
291
|
+
"LLM",
|
|
292
|
+
"MCP",
|
|
293
|
+
"UUID",
|
|
294
|
+
"ISO"
|
|
295
|
+
];
|
|
296
|
+
new Set(IDENTIFIER_ACRONYMS.map((a) => a.toLowerCase()));
|
|
279
297
|
|
|
280
298
|
// core/schema-structure.ts
|
|
281
299
|
function formatBlockLabel(key) {
|