add prettier-plugin-xml

I remembered and noticed that there are multiple xml config files present
This commit is contained in:
Aminda Suomalainen 2024-06-11 21:12:38 +03:00
parent abedd6f0ef
commit d1da869397
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 47 additions and 1 deletions

View File

@ -2,7 +2,8 @@
"plugins": [ "plugins": [
"prettier-plugin-nginx", "prettier-plugin-nginx",
"prettier-plugin-toml", "prettier-plugin-toml",
"prettier-plugin-sh" "prettier-plugin-sh",
"@prettier/plugin-xml"
], ],
"overrides": [ "overrides": [
{ "files": ".prettierrc", "options": { "parser": "json" } }, { "files": ".prettierrc", "options": { "parser": "json" } },

1
package.json vendored
View File

@ -1,5 +1,6 @@
{ {
"devDependencies": { "devDependencies": {
"@prettier/plugin-xml": "3.4.1",
"prettier": "3.3.2", "prettier": "3.3.2",
"prettier-plugin-nginx": "1.0.3", "prettier-plugin-nginx": "1.0.3",
"prettier-plugin-sh": "0.14.0", "prettier-plugin-sh": "0.14.0",

44
pnpm-lock.yaml vendored
View File

@ -7,6 +7,9 @@ settings:
importers: importers:
.: .:
devDependencies: devDependencies:
"@prettier/plugin-xml":
specifier: 3.4.1
version: 3.4.1(prettier@3.3.2)
prettier: prettier:
specifier: 3.3.2 specifier: 3.3.2
version: 3.3.2 version: 3.3.2
@ -21,6 +24,14 @@ importers:
version: 2.0.1(prettier@3.3.2) version: 2.0.1(prettier@3.3.2)
packages: packages:
"@prettier/plugin-xml@3.4.1":
resolution:
{
integrity: sha512-Uf/6/+9ez6z/IvZErgobZ2G9n1ybxF5BhCd7eMcKqfoWuOzzNUxBipNo3QAP8kRC1VD18TIo84no7LhqtyDcTg==,
}
peerDependencies:
prettier: ^3.0.0
"@taplo/core@0.1.1": "@taplo/core@0.1.1":
resolution: resolution:
{ {
@ -33,6 +44,18 @@ packages:
integrity: sha512-DV/Re3DPVY+BhBtLZ3dmP4mP6YMLSsgq9qGLXwOV38lvNF/fBlgvQswzlXmzCEefL/3q2eMoefZpOI/+GLuCNA==, integrity: sha512-DV/Re3DPVY+BhBtLZ3dmP4mP6YMLSsgq9qGLXwOV38lvNF/fBlgvQswzlXmzCEefL/3q2eMoefZpOI/+GLuCNA==,
} }
"@xml-tools/parser@1.0.11":
resolution:
{
integrity: sha512-aKqQ077XnR+oQtHJlrAflaZaL7qZsulWc/i/ZEooar5JiWj1eLt0+Wg28cpa+XLney107wXqneC+oG1IZvxkTA==,
}
chevrotain@7.1.1:
resolution:
{
integrity: sha512-wy3mC1x4ye+O+QkEinVJkPf5u2vsrDIYW9G7ZuwFl6v/Yu0LwUuT2POsb+NUWApebyxfkQq6+yDfRExbnI5rcw==,
}
mvdan-sh@0.10.1: mvdan-sh@0.10.1:
resolution: resolution:
{ {
@ -71,6 +94,12 @@ packages:
engines: { node: ">=14" } engines: { node: ">=14" }
hasBin: true hasBin: true
regexp-to-ast@0.5.0:
resolution:
{
integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==,
}
sh-syntax@0.4.2: sh-syntax@0.4.2:
resolution: resolution:
{ {
@ -85,12 +114,25 @@ packages:
} }
snapshots: snapshots:
"@prettier/plugin-xml@3.4.1(prettier@3.3.2)":
dependencies:
"@xml-tools/parser": 1.0.11
prettier: 3.3.2
"@taplo/core@0.1.1": {} "@taplo/core@0.1.1": {}
"@taplo/lib@0.4.0-alpha.2": "@taplo/lib@0.4.0-alpha.2":
dependencies: dependencies:
"@taplo/core": 0.1.1 "@taplo/core": 0.1.1
"@xml-tools/parser@1.0.11":
dependencies:
chevrotain: 7.1.1
chevrotain@7.1.1:
dependencies:
regexp-to-ast: 0.5.0
mvdan-sh@0.10.1: {} mvdan-sh@0.10.1: {}
prettier-plugin-nginx@1.0.3: {} prettier-plugin-nginx@1.0.3: {}
@ -108,6 +150,8 @@ snapshots:
prettier@3.3.2: {} prettier@3.3.2: {}
regexp-to-ast@0.5.0: {}
sh-syntax@0.4.2: sh-syntax@0.4.2:
dependencies: dependencies:
tslib: 2.6.3 tslib: 2.6.3