Skip to content

Commit 6c7baa0

Browse files
committed
Use Fantomas.Core project references for ASTViewer.
1 parent 739d015 commit 6c7baa0

File tree

3 files changed

+20
-28
lines changed

3 files changed

+20
-28
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ updates:
66
interval: daily
77
time: "11:00"
88
open-pull-requests-limit: 10
9-
- package-ecosystem: nuget
10-
directory: "/src/server/ASTViewer"
11-
schedule:
12-
interval: daily
13-
time: "10:00"
14-
open-pull-requests-limit: 10
159
allow:
1610
- dependency-name: "Fantomas.Core"
1711
- package-ecosystem: nuget

src/server/ASTViewer/ASTViewer.fsproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<OutputType>exe</OutputType>
77
<!-- This property makes the build directory similar to a publish directory and helps the AWS .NET Lambda Mock Test Tool find project dependencies. -->
88
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
9+
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
910
<IsLambda>true</IsLambda>
1011
</PropertyGroup>
1112
<ItemGroup>
@@ -23,7 +24,9 @@
2324
<Compile Include="Program.fs" />
2425
</ItemGroup>
2526
<ItemGroup>
26-
<PackageReference Include="Fantomas.Core" Version="6.3.0-alpha-004" />
27+
<ProjectReference Include="$(FantomasMainRepository)\src\Fantomas.Core\Fantomas.Core.fsproj" />
28+
</ItemGroup>
29+
<ItemGroup>
2730
<PackageReference Include="FSharp.Core" Version="6.0.6" />
2831
<PackageReference Include="Thoth.Json.Net" Version="8.0.0" />
2932
</ItemGroup>

src/server/ASTViewer/packages.lock.json

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@
2323
"Amazon.Lambda.Core": "2.1.0"
2424
}
2525
},
26-
"Fantomas.Core": {
27-
"type": "Direct",
28-
"requested": "[6.3.0-alpha-003, )",
29-
"resolved": "6.3.0-alpha-003",
30-
"contentHash": "d7bGzhkGQnW6sUMqjZO4Fw8yNHiROvRjcsOVUXLvuLCAlmivhx0+DwBkDawwDHZJfeeBht8rVw+W17iUobI3lg==",
31-
"dependencies": {
32-
"FSharp.Core": "6.0.1",
33-
"Fantomas.FCS": "6.3.0-alpha-003"
34-
}
35-
},
3626
"FSharp.Core": {
3727
"type": "Direct",
3828
"requested": "[6.0.6, )",
@@ -77,17 +67,6 @@
7767
"FSharp.Core": "4.5.2"
7868
}
7969
},
80-
"Fantomas.FCS": {
81-
"type": "Transitive",
82-
"resolved": "6.3.0-alpha-003",
83-
"contentHash": "3Y4/lhMTpAWJ0nm8nXRTsNvYc2MqZFMhBE0ggp51Qyrtrcmk4JV0trSprESNiEV18DKKFGQUTxykpkwIekykzQ==",
84-
"dependencies": {
85-
"FSharp.Core": "6.0.1",
86-
"System.Diagnostics.DiagnosticSource": "7.0.0",
87-
"System.Memory": "4.5.5",
88-
"System.Runtime": "4.3.1"
89-
}
90-
},
9170
"Microsoft.Extensions.Primitives": {
9271
"type": "Transitive",
9372
"resolved": "2.2.0",
@@ -143,6 +122,22 @@
143122
"type": "Transitive",
144123
"resolved": "6.0.0",
145124
"contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg=="
125+
},
126+
"fantomas.core": {
127+
"type": "Project",
128+
"dependencies": {
129+
"FSharp.Core": "[6.0.1, )",
130+
"Fantomas.FCS": "[1.0.0, )"
131+
}
132+
},
133+
"fantomas.fcs": {
134+
"type": "Project",
135+
"dependencies": {
136+
"FSharp.Core": "[6.0.1, )",
137+
"System.Diagnostics.DiagnosticSource": "[7.0.0, )",
138+
"System.Memory": "[4.5.5, )",
139+
"System.Runtime": "[4.3.1, )"
140+
}
146141
}
147142
}
148143
}

0 commit comments

Comments
 (0)