@fossa-app/bridge 0.1.0 → 0.1.4

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 (64) hide show
  1. package/.github/dependabot.yml +38 -38
  2. package/.github/release-drafter.yml +52 -52
  3. package/.github/workflows/cicd.yml +87 -106
  4. package/.github/workflows/lint.yml +34 -34
  5. package/.github/workflows/release-drafter.yml +27 -27
  6. package/Fossa.Bridge.slnx +7 -7
  7. package/LICENSE +21 -21
  8. package/README.md +42 -5
  9. package/build.ps1 +11 -11
  10. package/dotnet-tools.json +26 -26
  11. package/format.ps1 +11 -11
  12. package/gig.ps1 +15 -15
  13. package/global.json +6 -6
  14. package/lint.ps1 +20 -20
  15. package/pack.ps1 +11 -11
  16. package/package.json +21 -21
  17. package/publish.ps1 +11 -11
  18. package/restore.ps1 +11 -11
  19. package/src/Fossa.Bridge/Fossa.Bridge.fsproj +16 -16
  20. package/src/Fossa.Bridge/Models/ApiModels.fs +136 -136
  21. package/src/Fossa.Bridge/Services/UrlHelpers.fs +18 -18
  22. package/src/Fossa.Bridge/bin/Release/net8.0/Fossa.Bridge.deps.json +97 -97
  23. package/src/Fossa.Bridge/bin/Release/net8.0/Fossa.Bridge.fable-temp.deps.json +40 -40
  24. package/src/Fossa.Bridge/bin/Release/net8.0/Fossa.Bridge.xml +6 -6
  25. package/src/Fossa.Bridge/obj/Fossa.Bridge.fable-temp.csproj.nuget.dgspec.json +82 -80
  26. package/src/Fossa.Bridge/obj/Fossa.Bridge.fable-temp.csproj.nuget.g.props +24 -25
  27. package/src/Fossa.Bridge/obj/Fossa.Bridge.fable-temp.csproj.nuget.g.targets +1 -1
  28. package/src/Fossa.Bridge/obj/Fossa.Bridge.fsproj.nuget.dgspec.json +85 -83
  29. package/src/Fossa.Bridge/obj/Fossa.Bridge.fsproj.nuget.g.props +28 -29
  30. package/src/Fossa.Bridge/obj/Fossa.Bridge.fsproj.nuget.g.targets +1 -1
  31. package/src/Fossa.Bridge/obj/Release/{Fossa.Bridge.0.1.0.nuspec → Fossa.Bridge.0.1.4.nuspec} +19 -19
  32. package/src/Fossa.Bridge/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +4 -4
  33. package/src/Fossa.Bridge/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.fs +3 -3
  34. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.AssemblyInfo.fs +11 -11
  35. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.fable-temp.AssemblyInfo.cs +23 -23
  36. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.fable-temp.GeneratedMSBuildEditorConfig.editorconfig +17 -17
  37. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.fable-temp.csproj.FileListAbsolute.txt +4 -4
  38. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.fsproj.FileListAbsolute.txt +14 -14
  39. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.sourcelink.json +1 -1
  40. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.xml +6 -6
  41. package/src/Fossa.Bridge/obj/Release/net8.0/ILLink.Substitutions.xml +15 -15
  42. package/src/Fossa.Bridge/obj/project.assets.json +229 -228
  43. package/test.ps1 +11 -11
  44. package/tests/Fossa.Bridge.Tests/Fossa.Bridge.Tests.fsproj +18 -18
  45. package/tests/Fossa.Bridge.Tests/Main.fs +7 -7
  46. package/tests/Fossa.Bridge.Tests/UrlHelpersTests.fs +33 -33
  47. package/tests/Fossa.Bridge.Tests/bin/Release/net8.0/.msCoverageSourceRootsMapping_Fossa.Bridge.Tests +0 -0
  48. package/tests/Fossa.Bridge.Tests/bin/Release/net8.0/Fossa.Bridge.Tests +0 -0
  49. package/tests/Fossa.Bridge.Tests/bin/Release/net8.0/Fossa.Bridge.Tests.deps.json +805 -805
  50. package/tests/Fossa.Bridge.Tests/bin/Release/net8.0/Fossa.Bridge.Tests.runtimeconfig.json +13 -13
  51. package/tests/Fossa.Bridge.Tests/bin/Release/net8.0/Fossa.Bridge.xml +6 -6
  52. package/tests/Fossa.Bridge.Tests/obj/Fossa.Bridge.Tests.fsproj.nuget.dgspec.json +181 -173
  53. package/tests/Fossa.Bridge.Tests/obj/Fossa.Bridge.Tests.fsproj.nuget.g.props +29 -30
  54. package/tests/Fossa.Bridge.Tests/obj/Fossa.Bridge.Tests.fsproj.nuget.g.targets +10 -10
  55. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.fs +3 -3
  56. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/Fossa.Bridge.Tests.AssemblyInfo.fs +10 -10
  57. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/Fossa.Bridge.Tests.fsproj.FileListAbsolute.txt +190 -191
  58. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/Fossa.Bridge.Tests.sourcelink.json +1 -1
  59. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/ILLink.Substitutions.xml +15 -15
  60. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/apphost +0 -0
  61. package/tests/Fossa.Bridge.Tests/obj/project.assets.json +2022 -2017
  62. package/trigger.ps1 +32 -32
  63. package/tsconfig.json +15 -15
  64. package/version.ps1 +11 -11
@@ -1,229 +1,230 @@
1
- {
2
- "version": 3,
3
- "targets": {
4
- "net8.0": {
5
- "Fable.Core/4.5.0": {
6
- "type": "package",
7
- "compile": {
8
- "lib/netstandard2.0/Fable.Core.dll": {
9
- "related": ".xml"
10
- }
11
- },
12
- "runtime": {
13
- "lib/netstandard2.0/Fable.Core.dll": {
14
- "related": ".xml"
15
- }
16
- },
17
- "contentFiles": {
18
- "contentFiles/any/netstandard2.0/CHANGELOG.md": {
19
- "buildAction": "Content",
20
- "codeLanguage": "any",
21
- "copyToOutput": false
22
- }
23
- }
24
- },
25
- "FSharp.Core/10.0.103": {
26
- "type": "package",
27
- "compile": {
28
- "lib/netstandard2.1/FSharp.Core.dll": {
29
- "related": ".xml"
30
- }
31
- },
32
- "runtime": {
33
- "lib/netstandard2.1/FSharp.Core.dll": {
34
- "related": ".xml"
35
- }
36
- },
37
- "resource": {
38
- "lib/netstandard2.1/cs/FSharp.Core.resources.dll": {
39
- "locale": "cs"
40
- },
41
- "lib/netstandard2.1/de/FSharp.Core.resources.dll": {
42
- "locale": "de"
43
- },
44
- "lib/netstandard2.1/es/FSharp.Core.resources.dll": {
45
- "locale": "es"
46
- },
47
- "lib/netstandard2.1/fr/FSharp.Core.resources.dll": {
48
- "locale": "fr"
49
- },
50
- "lib/netstandard2.1/it/FSharp.Core.resources.dll": {
51
- "locale": "it"
52
- },
53
- "lib/netstandard2.1/ja/FSharp.Core.resources.dll": {
54
- "locale": "ja"
55
- },
56
- "lib/netstandard2.1/ko/FSharp.Core.resources.dll": {
57
- "locale": "ko"
58
- },
59
- "lib/netstandard2.1/pl/FSharp.Core.resources.dll": {
60
- "locale": "pl"
61
- },
62
- "lib/netstandard2.1/pt-BR/FSharp.Core.resources.dll": {
63
- "locale": "pt-BR"
64
- },
65
- "lib/netstandard2.1/ru/FSharp.Core.resources.dll": {
66
- "locale": "ru"
67
- },
68
- "lib/netstandard2.1/tr/FSharp.Core.resources.dll": {
69
- "locale": "tr"
70
- },
71
- "lib/netstandard2.1/zh-Hans/FSharp.Core.resources.dll": {
72
- "locale": "zh-Hans"
73
- },
74
- "lib/netstandard2.1/zh-Hant/FSharp.Core.resources.dll": {
75
- "locale": "zh-Hant"
76
- }
77
- }
78
- }
79
- }
80
- },
81
- "libraries": {
82
- "Fable.Core/4.5.0": {
83
- "sha512": "ZcX8XN5sQZGCbrS8VYnsa/ynhrCBfpDyqDkTl33GTXOpgfKibxoq0+W0hCSbRzuukVNoLtqGL/B6+8yTNDXbNA==",
84
- "type": "package",
85
- "path": "fable.core/4.5.0",
86
- "files": [
87
- ".nupkg.metadata",
88
- ".signature.p7s",
89
- "LICENSE",
90
- "README.md",
91
- "content/CHANGELOG.md",
92
- "contentFiles/any/netstandard2.0/CHANGELOG.md",
93
- "fable.core.4.5.0.nupkg.sha512",
94
- "fable.core.nuspec",
95
- "fable_logo.png",
96
- "lib/netstandard2.0/Fable.Core.dll",
97
- "lib/netstandard2.0/Fable.Core.xml"
98
- ]
99
- },
100
- "FSharp.Core/10.0.103": {
101
- "sha512": "GfQInb74eDh9JZ8wx4+t/lOrH1uRqZvneuViVJ8CwbQwmtyyZoeGuzRayL01MNAsm8B6eRenWwJThu01EFPeKg==",
102
- "type": "package",
103
- "path": "fsharp.core/10.0.103",
104
- "files": [
105
- ".nupkg.metadata",
106
- ".signature.p7s",
107
- "Icon.png",
108
- "fsharp.core.10.0.103.nupkg.sha512",
109
- "fsharp.core.nuspec",
110
- "lib/netstandard2.0/FSharp.Core.dll",
111
- "lib/netstandard2.0/FSharp.Core.xml",
112
- "lib/netstandard2.0/cs/FSharp.Core.resources.dll",
113
- "lib/netstandard2.0/de/FSharp.Core.resources.dll",
114
- "lib/netstandard2.0/es/FSharp.Core.resources.dll",
115
- "lib/netstandard2.0/fr/FSharp.Core.resources.dll",
116
- "lib/netstandard2.0/it/FSharp.Core.resources.dll",
117
- "lib/netstandard2.0/ja/FSharp.Core.resources.dll",
118
- "lib/netstandard2.0/ko/FSharp.Core.resources.dll",
119
- "lib/netstandard2.0/pl/FSharp.Core.resources.dll",
120
- "lib/netstandard2.0/pt-BR/FSharp.Core.resources.dll",
121
- "lib/netstandard2.0/ru/FSharp.Core.resources.dll",
122
- "lib/netstandard2.0/tr/FSharp.Core.resources.dll",
123
- "lib/netstandard2.0/zh-Hans/FSharp.Core.resources.dll",
124
- "lib/netstandard2.0/zh-Hant/FSharp.Core.resources.dll",
125
- "lib/netstandard2.1/FSharp.Core.dll",
126
- "lib/netstandard2.1/FSharp.Core.xml",
127
- "lib/netstandard2.1/cs/FSharp.Core.resources.dll",
128
- "lib/netstandard2.1/de/FSharp.Core.resources.dll",
129
- "lib/netstandard2.1/es/FSharp.Core.resources.dll",
130
- "lib/netstandard2.1/fr/FSharp.Core.resources.dll",
131
- "lib/netstandard2.1/it/FSharp.Core.resources.dll",
132
- "lib/netstandard2.1/ja/FSharp.Core.resources.dll",
133
- "lib/netstandard2.1/ko/FSharp.Core.resources.dll",
134
- "lib/netstandard2.1/pl/FSharp.Core.resources.dll",
135
- "lib/netstandard2.1/pt-BR/FSharp.Core.resources.dll",
136
- "lib/netstandard2.1/ru/FSharp.Core.resources.dll",
137
- "lib/netstandard2.1/tr/FSharp.Core.resources.dll",
138
- "lib/netstandard2.1/zh-Hans/FSharp.Core.resources.dll",
139
- "lib/netstandard2.1/zh-Hant/FSharp.Core.resources.dll"
140
- ]
141
- }
142
- },
143
- "projectFileDependencyGroups": {
144
- "net8.0": [
145
- "FSharp.Core >= 10.0.103",
146
- "Fable.Core >= 4.5.0"
147
- ]
148
- },
149
- "packageFolders": {
150
- "C:\\Users\\tiksn\\.nuget\\packages\\": {},
151
- "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
152
- },
153
- "project": {
154
- "version": "1.0.0",
155
- "restore": {
156
- "projectUniqueName": "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fsproj",
157
- "projectName": "Fossa.Bridge",
158
- "projectPath": "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fsproj",
159
- "packagesPath": "C:\\Users\\tiksn\\.nuget\\packages\\",
160
- "outputPath": "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\obj\\",
161
- "projectStyle": "PackageReference",
162
- "fallbackFolders": [
163
- "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
164
- ],
165
- "configFilePaths": [
166
- "C:\\Users\\tiksn\\AppData\\Roaming\\NuGet\\NuGet.Config",
167
- "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
168
- "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
169
- ],
170
- "originalTargetFrameworks": [
171
- "net8.0"
172
- ],
173
- "sources": {
174
- "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
175
- "C:\\Program Files\\dotnet\\library-packs": {},
176
- "C:\\Program Files\\dotnet\\sdk\\10.0.103\\FSharp\\library-packs": {},
177
- "C:\\Users\\tiksn\\.nuget\\localpackages": {},
178
- "https://api.nuget.org/v3/index.json": {}
179
- },
180
- "frameworks": {
181
- "net8.0": {
182
- "targetAlias": "net8.0",
183
- "projectReferences": {}
184
- }
185
- },
186
- "restoreAuditProperties": {
187
- "enableAudit": "true",
188
- "auditLevel": "low",
189
- "auditMode": "direct"
190
- },
191
- "SdkAnalysisLevel": "10.0.100"
192
- },
193
- "frameworks": {
194
- "net8.0": {
195
- "targetAlias": "net8.0",
196
- "dependencies": {
197
- "FSharp.Core": {
198
- "include": "Runtime, Compile, Build, Native, Analyzers, BuildTransitive",
199
- "target": "Package",
200
- "version": "[10.0.103, )",
201
- "generatePathProperty": true
202
- },
203
- "Fable.Core": {
204
- "target": "Package",
205
- "version": "[4.5.0, )",
206
- "generatePathProperty": true
207
- }
208
- },
209
- "imports": [
210
- "net461",
211
- "net462",
212
- "net47",
213
- "net471",
214
- "net472",
215
- "net48",
216
- "net481"
217
- ],
218
- "assetTargetFallback": true,
219
- "warn": true,
220
- "frameworkReferences": {
221
- "Microsoft.NETCore.App": {
222
- "privateAssets": "all"
223
- }
224
- },
225
- "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.103/PortableRuntimeIdentifierGraph.json"
226
- }
227
- }
228
- }
1
+ {
2
+ "version": 3,
3
+ "targets": {
4
+ "net8.0": {
5
+ "Fable.Core/4.5.0": {
6
+ "type": "package",
7
+ "compile": {
8
+ "lib/netstandard2.0/Fable.Core.dll": {
9
+ "related": ".xml"
10
+ }
11
+ },
12
+ "runtime": {
13
+ "lib/netstandard2.0/Fable.Core.dll": {
14
+ "related": ".xml"
15
+ }
16
+ },
17
+ "contentFiles": {
18
+ "contentFiles/any/netstandard2.0/CHANGELOG.md": {
19
+ "buildAction": "Content",
20
+ "codeLanguage": "any",
21
+ "copyToOutput": false
22
+ }
23
+ }
24
+ },
25
+ "FSharp.Core/10.0.102": {
26
+ "type": "package",
27
+ "compile": {
28
+ "lib/netstandard2.1/FSharp.Core.dll": {
29
+ "related": ".xml"
30
+ }
31
+ },
32
+ "runtime": {
33
+ "lib/netstandard2.1/FSharp.Core.dll": {
34
+ "related": ".xml"
35
+ }
36
+ },
37
+ "resource": {
38
+ "lib/netstandard2.1/cs/FSharp.Core.resources.dll": {
39
+ "locale": "cs"
40
+ },
41
+ "lib/netstandard2.1/de/FSharp.Core.resources.dll": {
42
+ "locale": "de"
43
+ },
44
+ "lib/netstandard2.1/es/FSharp.Core.resources.dll": {
45
+ "locale": "es"
46
+ },
47
+ "lib/netstandard2.1/fr/FSharp.Core.resources.dll": {
48
+ "locale": "fr"
49
+ },
50
+ "lib/netstandard2.1/it/FSharp.Core.resources.dll": {
51
+ "locale": "it"
52
+ },
53
+ "lib/netstandard2.1/ja/FSharp.Core.resources.dll": {
54
+ "locale": "ja"
55
+ },
56
+ "lib/netstandard2.1/ko/FSharp.Core.resources.dll": {
57
+ "locale": "ko"
58
+ },
59
+ "lib/netstandard2.1/pl/FSharp.Core.resources.dll": {
60
+ "locale": "pl"
61
+ },
62
+ "lib/netstandard2.1/pt-BR/FSharp.Core.resources.dll": {
63
+ "locale": "pt-BR"
64
+ },
65
+ "lib/netstandard2.1/ru/FSharp.Core.resources.dll": {
66
+ "locale": "ru"
67
+ },
68
+ "lib/netstandard2.1/tr/FSharp.Core.resources.dll": {
69
+ "locale": "tr"
70
+ },
71
+ "lib/netstandard2.1/zh-Hans/FSharp.Core.resources.dll": {
72
+ "locale": "zh-Hans"
73
+ },
74
+ "lib/netstandard2.1/zh-Hant/FSharp.Core.resources.dll": {
75
+ "locale": "zh-Hant"
76
+ }
77
+ }
78
+ }
79
+ }
80
+ },
81
+ "libraries": {
82
+ "Fable.Core/4.5.0": {
83
+ "sha512": "ZcX8XN5sQZGCbrS8VYnsa/ynhrCBfpDyqDkTl33GTXOpgfKibxoq0+W0hCSbRzuukVNoLtqGL/B6+8yTNDXbNA==",
84
+ "type": "package",
85
+ "path": "fable.core/4.5.0",
86
+ "files": [
87
+ ".nupkg.metadata",
88
+ ".signature.p7s",
89
+ "LICENSE",
90
+ "README.md",
91
+ "content/CHANGELOG.md",
92
+ "contentFiles/any/netstandard2.0/CHANGELOG.md",
93
+ "fable.core.4.5.0.nupkg.sha512",
94
+ "fable.core.nuspec",
95
+ "fable_logo.png",
96
+ "lib/netstandard2.0/Fable.Core.dll",
97
+ "lib/netstandard2.0/Fable.Core.xml"
98
+ ]
99
+ },
100
+ "FSharp.Core/10.0.102": {
101
+ "sha512": "vd5vApQ869O7qKMOC6zKsBFQMXBLGp0cfw3YMxp+cp8kWbXcEgrVBBEbQYhHEYU5TLeUmm4nqQIThvPXvtSAEA==",
102
+ "type": "package",
103
+ "path": "fsharp.core/10.0.102",
104
+ "files": [
105
+ ".nupkg.metadata",
106
+ ".signature.p7s",
107
+ "Icon.png",
108
+ "fsharp.core.10.0.102.nupkg.sha512",
109
+ "fsharp.core.nuspec",
110
+ "lib/netstandard2.0/FSharp.Core.dll",
111
+ "lib/netstandard2.0/FSharp.Core.xml",
112
+ "lib/netstandard2.0/cs/FSharp.Core.resources.dll",
113
+ "lib/netstandard2.0/de/FSharp.Core.resources.dll",
114
+ "lib/netstandard2.0/es/FSharp.Core.resources.dll",
115
+ "lib/netstandard2.0/fr/FSharp.Core.resources.dll",
116
+ "lib/netstandard2.0/it/FSharp.Core.resources.dll",
117
+ "lib/netstandard2.0/ja/FSharp.Core.resources.dll",
118
+ "lib/netstandard2.0/ko/FSharp.Core.resources.dll",
119
+ "lib/netstandard2.0/pl/FSharp.Core.resources.dll",
120
+ "lib/netstandard2.0/pt-BR/FSharp.Core.resources.dll",
121
+ "lib/netstandard2.0/ru/FSharp.Core.resources.dll",
122
+ "lib/netstandard2.0/tr/FSharp.Core.resources.dll",
123
+ "lib/netstandard2.0/zh-Hans/FSharp.Core.resources.dll",
124
+ "lib/netstandard2.0/zh-Hant/FSharp.Core.resources.dll",
125
+ "lib/netstandard2.1/FSharp.Core.dll",
126
+ "lib/netstandard2.1/FSharp.Core.xml",
127
+ "lib/netstandard2.1/cs/FSharp.Core.resources.dll",
128
+ "lib/netstandard2.1/de/FSharp.Core.resources.dll",
129
+ "lib/netstandard2.1/es/FSharp.Core.resources.dll",
130
+ "lib/netstandard2.1/fr/FSharp.Core.resources.dll",
131
+ "lib/netstandard2.1/it/FSharp.Core.resources.dll",
132
+ "lib/netstandard2.1/ja/FSharp.Core.resources.dll",
133
+ "lib/netstandard2.1/ko/FSharp.Core.resources.dll",
134
+ "lib/netstandard2.1/pl/FSharp.Core.resources.dll",
135
+ "lib/netstandard2.1/pt-BR/FSharp.Core.resources.dll",
136
+ "lib/netstandard2.1/ru/FSharp.Core.resources.dll",
137
+ "lib/netstandard2.1/tr/FSharp.Core.resources.dll",
138
+ "lib/netstandard2.1/zh-Hans/FSharp.Core.resources.dll",
139
+ "lib/netstandard2.1/zh-Hant/FSharp.Core.resources.dll"
140
+ ]
141
+ }
142
+ },
143
+ "projectFileDependencyGroups": {
144
+ "net8.0": [
145
+ "FSharp.Core >= 10.0.102",
146
+ "Fable.Core >= 4.5.0"
147
+ ]
148
+ },
149
+ "packageFolders": {
150
+ "/home/runner/.nuget/packages/": {}
151
+ },
152
+ "project": {
153
+ "version": "1.0.0",
154
+ "restore": {
155
+ "projectUniqueName": "/home/runner/work/Bridge/Bridge/src/Fossa.Bridge/Fossa.Bridge.fsproj",
156
+ "projectName": "Fossa.Bridge",
157
+ "projectPath": "/home/runner/work/Bridge/Bridge/src/Fossa.Bridge/Fossa.Bridge.fsproj",
158
+ "packagesPath": "/home/runner/.nuget/packages/",
159
+ "outputPath": "/home/runner/work/Bridge/Bridge/src/Fossa.Bridge/obj/",
160
+ "projectStyle": "PackageReference",
161
+ "configFilePaths": [
162
+ "/home/runner/.nuget/NuGet/NuGet.Config"
163
+ ],
164
+ "originalTargetFrameworks": [
165
+ "net8.0"
166
+ ],
167
+ "sources": {
168
+ "/usr/share/dotnet/sdk/10.0.102/FSharp/library-packs": {},
169
+ "https://api.nuget.org/v3/index.json": {}
170
+ },
171
+ "frameworks": {
172
+ "net8.0": {
173
+ "targetAlias": "net8.0",
174
+ "projectReferences": {}
175
+ }
176
+ },
177
+ "restoreAuditProperties": {
178
+ "enableAudit": "true",
179
+ "auditLevel": "low",
180
+ "auditMode": "direct"
181
+ },
182
+ "SdkAnalysisLevel": "10.0.100"
183
+ },
184
+ "frameworks": {
185
+ "net8.0": {
186
+ "targetAlias": "net8.0",
187
+ "dependencies": {
188
+ "FSharp.Core": {
189
+ "include": "Runtime, Compile, Build, Native, Analyzers, BuildTransitive",
190
+ "target": "Package",
191
+ "version": "[10.0.102, )",
192
+ "generatePathProperty": true
193
+ },
194
+ "Fable.Core": {
195
+ "target": "Package",
196
+ "version": "[4.5.0, )",
197
+ "generatePathProperty": true
198
+ }
199
+ },
200
+ "imports": [
201
+ "net461",
202
+ "net462",
203
+ "net47",
204
+ "net471",
205
+ "net472",
206
+ "net48",
207
+ "net481"
208
+ ],
209
+ "assetTargetFallback": true,
210
+ "warn": true,
211
+ "downloadDependencies": [
212
+ {
213
+ "name": "Microsoft.AspNetCore.App.Ref",
214
+ "version": "[8.0.23, 8.0.23]"
215
+ },
216
+ {
217
+ "name": "Microsoft.NETCore.App.Ref",
218
+ "version": "[8.0.23, 8.0.23]"
219
+ }
220
+ ],
221
+ "frameworkReferences": {
222
+ "Microsoft.NETCore.App": {
223
+ "privateAssets": "all"
224
+ }
225
+ },
226
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.102/PortableRuntimeIdentifierGraph.json"
227
+ }
228
+ }
229
+ }
229
230
  }
package/test.ps1 CHANGED
@@ -1,11 +1,11 @@
1
- [CmdletBinding()]
2
- param (
3
- [Parameter()]
4
- [string]
5
- $Version,
6
- [Parameter()]
7
- [string]
8
- $Instance
9
- )
10
-
11
- .\trigger.ps1 -Task Test -Instance $Instance -Version $Version
1
+ [CmdletBinding()]
2
+ param (
3
+ [Parameter()]
4
+ [string]
5
+ $Version,
6
+ [Parameter()]
7
+ [string]
8
+ $Instance
9
+ )
10
+
11
+ .\trigger.ps1 -Task Test -Instance $Instance -Version $Version
@@ -1,19 +1,19 @@
1
- <Project Sdk="Microsoft.NET.Sdk">
2
- <PropertyGroup>
3
- <OutputType>Exe</OutputType>
4
- <TargetFramework>net8.0</TargetFramework>
5
- <GenerateProgramFile>false</GenerateProgramFile>
6
- </PropertyGroup>
7
- <ItemGroup>
8
- <Compile Include="UrlHelpersTests.fs" />
9
- <Compile Include="Main.fs" />
10
- </ItemGroup>
11
- <ItemGroup>
12
- <PackageReference Include="Expecto" Version="10.2.3" />
13
- <PackageReference Include="YoloDev.Expecto.TestSdk" Version="0.15.5" />
14
- <PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
15
- </ItemGroup>
16
- <ItemGroup>
17
- <ProjectReference Include="..\..\src\Fossa.Bridge\Fossa.Bridge.fsproj" />
18
- </ItemGroup>
1
+ <Project Sdk="Microsoft.NET.Sdk">
2
+ <PropertyGroup>
3
+ <OutputType>Exe</OutputType>
4
+ <TargetFramework>net8.0</TargetFramework>
5
+ <GenerateProgramFile>false</GenerateProgramFile>
6
+ </PropertyGroup>
7
+ <ItemGroup>
8
+ <Compile Include="UrlHelpersTests.fs" />
9
+ <Compile Include="Main.fs" />
10
+ </ItemGroup>
11
+ <ItemGroup>
12
+ <PackageReference Include="Expecto" Version="10.2.3" />
13
+ <PackageReference Include="YoloDev.Expecto.TestSdk" Version="0.15.5" />
14
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
15
+ </ItemGroup>
16
+ <ItemGroup>
17
+ <ProjectReference Include="..\..\src\Fossa.Bridge\Fossa.Bridge.fsproj" />
18
+ </ItemGroup>
19
19
  </Project>
@@ -1,7 +1,7 @@
1
- module Fossa.Bridge.Tests
2
-
3
- open Expecto
4
-
5
- [<EntryPoint>]
6
- let main argv =
7
- Tests.runTestsInAssemblyWithCLIArgs [] argv
1
+ module Fossa.Bridge.Tests
2
+
3
+ open Expecto
4
+
5
+ [<EntryPoint>]
6
+ let main argv =
7
+ Tests.runTestsInAssemblyWithCLIArgs [] argv
@@ -1,33 +1,33 @@
1
- module UrlHelpersTests
2
-
3
- open Expecto
4
- open Fossa.Bridge.Services.UrlHelpers
5
-
6
- [<Tests>]
7
- let tests =
8
- testList
9
- "UrlHelpersTests"
10
- [ testCase "dev localhost 4211 mapped to 5210"
11
- <| fun _ ->
12
- let result = getBackendOrigin "http://app.dev.localhost:4211"
13
- Expect.equal result "http://app.dev.localhost:5210" "Should map dev correctly"
14
-
15
- testCase "test localhost 4210 mapped to 5211"
16
- <| fun _ ->
17
- let result = getBackendOrigin "http://app.test.localhost:4210"
18
- Expect.equal result "http://app.test.localhost:5211" "Should map test correctly"
19
-
20
- testCase "test localhost 4211 mapped to 5211"
21
- <| fun _ ->
22
- let result = getBackendOrigin "http://app.test.localhost:4211"
23
- Expect.equal result "http://app.test.localhost:5211" "Should map test correctly"
24
-
25
- testCase "localhost 4210 mapped to 5210"
26
- <| fun _ ->
27
- let result = getBackendOrigin "http://app.localhost:4210"
28
- Expect.equal result "http://app.localhost:5210" "Should map localhost correctly"
29
-
30
- testCase "unmapped origin is unchanged"
31
- <| fun _ ->
32
- let result = getBackendOrigin "http://app.prod.com"
33
- Expect.equal result "http://app.prod.com" "Should not change if no mapping" ]
1
+ module UrlHelpersTests
2
+
3
+ open Expecto
4
+ open Fossa.Bridge.Services.UrlHelpers
5
+
6
+ [<Tests>]
7
+ let tests =
8
+ testList
9
+ "UrlHelpersTests"
10
+ [ testCase "dev localhost 4211 mapped to 5210"
11
+ <| fun _ ->
12
+ let result = getBackendOrigin "http://app.dev.localhost:4211"
13
+ Expect.equal result "http://app.dev.localhost:5210" "Should map dev correctly"
14
+
15
+ testCase "test localhost 4210 mapped to 5211"
16
+ <| fun _ ->
17
+ let result = getBackendOrigin "http://app.test.localhost:4210"
18
+ Expect.equal result "http://app.test.localhost:5211" "Should map test correctly"
19
+
20
+ testCase "test localhost 4211 mapped to 5211"
21
+ <| fun _ ->
22
+ let result = getBackendOrigin "http://app.test.localhost:4211"
23
+ Expect.equal result "http://app.test.localhost:5211" "Should map test correctly"
24
+
25
+ testCase "localhost 4210 mapped to 5210"
26
+ <| fun _ ->
27
+ let result = getBackendOrigin "http://app.localhost:4210"
28
+ Expect.equal result "http://app.localhost:5210" "Should map localhost correctly"
29
+
30
+ testCase "unmapped origin is unchanged"
31
+ <| fun _ ->
32
+ let result = getBackendOrigin "http://app.prod.com"
33
+ Expect.equal result "http://app.prod.com" "Should not change if no mapping" ]