chore: use global prettier

This commit is contained in:
Jan Komarek
2024-01-30 17:16:50 +01:00
committed by Jan Komárek
parent 00fe229e01
commit a416bc2e60
5 changed files with 4 additions and 9 deletions

View File

@@ -39,6 +39,7 @@
"_______ Global Scripts _______": "Shared scripts for running in all workspaces",
"g:eslint": "cd $INIT_CWD && eslint --report-unused-disable-directives --cache --ignore-path ../../.gitignore",
"g:jest": "cd $INIT_CWD && jest",
"g:prettier": "cd $INIT_CWD && prettier",
"g:rimraf": "cd $INIT_CWD && rimraf",
"g:tsc": "cd $INIT_CWD && tsc",
"_______ Nx testing _______": "Nx wrapped commands for testing, linting, type checking...",

View File

@@ -19,7 +19,6 @@
},
"devDependencies": {
"@sinclair/typebox-codegen": "^0.8.13",
"prettier": "3.2.4",
"tsx": "^4.6.2",
"typescript": "5.3.2"
},

View File

@@ -7,11 +7,11 @@
"lint": "yarn lint:styles && yarn lint:js",
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
"lint:styles": "npx stylelint './src/**/*{.ts,.tsx}' --cache --config ../../.stylelintrc",
"translations:format": "yarn prettier --write \"../suite-data/files/translations/*\"",
"translations:format": "yarn g:prettier --write \"../suite-data/files/translations/*\"",
"translations:extract": "formatjs extract src/support/messages.ts --format simple > ../suite-data/files/translations/master.json",
"translations:upload": "crowdin upload",
"translations:download": "crowdin download --all",
"translations:backport-en": "yarn tsx ../suite-data/src/translations/backport-en.ts && yarn prettier --write \"./src/support/messages.ts\"",
"translations:backport-en": "yarn tsx ../suite-data/src/translations/backport-en.ts && yarn g:prettier --write \"./src/support/messages.ts\"",
"translations:list-duplicates": "yarn tsx ../suite-data/src/translations/list-duplicates.ts",
"translations:list-unused": "yarn tsx ../suite-data/src/translations/list-unused.ts",
"type-check": "tsc --build tsconfig.json",
@@ -139,7 +139,6 @@
"@types/zxcvbn": "^4.4.3",
"jest-canvas-mock": "^2.5.2",
"jest-watch-typeahead": "2.2.2",
"prettier": "3.2.4",
"react-test-renderer": "^18.2.0",
"redux-devtools-extension": "^2.13.9",
"redux-mock-store": "^1.5.4",

View File

@@ -11,8 +11,7 @@
},
"dependencies": {
"@mobily/ts-belt": "^3.13.1",
"csstype": "^3.1.2",
"prettier": "3.2.4"
"csstype": "^3.1.2"
},
"devDependencies": {
"tsx": "^4.7.0",

View File

@@ -9544,7 +9544,6 @@ __metadata:
dependencies:
"@sinclair/typebox": "npm:^0.31.28"
"@sinclair/typebox-codegen": "npm:^0.8.13"
prettier: "npm:3.2.4"
ts-mixer: "npm:^6.0.3"
tsx: "npm:^4.6.2"
typescript: "npm:5.3.2"
@@ -9931,7 +9930,6 @@ __metadata:
pako: "npm:^2.1.0"
pdfmake: "npm:^0.2.7"
polished: "npm:^4.2.2"
prettier: "npm:3.2.4"
qrcode.react: "npm:^3.1.0"
react: "npm:18.2.0"
react-dom: "npm:18.2.0"
@@ -9975,7 +9973,6 @@ __metadata:
dependencies:
"@mobily/ts-belt": "npm:^3.13.1"
csstype: "npm:^3.1.2"
prettier: "npm:3.2.4"
tsx: "npm:^4.7.0"
typescript: "npm:5.3.2"
languageName: unknown