fix: add prettier

This commit is contained in:
JimmFly
2023-01-09 15:06:47 +08:00
parent 270c3f5a6a
commit 13cb76321d
2 changed files with 4 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
}, },
"dependencies": { "dependencies": {
"i18next": "^21.9.1", "i18next": "^21.9.1",
"prettier": "^2.7.1",
"react-i18next": "^11.18.4" "react-i18next": "^11.18.4"
}, },
"devDependencies": { "devDependencies": {

3
pnpm-lock.yaml generated
View File

@@ -161,10 +161,12 @@ importers:
packages/i18n: packages/i18n:
specifiers: specifiers:
i18next: ^21.9.1 i18next: ^21.9.1
prettier: ^2.7.1
react-i18next: ^11.18.4 react-i18next: ^11.18.4
typescript: ^4.8.4 typescript: ^4.8.4
dependencies: dependencies:
i18next: 21.10.0 i18next: 21.10.0
prettier: 2.7.1
react-i18next: 11.18.6_i18next@21.10.0 react-i18next: 11.18.6_i18next@21.10.0
devDependencies: devDependencies:
typescript: 4.9.3 typescript: 4.9.3
@@ -6895,6 +6897,7 @@ packages:
/prettier/2.7.1: /prettier/2.7.1:
resolution: {integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==} resolution: {integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==}
engines: {node: '>=10.13.0'} engines: {node: '>=10.13.0'}
hasBin: true
/pretty-bytes/5.6.0: /pretty-bytes/5.6.0:
resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==}