From db8f0c32a8f64e63468d6ff80fdede3ed4839641 Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Mon, 16 Oct 2023 18:09:53 +0200 Subject: [PATCH] chore(deps): get rid of pretty-quick --- Makefile | 4 ++-- baker/Deployer.ts | 1 - package.json | 3 --- yarn.lock | 43 ++----------------------------------------- 4 files changed, 4 insertions(+), 47 deletions(-) diff --git a/Makefile b/Makefile index ab8c0b9b44c..6527246dc39 100644 --- a/Makefile +++ b/Makefile @@ -256,7 +256,7 @@ test: yarn lerna run buildTests @echo '==> Checking formatting' - yarn testPrettierChanged + yarn testPrettierAll @echo '==> Running tests' yarn run jest @@ -277,7 +277,7 @@ lint: check-formatting: @echo '==> Checking formatting' yarn - yarn testPrettierChanged + yarn testPrettierAll format: @echo '==> Fixing formatting' diff --git a/baker/Deployer.ts b/baker/Deployer.ts index 0ec5000d710..13c9431c577 100644 --- a/baker/Deployer.ts +++ b/baker/Deployer.ts @@ -183,7 +183,6 @@ yarn testPrettierAll` name: "✅ finished checks because we skipped them", }) } else { - await this.runAndTick(`yarn testPrettierChanged`) await this.runAndTick(`yarn testJest`) } diff --git a/package.json b/package.json index 2e5b86969cb..668a2ef34a0 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "fetchServerStatus": "node --enable-source-maps ./itsJustJavascript/baker/liveCommit.js", "fixLint": "eslint . --fix", "fixPrettierAll": "yarn prettier --write \"**/*.{tsx,ts,jsx,js,json,md,html,css,scss,yml}\"", - "fixPrettierChanged": "yarn pretty-quick --pattern \"**/*.{tsx,ts,jsx,js,json,md,html,css,scss,yml}\"", "runRegionsUpdater": "node --enable-source-maps ./itsJustJavascript/devTools/regionsUpdater/update.js", "runDbMigrations": "yarn typeorm migration:run -d itsJustJavascript/db/dataSource.js", "revertLastDbMigration": "yarn typeorm migration:revert -d itsJustJavascript/db/dataSource.js", @@ -42,7 +41,6 @@ "testCypress": "yarn cypress open --project devTools --config-file cypress/cypress.json", "testLint": "eslint .", "testPrettierAll": "yarn prettier --check \"**/*.{tsx,ts,jsx,js,json,md,html,css,scss,yml}\"", - "testPrettierChanged": "yarn fixPrettierChanged --check", "testJest": "lerna run buildTests && jest" }, "dependencies": { @@ -240,7 +238,6 @@ "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "opener": "^1.5.2", - "pretty-quick": "^3.0.0", "sass": "^1.59.2", "sql-fixtures": "^1.0.4", "tmex": "^1.0.8", diff --git a/yarn.lock b/yarn.lock index 076fa1de4aa..a6a49274dcb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12077,7 +12077,7 @@ __metadata: languageName: node linkType: hard -"execa@npm:4.1.0, execa@npm:^4.0.0": +"execa@npm:4.1.0": version: 4.1.0 resolution: "execa@npm:4.1.0" dependencies: @@ -13981,7 +13981,6 @@ __metadata: papaparse: ^5.3.1 parsimmon: ^1.18.1 prettier: ^3.0.3 - pretty-quick: ^3.0.0 progress: ^2.0.3 prompts: ^2.4.0 prop-types: ^15.7.2 @@ -14627,7 +14626,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.0.4, ignore@npm:^5.1.4, ignore@npm:^5.2.0, ignore@npm:^5.2.4": +"ignore@npm:^5.0.4, ignore@npm:^5.2.0, ignore@npm:^5.2.4": version: 5.2.4 resolution: "ignore@npm:5.2.4" checksum: 3d4c309c6006e2621659311783eaea7ebcd41fe4ca1d78c91c473157ad6666a57a2df790fe0d07a12300d9aac2888204d7be8d59f9aaf665b1c7fcdb432517ef @@ -17950,13 +17949,6 @@ __metadata: languageName: node linkType: hard -"mri@npm:^1.1.5": - version: 1.1.6 - resolution: "mri@npm:1.1.6" - checksum: c568269a40e2e95d48f28b88ab8b24bdc7c586edbfbb3e5ce7a4e3cee0665aef673b86bc2b63c98289d29b573a39d0e054924e415286a8dafdabfc68785746c7 - languageName: node - linkType: hard - "ms@npm:2.0.0": version: 2.0.0 resolution: "ms@npm:2.0.0" @@ -17978,19 +17970,6 @@ __metadata: languageName: node linkType: hard -"multimatch@npm:^4.0.0": - version: 4.0.0 - resolution: "multimatch@npm:4.0.0" - dependencies: - "@types/minimatch": ^3.0.3 - array-differ: ^3.0.0 - array-union: ^2.1.0 - arrify: ^2.0.1 - minimatch: ^3.0.4 - checksum: bdb6a98dad4e919d9a1a2a0db872f44fa2337315f2fd5827d91ae005cf22f4425782bdfa97c10b80d567f0cb3c226c31f4e85f8f6a4a4be4facf9af0de1bb0c2 - languageName: node - linkType: hard - "multimatch@npm:^5.0.0": version: 5.0.0 resolution: "multimatch@npm:5.0.0" @@ -20149,24 +20128,6 @@ __metadata: languageName: node linkType: hard -"pretty-quick@npm:^3.0.0": - version: 3.0.0 - resolution: "pretty-quick@npm:3.0.0" - dependencies: - chalk: ^3.0.0 - execa: ^4.0.0 - find-up: ^4.1.0 - ignore: ^5.1.4 - mri: ^1.1.5 - multimatch: ^4.0.0 - peerDependencies: - prettier: ">=2.0.0" - bin: - pretty-quick: bin/pretty-quick.js - checksum: fc75a6310b2207d1e8f70c5aed552580f23bc6112ba7d0c79f1639f933b8d70894f25a89db0865511c34279f37c30a0e842693321f1acfa178c42cc0e9a3b7a4 - languageName: node - linkType: hard - "prettyjson@npm:1.2.5": version: 1.2.5 resolution: "prettyjson@npm:1.2.5"