prettier-plugin-razor2 0.1.0 → 0.1.2
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/README.md +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,9 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
## Description
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
and Razor Pages).
|
|
13
|
+
A plugin for [Prettier](https://prettier.io) that adds support for Razor files —
|
|
14
|
+
`.razor` (Blazor components) and `.cshtml` (MVC views and Razor Pages).
|
|
16
15
|
|
|
17
16
|
It formats the HTML in a Razor file by delegating to Prettier's own HTML
|
|
18
17
|
formatter, and the C# in `@code`/`@functions`/`@{ }` blocks by delegating to
|
|
@@ -101,8 +100,9 @@ Tests run the TypeScript sources directly via Node's native type stripping, so
|
|
|
101
100
|
no build step is required to develop or test. The C# tests need the CSharpier
|
|
102
101
|
CLI (`dotnet tool restore`); they skip automatically when it isn't available.
|
|
103
102
|
|
|
104
|
-
Releases: bump `version` in package.json, commit,
|
|
105
|
-
`git push
|
|
103
|
+
Releases: bump `version` in package.json, commit, then
|
|
104
|
+
`git tag vX.Y.Z && git push origin main vX.Y.Z` — GitHub Actions runs the checks
|
|
105
|
+
and publishes to npm.
|
|
106
106
|
|
|
107
107
|
> **Fork notice** This project started as a fork of
|
|
108
108
|
> [prettier-plugin-razor](https://github.com/KristinaPlusPlus/prettier-plugin-razor),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prettier-plugin-razor2",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Prettier plugin for Razor (Blazor) files — a fork of prettier-plugin-razor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"prettier",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"packageManager": {
|
|
58
58
|
"name": "pnpm",
|
|
59
|
-
"version": "11.
|
|
59
|
+
"version": "11.10.0",
|
|
60
60
|
"onFail": "download"
|
|
61
61
|
}
|
|
62
62
|
},
|