Skip to content

Commit cb0168a

Browse files
committed
chore(release): 0.3.0
1 parent 1f69082 commit cb0168a

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

.dprintrc.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"$schema": "https://dprint.dev/schemas/v0.json",
33
"projectType": "commercialSponsored",
44
"incremental": true,
5-
"includes": ["**/*.{json,md,cs}"],
5+
"includes": ["**/*.{json,md,cs,js}"],
66
"excludes": [
77
"**/*-lock.json",
88
"**/obj",
99
"**/bin"
1010
],
1111
"plugins": [
12-
"https://plugins.dprint.dev/typescript-0.33.0.wasm",
13-
"https://plugins.dprint.dev/json-0.7.2.wasm",
14-
"https://plugins.dprint.dev/markdown-0.4.2.wasm",
12+
"https://plugins.dprint.dev/typescript-0.40.3.wasm",
13+
"https://plugins.dprint.dev/json-0.8.0.wasm",
14+
"https://plugins.dprint.dev/markdown-0.5.1.wasm",
1515
"https://plugins.dprint.dev/roslyn-0.2.2.exe-plugin@44d9f8fc4db50b07196672e857dc0244f3f274374db0d188df464dc0aae487c7"
1616
]
1717
}

DprintPluginRoslyn/DprintPluginRoslyn.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<RootNamespace>Dprint.Plugins.Roslyn</RootNamespace>
77
<AssemblyName>dprint-plugin-roslyn</AssemblyName>
88
<Nullable>enable</Nullable>
9-
<Version>0.2.2</Version>
9+
<Version>0.3.0</Version>
1010
<Authors>David Sherret</Authors>
1111
<Company>Dprint Code Formatting</Company>
1212
</PropertyGroup>
@@ -16,8 +16,8 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" />
20-
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="3.8.0" />
19+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.9.0-4.final" />
20+
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="3.9.0-4.final" />
2121
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
2222
</ItemGroup>
2323

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 David Sherret
3+
Copyright (c) 2020-2021 David Sherret
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![CI](https://github.com/dprint/dprint-plugin-roslyn/workflows/CI/badge.svg)](https://github.com/dprint/dprint-plugin-roslyn/actions?query=workflow%3ACI)
44

5-
Wrapper around [roslyn](https://github.com/dotnet/roslyn) in order to use it as a dprint plugin for C# and Visual Basic code formatting.
5+
Wrapper around [Roslyn](https://github.com/dotnet/roslyn) in order to use it as a dprint plugin for C# and Visual Basic code formatting.
66

77
## Install
88

scripts/createPluginFile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ const crypto = require("crypto");
44
const packageText = fs.readFileSync("DprintPluginRoslyn/DprintPluginRoslyn.csproj", { encoding: "utf8" });
55
const version = packageText.match(/\<Version\>(\d+\.\d+\.\d+)<\/Version\>/)[1];
66

7-
if (!/^\d+\.\d+\.\d+$/.test(version))
7+
if (!/^\d+\.\d+\.\d+$/.test(version)) {
88
throw new Error("Error extracting version.");
9+
}
910

1011
const outputFile = {
1112
schemaVersion: 1,

0 commit comments

Comments
 (0)