starlight-fsharp-oracle 0.1.1 → 0.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.
- package/dist/Extensions/TextNode.js +7 -3
- package/dist/Plugin.js +2 -1
- package/dist/Render/Pages.js +7 -8
- package/dist/Render/Primitives.js +18 -1
- package/dist/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -0
- package/dist/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +0 -0
- package/dist/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -0
- package/dist/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.0.9.0/Decode.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.0.9.0/DecoderCE.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.0.9.0/Encode.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.0.9.0/Thoth.Json.Core.fableproj +0 -0
- package/dist/fable_modules/Thoth.Json.Core.0.9.0/Types.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.Auto.0.1.0/Casing.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.Auto.0.1.0/Decode.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.Auto.0.1.0/Domain.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.Auto.0.1.0/Encode.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.Auto.0.1.0/Prelude.fs +0 -0
- package/dist/fable_modules/Thoth.Json.Core.Auto.0.1.0/Thoth.Json.Core.Auto.fableproj +0 -0
- package/dist/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs +0 -0
- package/dist/fable_modules/Thoth.Json.JavaScript.0.5.0/Encode.fs +0 -0
- package/dist/fable_modules/Thoth.Json.JavaScript.0.5.0/Thoth.Json.JavaScript.fableproj +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Array.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Async.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/AsyncBuilder.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/BigInt.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/BitConverter.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Boolean.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/CHANGELOG.md +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Char.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Choice.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/CollectionUtil.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/ConditionalWeakTable.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Date.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/DateOffset.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/DateOnly.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Decimal.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Double.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Encoding.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Event.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/FSharp.Collections.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/FSharp.Core.CompilerServices.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/FSharp.Core.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Global.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Guid.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Int32.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/List.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Long.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/MailboxProcessor.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Map.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/MapUtil.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/MutableMap.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/MutableSet.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Native.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Numeric.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Observable.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Option.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/README.md +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Random.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Range.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Reflection.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/RegExp.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Result.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Seq.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Seq2.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Set.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/String.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/System.Collections.Generic.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/System.Text.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/System.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/TimeOnly.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/TimeSpan.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Timer.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Types.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Unicode.13.0.0.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Uri.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/Util.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/big.d.ts +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/lib/big.js +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/package.json +0 -0
- package/dist/fable_modules/fable-library-js.5.0.0-rc.7/quotation.js +0 -0
- package/package.json +7 -8
- package/packages/FSharp.Oracle/XmlDoc.fs +12 -1
- package/packages/FSharp.Oracle/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.fs +3 -0
- package/packages/FSharp.Oracle/obj/Debug/net10.0/FSharp.Oracle.AssemblyInfo.fs +17 -0
- package/packages/FSharp.Oracle/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.fs +3 -0
- package/packages/FSharp.Oracle/obj/Release/net10.0/FSharp.Oracle.AssemblyInfo.fs +17 -0
- package/packages/FSharp.Oracle.Schema/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.fs +3 -0
- package/packages/FSharp.Oracle.Schema/obj/Debug/net10.0/FSharp.Oracle.Schema.AssemblyInfo.fs +17 -0
- package/packages/FSharp.Oracle.Schema/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.fs +3 -0
- package/packages/FSharp.Oracle.Schema/obj/Release/net10.0/FSharp.Oracle.Schema.AssemblyInfo.fs +17 -0
|
@@ -9,6 +9,10 @@ function escapeJsx(s) {
|
|
|
9
9
|
return replace(replace(s, "{", "{"), "}", "}");
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
function escapeText(s) {
|
|
13
|
+
return replace(replace(replace(replace(replace(s, "&", "&"), "<", "<"), ">", ">"), "{", "{"), "}", "}");
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
export function wrapWithClass(cls, text) {
|
|
13
17
|
return `<span class="${cls}">${escapeJsx(text)}</span>`;
|
|
14
18
|
}
|
|
@@ -36,7 +40,7 @@ export function FSharp_Oracle_Schema_TextNode__TextNode_get_Html(this$) {
|
|
|
36
40
|
case 11:
|
|
37
41
|
return wrapInKeyword(",");
|
|
38
42
|
case 9:
|
|
39
|
-
return " ";
|
|
43
|
+
return " ‌";
|
|
40
44
|
case 17:
|
|
41
45
|
return wrapInKeyword(">");
|
|
42
46
|
case 16:
|
|
@@ -58,7 +62,7 @@ export function FSharp_Oracle_Schema_TextNode__TextNode_get_Html(this$) {
|
|
|
58
62
|
case 3:
|
|
59
63
|
return wrapInKeyword(this$.fields[0]);
|
|
60
64
|
case 18:
|
|
61
|
-
return wrapInKeyword("
|
|
65
|
+
return wrapInKeyword("*");
|
|
62
66
|
case 1:
|
|
63
67
|
return wrapWithClass("fsharp-doc-type", `<a href="${this$.fields[2]}">${this$.fields[0]}</a>`);
|
|
64
68
|
case 2:
|
|
@@ -80,7 +84,7 @@ export function FSharp_Oracle_Schema_TextNode__TextNode_get_Html(this$) {
|
|
|
80
84
|
case 10:
|
|
81
85
|
return FSharp_Oracle_Schema_TextNode__TextNode_ToHtml_Static_5FC7EAAF(new TextNode(19, [toList(delay(() => collect((matchValue) => singleton(new TextNode(9, [])), rangeDouble(1, 1, this$.fields[0]))))]));
|
|
82
86
|
default:
|
|
83
|
-
return
|
|
87
|
+
return escapeText(this$.fields[0]);
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
90
|
|
package/dist/Plugin.js
CHANGED
|
@@ -58,7 +58,8 @@ function starlightFSharpDoc(pluginOptions) {
|
|
|
58
58
|
});
|
|
59
59
|
return createRenderer({}).then((_arg) => {
|
|
60
60
|
let matchValue, matchValue_1, msg;
|
|
61
|
-
const
|
|
61
|
+
const layerOrder = "@layer starlight.base, starlight.reset, starlight.core, starlight.content, starlight.components, starlight.utils;\n";
|
|
62
|
+
const themesCss = layerOrder + generateCss(_arg);
|
|
62
63
|
const outputBase = defaultArg(pluginOptions.output, "api");
|
|
63
64
|
const root = runExtractor(logger, outputBase, toList(pluginOptions.assemblies));
|
|
64
65
|
const modules = collect((_arg_1) => _arg_1.Modules, root.Assemblies);
|
package/dist/Render/Pages.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { isEmpty } from "../fable_modules/fable-library-js.5.0.0-rc.7/List.js";
|
|
3
|
-
import { tocH3, renderObsoleteBanner,
|
|
3
|
+
import { tocH3, inlineSignatureHtml, renderObsoleteBanner, escapeMdxInline, obsoleteInlineHtml, h2 } from "./Primitives.js";
|
|
4
4
|
import { System_Text_StringBuilder__StringBuilder_Write_Z721C83C5, System_Text_StringBuilder__StringBuilder_NewLine, System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5 } from "../Extensions/StringBuilder.js";
|
|
5
5
|
import { disposeSafe, getEnumerator } from "../fable_modules/fable-library-js.5.0.0-rc.7/Util.js";
|
|
6
6
|
import { concat } from "../fable_modules/fable-library-js.5.0.0-rc.7/String.js";
|
|
@@ -26,7 +26,7 @@ export function renderDeclaredModules(sb, toc, htmlLinkGen, modules) {
|
|
|
26
26
|
if (matchValue == null) {
|
|
27
27
|
}
|
|
28
28
|
else {
|
|
29
|
-
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, concat("<dd>",
|
|
29
|
+
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, concat("<dd>", escapeMdxInline(matchValue), ..."</dd>"));
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -45,9 +45,8 @@ export function renderEntityPage(htmlLinkGen, entity, parentModule) {
|
|
|
45
45
|
System_Text_StringBuilder__StringBuilder_NewLine(sb);
|
|
46
46
|
renderObsoleteBanner(sb, Entity__get_ObsoleteInfo(entity));
|
|
47
47
|
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, "<div class=\"not-content\">");
|
|
48
|
-
|
|
49
|
-
System_Text_StringBuilder__StringBuilder_Write_Z721C83C5(sb, FSharp_Oracle_Schema_TextNode__TextNode_get_Html(Entity__get_Declaration(entity)));
|
|
50
|
-
System_Text_StringBuilder__StringBuilder_NewLine(sb);
|
|
48
|
+
System_Text_StringBuilder__StringBuilder_Write_Z721C83C5(sb, "<div class=\"fsharp-doc-sig\">");
|
|
49
|
+
System_Text_StringBuilder__StringBuilder_Write_Z721C83C5(sb, inlineSignatureHtml(FSharp_Oracle_Schema_TextNode__TextNode_get_Html(Entity__get_Declaration(entity))));
|
|
51
50
|
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, "</div>");
|
|
52
51
|
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, "</div>");
|
|
53
52
|
System_Text_StringBuilder__StringBuilder_NewLine(sb);
|
|
@@ -159,7 +158,7 @@ export function renderNamespacePage(htmlLinkGen, ns, subNamespaces, entities, mo
|
|
|
159
158
|
if (matchValue == null) {
|
|
160
159
|
}
|
|
161
160
|
else {
|
|
162
|
-
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, concat("<dd>",
|
|
161
|
+
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, concat("<dd>", escapeMdxInline(matchValue), ..."</dd>"));
|
|
163
162
|
}
|
|
164
163
|
}
|
|
165
164
|
}
|
|
@@ -190,7 +189,7 @@ export function renderModulePage(htmlLinkGen, m, subModules) {
|
|
|
190
189
|
if (matchValue == null) {
|
|
191
190
|
}
|
|
192
191
|
else {
|
|
193
|
-
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, concat("<dd>",
|
|
192
|
+
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, concat("<dd>", escapeMdxInline(matchValue), ..."</dd>"));
|
|
194
193
|
}
|
|
195
194
|
}
|
|
196
195
|
}
|
|
@@ -252,7 +251,7 @@ export function renderRootIndexPage(htmlLinkGen, assemblies, globalModules) {
|
|
|
252
251
|
if (matchValue == null) {
|
|
253
252
|
}
|
|
254
253
|
else {
|
|
255
|
-
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, concat("<dd>",
|
|
254
|
+
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, concat("<dd>", escapeMdxInline(matchValue), ..."</dd>"));
|
|
256
255
|
}
|
|
257
256
|
}
|
|
258
257
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { concat, replace } from "../fable_modules/fable-library-js.5.0.0-rc.7/String.js";
|
|
3
|
+
import { replace as replace_1 } from "../fable_modules/fable-library-js.5.0.0-rc.7/RegExp.js";
|
|
3
4
|
import { TocEntry } from "./Types.js";
|
|
4
5
|
import { System_Text_StringBuilder__StringBuilder_Write_Z721C83C5, System_Text_StringBuilder__StringBuilder_NewLine, System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5 } from "../Extensions/StringBuilder.js";
|
|
5
6
|
import { indexed, head, tail, isEmpty } from "../fable_modules/fable-library-js.5.0.0-rc.7/List.js";
|
|
@@ -13,6 +14,22 @@ export function escapeMdxText(text) {
|
|
|
13
14
|
return replace(replace(replace(replace(replace(text, "&", "&"), "<", "<"), ">", ">"), "{", "{"), "}", "}");
|
|
14
15
|
}
|
|
15
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Collapse whitespace runs before escaping, so a blank line can't be read as
|
|
19
|
+
* a paragraph break that closes an inline element like `<dd>` early.
|
|
20
|
+
*/
|
|
21
|
+
export function escapeMdxInline(text) {
|
|
22
|
+
return escapeMdxText(replace_1(text, "\\s+", " ").trim());
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* MDX reflows multi-line raw HTML as a markdown paragraph, collapsing layout.
|
|
27
|
+
* Convert newlines to <br/> so the signature block renders verbatim.
|
|
28
|
+
*/
|
|
29
|
+
export function inlineSignatureHtml(html) {
|
|
30
|
+
return replace(html, "\n", "<br/>");
|
|
31
|
+
}
|
|
32
|
+
|
|
16
33
|
export function h2(sb, toc, slug, text) {
|
|
17
34
|
void (toc.push(new TocEntry(2, slug, text)));
|
|
18
35
|
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, `<h2 id="${slug}">${text}</h2>`);
|
|
@@ -27,7 +44,7 @@ export function renderDocEntry(sb, name, signatureHtml, obsoleteInfo, renderDocu
|
|
|
27
44
|
const patternInput = (obsoleteInfo.tag === 1) ? [" obsolete", ""] : ((obsoleteInfo.tag === 2) ? [" obsolete", concat(" obsoleteMessage=\"", replace(obsoleteInfo.fields[0], "\"", """), ..."\"")] : ["", ""]);
|
|
28
45
|
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, `<DocEntry name="${name}"${patternInput[0]}${patternInput[1]}>`);
|
|
29
46
|
System_Text_StringBuilder__StringBuilder_Write_Z721C83C5(sb, "<div class=\"fsharp-doc-sig\" slot=\"signature\">");
|
|
30
|
-
System_Text_StringBuilder__StringBuilder_Write_Z721C83C5(sb, signatureHtml);
|
|
47
|
+
System_Text_StringBuilder__StringBuilder_Write_Z721C83C5(sb, inlineSignatureHtml(signatureHtml));
|
|
31
48
|
System_Text_StringBuilder__StringBuilder_WriteLine_Z721C83C5(sb, "</div>");
|
|
32
49
|
System_Text_StringBuilder__StringBuilder_NewLine(sb);
|
|
33
50
|
renderDocumentation();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "starlight-fsharp-oracle",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/Plugin.js",
|
|
@@ -21,18 +21,17 @@
|
|
|
21
21
|
"Directory.Build.props",
|
|
22
22
|
"Directory.Packages.props"
|
|
23
23
|
],
|
|
24
|
-
"scripts": {
|
|
25
|
-
"postinstall": "dotnet publish packages/FSharp.Oracle/FSharp.Oracle.fsproj -c Release --nologo -o oracle-bin",
|
|
26
|
-
"prepack": "dotnet fable packages/Starlight.FSharp.Oracle/ --outDir dist --noCache && rm dist/fable_modules/.gitignore"
|
|
27
|
-
},
|
|
28
24
|
"peerDependencies": {
|
|
29
25
|
"@astrojs/starlight": ">= 0.38.0",
|
|
30
26
|
"astro-expressive-code": ">= 0.38.0"
|
|
31
27
|
},
|
|
32
28
|
"devDependencies": {
|
|
33
29
|
"@hideoo/tsconfig": "^2.0.3",
|
|
34
|
-
"@types/node": "^
|
|
35
|
-
"astro-expressive-code": "^0.
|
|
36
|
-
"typescript": "^
|
|
30
|
+
"@types/node": "^26.1.1",
|
|
31
|
+
"astro-expressive-code": "^0.44.1",
|
|
32
|
+
"typescript": "^7.0.2"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"postinstall": "dotnet publish packages/FSharp.Oracle/FSharp.Oracle.fsproj -c Release --nologo -o oracle-bin"
|
|
37
36
|
}
|
|
38
37
|
}
|
|
@@ -417,7 +417,18 @@ let loadXmlDocFile (dllPath: string) : Map<string, string> =
|
|
|
417
417
|
if not (System.IO.File.Exists xmlPath) then
|
|
418
418
|
Map.empty
|
|
419
419
|
else
|
|
420
|
-
let
|
|
420
|
+
let rawXmlText = System.IO.File.ReadAllText(xmlPath)
|
|
421
|
+
|
|
422
|
+
// The F# compiler can emit unescaped `<`/`>` in member IDs (e.g. `<>f__AnonymousType...`),
|
|
423
|
+
// breaking XML parsing. Escape them inside `name="..."`; XDocument decodes them back unchanged.
|
|
424
|
+
let xmlText =
|
|
425
|
+
System.Text.RegularExpressions.Regex.Replace(
|
|
426
|
+
rawXmlText,
|
|
427
|
+
"name=\"([^\"]*)\"",
|
|
428
|
+
fun m ->
|
|
429
|
+
let escaped = m.Groups.[1].Value.Replace("<", "<").Replace(">", ">")
|
|
430
|
+
$"name=\"{escaped}\""
|
|
431
|
+
)
|
|
421
432
|
|
|
422
433
|
let doc =
|
|
423
434
|
try
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// <auto-generated>
|
|
2
|
+
// Generated by the FSharp WriteCodeFragment class.
|
|
3
|
+
// </auto-generated>
|
|
4
|
+
namespace FSharp
|
|
5
|
+
|
|
6
|
+
open System
|
|
7
|
+
open System.Reflection
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
[<assembly: System.Reflection.AssemblyCompanyAttribute("Maxime Mangel")>]
|
|
11
|
+
[<assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")>]
|
|
12
|
+
[<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
|
|
13
|
+
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+9cf322dca5c1f2a47e07d303280038721094e741")>]
|
|
14
|
+
[<assembly: System.Reflection.AssemblyProductAttribute("Oracle")>]
|
|
15
|
+
[<assembly: System.Reflection.AssemblyTitleAttribute("Oracle")>]
|
|
16
|
+
[<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
|
|
17
|
+
do()
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// <auto-generated>
|
|
2
|
+
// Generated by the FSharp WriteCodeFragment class.
|
|
3
|
+
// </auto-generated>
|
|
4
|
+
namespace FSharp
|
|
5
|
+
|
|
6
|
+
open System
|
|
7
|
+
open System.Reflection
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
[<assembly: System.Reflection.AssemblyCompanyAttribute("Maxime Mangel")>]
|
|
11
|
+
[<assembly: System.Reflection.AssemblyConfigurationAttribute("Release")>]
|
|
12
|
+
[<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
|
|
13
|
+
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7bfb354a69169aaa8967d3a82c2709db0ffc2d75")>]
|
|
14
|
+
[<assembly: System.Reflection.AssemblyProductAttribute("Oracle")>]
|
|
15
|
+
[<assembly: System.Reflection.AssemblyTitleAttribute("Oracle")>]
|
|
16
|
+
[<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
|
|
17
|
+
do()
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// <auto-generated>
|
|
2
|
+
// Generated by the FSharp WriteCodeFragment class.
|
|
3
|
+
// </auto-generated>
|
|
4
|
+
namespace FSharp
|
|
5
|
+
|
|
6
|
+
open System
|
|
7
|
+
open System.Reflection
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
[<assembly: System.Reflection.AssemblyCompanyAttribute("Maxime Mangel")>]
|
|
11
|
+
[<assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")>]
|
|
12
|
+
[<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
|
|
13
|
+
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7bfb354a69169aaa8967d3a82c2709db0ffc2d75")>]
|
|
14
|
+
[<assembly: System.Reflection.AssemblyProductAttribute("FSharp.Oracle.Schema")>]
|
|
15
|
+
[<assembly: System.Reflection.AssemblyTitleAttribute("FSharp.Oracle.Schema")>]
|
|
16
|
+
[<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
|
|
17
|
+
do()
|
package/packages/FSharp.Oracle.Schema/obj/Release/net10.0/FSharp.Oracle.Schema.AssemblyInfo.fs
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// <auto-generated>
|
|
2
|
+
// Generated by the FSharp WriteCodeFragment class.
|
|
3
|
+
// </auto-generated>
|
|
4
|
+
namespace FSharp
|
|
5
|
+
|
|
6
|
+
open System
|
|
7
|
+
open System.Reflection
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
[<assembly: System.Reflection.AssemblyCompanyAttribute("Maxime Mangel")>]
|
|
11
|
+
[<assembly: System.Reflection.AssemblyConfigurationAttribute("Release")>]
|
|
12
|
+
[<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
|
|
13
|
+
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7bfb354a69169aaa8967d3a82c2709db0ffc2d75")>]
|
|
14
|
+
[<assembly: System.Reflection.AssemblyProductAttribute("FSharp.Oracle.Schema")>]
|
|
15
|
+
[<assembly: System.Reflection.AssemblyTitleAttribute("FSharp.Oracle.Schema")>]
|
|
16
|
+
[<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
|
|
17
|
+
do()
|