Skip to content

Commit

Permalink
fix(fs): xml serialization (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph authored Nov 4, 2024
1 parent 79543a1 commit b0c581f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 46 deletions.
1 change: 0 additions & 1 deletion packages/fs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
},
"dependencies": {
"@interslavic/database-engine-core": "workspace:*",
"@prettier/plugin-xml": "^3.4.1",
"csv": "^6.3.10",
"csv-parse": "^5.5.6",
"fast-xml-parser": "~4.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,7 @@ export class MultilingualSynsetSerializer extends XmlSerializer<
return eleName === 'synset' || eleName === 'lemma';
},
},
prettier: {
...options.prettier,
plugins: [
'@prettier/plugin-xml',
...(options.prettier?.plugins ?? []),
],
parser: 'xml',
},
prettier: options.prettier,
});
}

Expand Down
37 changes: 0 additions & 37 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,6 @@ __metadata:
"@interslavic/jest-config-cli": "workspace:*"
"@interslavic/prettier-config-cli": "workspace:*"
"@interslavic/typescript-config-cli": "workspace:*"
"@prettier/plugin-xml": "npm:^3.4.1"
"@types/jest": "npm:^29.5.12"
"@types/lodash": "npm:^4.17.7"
"@types/node": "npm:^22.5.4"
Expand Down Expand Up @@ -1836,17 +1835,6 @@ __metadata:
languageName: node
linkType: hard

"@prettier/plugin-xml@npm:^3.4.1":
version: 3.4.1
resolution: "@prettier/plugin-xml@npm:3.4.1"
dependencies:
"@xml-tools/parser": "npm:^1.0.11"
peerDependencies:
prettier: ^3.0.0
checksum: 10c0/39bdc3d6e475ed4f804ea4dad8ad66c1e36743935eefde87bf9a68c44434695e74e52c8c6d70239de12dae141153f8979cce0b1c5c8f820693ff1f62bbe66044
languageName: node
linkType: hard

"@rtsao/scc@npm:^1.1.0":
version: 1.1.0
resolution: "@rtsao/scc@npm:1.1.0"
Expand Down Expand Up @@ -2560,15 +2548,6 @@ __metadata:
languageName: node
linkType: hard

"@xml-tools/parser@npm:^1.0.11":
version: 1.0.11
resolution: "@xml-tools/parser@npm:1.0.11"
dependencies:
chevrotain: "npm:7.1.1"
checksum: 10c0/5abc75163d6b2ac8e9006a54576523513535953237463297137c5a3665ce1b9d220b77b6dbb68ab93df3fab40bbc98bbb10e90dd690fd7646fdb021323827971
languageName: node
linkType: hard

"JSONStream@npm:^1.3.5":
version: 1.3.5
resolution: "JSONStream@npm:1.3.5"
Expand Down Expand Up @@ -3318,15 +3297,6 @@ __metadata:
languageName: node
linkType: hard

"chevrotain@npm:7.1.1":
version: 7.1.1
resolution: "chevrotain@npm:7.1.1"
dependencies:
regexp-to-ast: "npm:0.5.0"
checksum: 10c0/3fbbb7a30fb87a4cd141a28bdfa2851f54fde4099aa92071442b47605dfc5974eee0388ec25a517087fcea4dcc1f0ce6b371bc975591346327829aa83b3c843d
languageName: node
linkType: hard

"chownr@npm:^2.0.0":
version: 2.0.0
resolution: "chownr@npm:2.0.0"
Expand Down Expand Up @@ -9041,13 +9011,6 @@ __metadata:
languageName: node
linkType: hard

"regexp-to-ast@npm:0.5.0":
version: 0.5.0
resolution: "regexp-to-ast@npm:0.5.0"
checksum: 10c0/16d3c3905fb24866c3bff689ab177c1e63a7283a3cd1ba95987ef86020526f9827f5c60794197311f0e8a967889131142fe7a2e5ed3523ffe2ac9f55052e1566
languageName: node
linkType: hard

"regexp-tree@npm:^0.1.27":
version: 0.1.27
resolution: "regexp-tree@npm:0.1.27"
Expand Down

0 comments on commit b0c581f

Please sign in to comment.