From 2cca2dd152db2f38e09128de299e180b9e15a378 Mon Sep 17 00:00:00 2001 From: Bastien Gatellier Date: Sun, 2 Jun 2024 05:18:05 +0200 Subject: [PATCH] refactor: move rimraf to developer tools dependencies --- modules/api/package.json | 3 +- modules/cli/package.json | 1 - modules/common/package.json | 1 - modules/greenit/package.json | 3 +- modules/lighthouse/package.json | 3 +- modules/mysql/package.json | 1 - modules/observatory/package.json | 3 +- modules/slack/package.json | 3 +- modules/ssllabs-server/package.json | 3 +- modules/tpl/package.json | 3 +- package.json | 1 + pnpm-lock.yaml | 55 +++++++++++++---------------- 12 files changed, 33 insertions(+), 47 deletions(-) diff --git a/modules/api/package.json b/modules/api/package.json index 7574e3a5..87471032 100644 --- a/modules/api/package.json +++ b/modules/api/package.json @@ -38,8 +38,7 @@ }, "devDependencies": { "@types/express": "^4.17.21", - "@types/node": "^18.19.6", - "rimraf": "^5.0.5" + "@types/node": "^18.19.6" }, "peerDependencies": { "@fabernovel/heart-cli": "^4.0.0" diff --git a/modules/cli/package.json b/modules/cli/package.json index a5b364b5..f78a1e56 100644 --- a/modules/cli/package.json +++ b/modules/cli/package.json @@ -44,7 +44,6 @@ "@fastify/cors": "^8.5.0", "@types/node": "^18.19.6", "fastify": "^4.25.2", - "rimraf": "^5.0.5", "type-fest": "^4.9.0" }, "engines": { diff --git a/modules/common/package.json b/modules/common/package.json index f6f0af77..59624335 100644 --- a/modules/common/package.json +++ b/modules/common/package.json @@ -41,7 +41,6 @@ "@types/node": "^18.19.6", "fastify": "^4.25.2", "lighthouse": "^11.4.0", - "rimraf": "^5.0.5", "type-fest": "^4.9.0" }, "engines": { diff --git a/modules/greenit/package.json b/modules/greenit/package.json index 75925c2c..2af772c2 100644 --- a/modules/greenit/package.json +++ b/modules/greenit/package.json @@ -39,8 +39,7 @@ "dependencies": { "@fabernovel/heart-common": "workspace:^4.0.0", "greenit-cli": "github:cnumr/GreenIT-Analysis-cli#a4363a9bcf7630e4a5a4cd264a7da9ec6f34b571", - "puppeteer": "^21.7.0", - "rimraf": "^5.0.5" + "puppeteer": "^21.7.0" }, "devDependencies": { "@types/node": "^18.19.6" diff --git a/modules/lighthouse/package.json b/modules/lighthouse/package.json index f8974598..eadc81ac 100644 --- a/modules/lighthouse/package.json +++ b/modules/lighthouse/package.json @@ -36,8 +36,7 @@ "puppeteer": "^21.7.0" }, "devDependencies": { - "@types/node": "^18.19.6", - "rimraf": "^5.0.5" + "@types/node": "^18.19.6" }, "peerDependencies": { "@fabernovel/heart-cli": "^4.0.0" diff --git a/modules/mysql/package.json b/modules/mysql/package.json index 6e979cd0..e0bd5a90 100644 --- a/modules/mysql/package.json +++ b/modules/mysql/package.json @@ -38,7 +38,6 @@ "devDependencies": { "@mikro-orm/cli": "^5.9.7", "@types/node": "^18.19.6", - "rimraf": "^5.0.5", "ts-node": "^10.9.1" }, "peerDependencies": { diff --git a/modules/observatory/package.json b/modules/observatory/package.json index 6d319303..76b8e659 100644 --- a/modules/observatory/package.json +++ b/modules/observatory/package.json @@ -33,8 +33,7 @@ "@fabernovel/heart-common": "workspace:^4.0.0" }, "devDependencies": { - "@types/node": "^18.19.6", - "rimraf": "^5.0.5" + "@types/node": "^18.19.6" }, "peerDependencies": { "@fabernovel/heart-cli": "^4.0.0" diff --git a/modules/slack/package.json b/modules/slack/package.json index ac5ef26d..63d9c099 100644 --- a/modules/slack/package.json +++ b/modules/slack/package.json @@ -34,8 +34,7 @@ "@slack/web-api": "^6.11.2" }, "devDependencies": { - "@types/node": "^18.19.6", - "rimraf": "^5.0.5" + "@types/node": "^18.19.6" }, "peerDependencies": { "@fabernovel/heart-cli": "^4.0.0" diff --git a/modules/ssllabs-server/package.json b/modules/ssllabs-server/package.json index 337d2785..bc65c74d 100644 --- a/modules/ssllabs-server/package.json +++ b/modules/ssllabs-server/package.json @@ -33,8 +33,7 @@ "@fabernovel/heart-common": "workspace:^4.0.0" }, "devDependencies": { - "@types/node": "^18.19.6", - "rimraf": "^5.0.5" + "@types/node": "^18.19.6" }, "peerDependencies": { "@fabernovel/heart-cli": "^4.0.0" diff --git a/modules/tpl/package.json b/modules/tpl/package.json index 559ed154..d987a332 100644 --- a/modules/tpl/package.json +++ b/modules/tpl/package.json @@ -35,8 +35,7 @@ "@fabernovel/heart-common": "workspace:^4.0.0" }, "devDependencies": { - "@types/node": "^18.19.6", - "rimraf": "^5.0.5" + "@types/node": "^18.19.6" }, "peerDependencies": { "@fabernovel/heart-cli": "^4.0.0" diff --git a/package.json b/package.json index ffbdeaef..60e6c5ac 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "@jest/globals": "^29.7.0", "@types/jest": "^29.5.11", "jest": "^29.7.0", + "rimraf": "^5.0.5", "ts-jest": "^29.1.1", "tsconfig-moon": "^1.3.0", "typescript": "^5.3.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index def228d9..ccb9ed8a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,9 @@ importers: jest: specifier: ^29.7.0 version: 29.7.0 + rimraf: + specifier: ^5.0.5 + version: 5.0.7 ts-jest: specifier: ^29.1.1 version: 29.1.4(@babel/core@7.24.6)(jest@29.7.0)(typescript@5.4.5) @@ -57,9 +60,6 @@ importers: '@types/node': specifier: ^18.19.6 version: 18.19.33 - rimraf: - specifier: ^5.0.5 - version: 5.0.7 modules/cli: dependencies: @@ -94,9 +94,6 @@ importers: fastify: specifier: ^4.25.2 version: 4.27.0 - rimraf: - specifier: ^5.0.5 - version: 5.0.7 type-fest: specifier: ^4.9.0 version: 4.18.3 @@ -137,9 +134,6 @@ importers: lighthouse: specifier: ^11.4.0 version: 11.7.1 - rimraf: - specifier: ^5.0.5 - version: 5.0.7 type-fest: specifier: ^4.9.0 version: 4.18.3 @@ -158,9 +152,6 @@ importers: puppeteer: specifier: ^21.7.0 version: 21.11.0(typescript@5.4.5) - rimraf: - specifier: ^5.0.5 - version: 5.0.7 devDependencies: '@types/node': specifier: ^18.19.6 @@ -184,9 +175,6 @@ importers: '@types/node': specifier: ^18.19.6 version: 18.19.33 - rimraf: - specifier: ^5.0.5 - version: 5.0.7 modules/mysql: dependencies: @@ -212,9 +200,6 @@ importers: '@types/node': specifier: ^18.19.6 version: 18.19.33 - rimraf: - specifier: ^5.0.5 - version: 5.0.7 ts-node: specifier: ^10.9.1 version: 10.9.2(@types/node@18.19.33)(typescript@5.4.5) @@ -231,9 +216,6 @@ importers: '@types/node': specifier: ^18.19.6 version: 18.19.33 - rimraf: - specifier: ^5.0.5 - version: 5.0.7 modules/slack: dependencies: @@ -250,9 +232,6 @@ importers: '@types/node': specifier: ^18.19.6 version: 18.19.33 - rimraf: - specifier: ^5.0.5 - version: 5.0.7 modules/ssllabs-server: dependencies: @@ -266,9 +245,6 @@ importers: '@types/node': specifier: ^18.19.6 version: 18.19.33 - rimraf: - specifier: ^5.0.5 - version: 5.0.7 modules/tpl: dependencies: @@ -282,9 +258,6 @@ importers: '@types/node': specifier: ^18.19.6 version: 18.19.33 - rimraf: - specifier: ^5.0.5 - version: 5.0.7 packages: @@ -810,6 +783,7 @@ packages: strip-ansi-cjs: /strip-ansi@6.0.1 wrap-ansi: 8.1.0 wrap-ansi-cjs: /wrap-ansi@7.0.0 + dev: true /@istanbuljs/load-nyc-config@1.1.0: resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} @@ -1321,6 +1295,7 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} requiresBuild: true + dev: true optional: true /@puppeteer/browsers@1.9.1: @@ -1922,6 +1897,7 @@ packages: /ansi-styles@6.2.1: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} engines: {node: '>=12'} + dev: true /anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} @@ -2584,6 +2560,7 @@ packages: path-key: 3.1.1 shebang-command: 2.0.0 which: 2.0.2 + dev: true /crypto-random-string@2.0.0: resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==} @@ -2793,6 +2770,7 @@ packages: /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + dev: true /electron-to-chromium@1.4.788: resolution: {integrity: sha512-ubp5+Ev/VV8KuRoWnfP2QF2Bg+O2ZFdb49DiiNbz2VmgkIqrnyYaqIOqj8A6K/3p1xV0QcU5hBQ1+BmB6ot1OA==} @@ -2811,6 +2789,7 @@ packages: /emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + dev: true /end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} @@ -3101,6 +3080,7 @@ packages: dependencies: cross-spawn: 7.0.3 signal-exit: 4.1.0 + dev: true /form-data@2.5.1: resolution: {integrity: sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==} @@ -3250,6 +3230,7 @@ packages: minimatch: 9.0.4 minipass: 7.1.2 path-scurry: 1.11.1 + dev: true /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} @@ -3588,6 +3569,7 @@ packages: /isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + dev: true /istanbul-lib-coverage@3.2.2: resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} @@ -3655,6 +3637,7 @@ packages: '@isaacs/cliui': 8.0.2 optionalDependencies: '@pkgjs/parseargs': 0.11.0 + dev: true /jest-changed-files@29.7.0: resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} @@ -4418,6 +4401,7 @@ packages: /lru-cache@10.2.2: resolution: {integrity: sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==} engines: {node: 14 || >=16.14} + dev: true /lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} @@ -4539,6 +4523,7 @@ packages: engines: {node: '>=16 || 14 >=14.17'} dependencies: brace-expansion: 2.0.1 + dev: true /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -4546,6 +4531,7 @@ packages: /minipass@7.1.2: resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} engines: {node: '>=16 || 14 >=14.17'} + dev: true /mitt@3.0.1: resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} @@ -4814,6 +4800,7 @@ packages: /path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} + dev: true /path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} @@ -4824,6 +4811,7 @@ packages: dependencies: lru-cache: 10.2.2 minipass: 7.1.2 + dev: true /path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} @@ -5277,6 +5265,7 @@ packages: hasBin: true dependencies: glob: 10.4.1 + dev: true /robots-parser@3.0.1: resolution: {integrity: sha512-s+pyvQeIKIZ0dx5iJiQk1tPLJAWln39+MI5jtM8wnyws+G5azk+dMnMX0qfbqNetKKNgcWWOdi0sfm+FbQbgdQ==} @@ -5362,10 +5351,12 @@ packages: engines: {node: '>=8'} dependencies: shebang-regex: 3.0.0 + dev: true /shebang-regex@3.0.0: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} + dev: true /signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} @@ -5373,6 +5364,7 @@ packages: /signal-exit@4.1.0: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} + dev: true /sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} @@ -5505,6 +5497,7 @@ packages: eastasianwidth: 0.2.0 emoji-regex: 9.2.2 strip-ansi: 7.1.0 + dev: true /string-width@7.1.0: resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} @@ -6047,6 +6040,7 @@ packages: hasBin: true dependencies: isexe: 2.0.0 + dev: true /wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} @@ -6063,6 +6057,7 @@ packages: ansi-styles: 6.2.1 string-width: 5.1.2 strip-ansi: 7.1.0 + dev: true /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}