bin/trans-dump.js does not really need fs-extra

pull/7349/head
Niklas Fiekas 2020-09-21 17:02:07 +02:00
parent d899a69d1d
commit 70794c5df6
3 changed files with 2 additions and 12 deletions

View File

@ -1,4 +1,4 @@
const fs = require('fs-extra');
const fs = require('fs').promises;
const parseString = require('xml2js').parseString;
const baseDir = 'translation/source';
@ -42,5 +42,5 @@ ${objs.map(dbCode).join('\n')}
}
`;
fs.writeFile('modules/i18n/src/main/I18nKeys.scala', code);
return fs.writeFile('modules/i18n/src/main/I18nKeys.scala', code);
});

View File

@ -21,7 +21,6 @@
"node": ">=10"
},
"dependencies": {
"fs-extra": "^4.0.2",
"xml2js": "^0.4.19"
},
"workspaces": [

View File

@ -1527,15 +1527,6 @@ from@~0:
resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe"
integrity sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=
fs-extra@^4.0.2:
version "4.0.3"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==
dependencies:
graceful-fs "^4.1.2"
jsonfile "^4.0.0"
universalify "^0.1.0"
fs-extra@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"