From 82600a89ed8d3bc56e226556741ca5747e657bdf Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Mon, 15 Apr 2024 14:55:04 +0200 Subject: [PATCH] chore: add `rimraf` to the root of the workspace Signed-off-by: Jon Koops --- .github/renovate.json | 2 - package.json | 1 + packages/react-charts/package.json | 1 - packages/react-code-editor/package.json | 1 - packages/react-core/package.json | 1 - packages/react-docs/package.json | 6 +-- packages/react-drag-drop/package.json | 1 - packages/react-icons/package.json | 1 - packages/react-styles/package.json | 1 - packages/react-table/package.json | 1 - packages/react-templates/package.json | 1 - packages/react-tokens/package.json | 3 +- scripts/generators/package/package.json.hbs | 1 - yarn.lock | 59 +++++++++++++++++---- 14 files changed, 53 insertions(+), 27 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 6008bb83845..4068c492e8e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -32,7 +32,6 @@ "rollup", "rollup-plugin-scss", "rollup-plugin-terser", - "shx", "surge", "ts-patch" ], @@ -69,7 +68,6 @@ "rollup", "rollup-plugin-scss", "rollup-plugin-terser", - "shx", "surge", "ts-patch" ] diff --git a/package.json b/package.json index 8e0d30c17d8..7c0f097c3f8 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "prettier": "^3.0.0", "react": "^18", "react-dom": "^18", + "rimraf": "^5.0.5", "surge": "^0.23.1", "ts-node": "^10.9.1", "ts-patch": "^2.1.0", diff --git a/packages/react-charts/package.json b/packages/react-charts/package.json index 44c22427f75..10b5ef2634b 100644 --- a/packages/react-charts/package.json +++ b/packages/react-charts/package.json @@ -64,7 +64,6 @@ "css": "^2.2.3", "fs-extra": "^11.0.0", "glob": "^7.1.2", - "rimraf": "^2.6.2", "typescript": "^4.7.4" } } diff --git a/packages/react-code-editor/package.json b/packages/react-code-editor/package.json index 774ea041862..e4acc1a0016 100644 --- a/packages/react-code-editor/package.json +++ b/packages/react-code-editor/package.json @@ -42,7 +42,6 @@ }, "devDependencies": { "monaco-editor": "^0.47.0", - "rimraf": "^2.6.2", "typescript": "^4.7.4" } } diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 63c853e325c..b509d08ab9a 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -61,7 +61,6 @@ "css": "^2.2.3", "fs-extra": "^11.1.1", "glob": "^7.1.2", - "rimraf": "^3.0.2", "rollup": "^3.21.5", "rollup-plugin-scss": "^4.0.0", "rollup-plugin-svg": "2.0.0", diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index 8226cb10914..f1ff229fd7a 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -14,7 +14,7 @@ "scripts": { "analyze": "yarn build:docs --analyze", "build:docs": "pf-docs-framework build all", - "clean": "rimraf .cache public static/assets static/base.css src/generated/**/*.js node_modules", + "clean": "rimraf --glob .cache public static/assets static/base.css src/generated/**/*.js node_modules", "develop": "yarn start", "start": "pf-docs-framework start", "serve": "pf-docs-framework serve public", @@ -35,9 +35,7 @@ }, "devDependencies": { "@patternfly/documentation-framework": "^5.8.2", - "@patternfly/patternfly-a11y": "4.3.1", - "rimraf": "^2.6.3", - "shx": "^0.3.4" + "@patternfly/patternfly-a11y": "4.3.1" }, "keywords": [ "gatsby" diff --git a/packages/react-drag-drop/package.json b/packages/react-drag-drop/package.json index 356af4c6db7..a02229f0d72 100644 --- a/packages/react-drag-drop/package.json +++ b/packages/react-drag-drop/package.json @@ -43,7 +43,6 @@ "react-dom": "^17 || ^18" }, "devDependencies": { - "rimraf": "^2.6.2", "typescript": "^4.7.4" } } diff --git a/packages/react-icons/package.json b/packages/react-icons/package.json index 65ae100c1de..0cecd36ae02 100644 --- a/packages/react-icons/package.json +++ b/packages/react-icons/package.json @@ -35,7 +35,6 @@ "@patternfly/patternfly": "5.3.0-prerelease.5", "fs-extra": "^11.1.1", "glob": "^7.1.2", - "rimraf": "^2.6.2", "tslib": "^2.5.0", "typescript": "^4.7.4" }, diff --git a/packages/react-styles/package.json b/packages/react-styles/package.json index 649fa222870..fc447eb52a2 100644 --- a/packages/react-styles/package.json +++ b/packages/react-styles/package.json @@ -24,7 +24,6 @@ "fs-extra": "^11.1.1", "glob": "^7.1.2", "jsdom": "^15.1.0", - "rimraf": "^2.6.2", "typescript": "^4.7.4" }, "license": "MIT" diff --git a/packages/react-table/package.json b/packages/react-table/package.json index d9c91df457b..0462e29fca5 100644 --- a/packages/react-table/package.json +++ b/packages/react-table/package.json @@ -47,7 +47,6 @@ "tslib": "^2.5.0" }, "devDependencies": { - "rimraf": "^2.6.2", "typescript": "^4.7.4" }, "peerDependencies": { diff --git a/packages/react-templates/package.json b/packages/react-templates/package.json index 5516cca397e..da11005b5b6 100644 --- a/packages/react-templates/package.json +++ b/packages/react-templates/package.json @@ -44,7 +44,6 @@ "react-dom": "^17 || ^18" }, "devDependencies": { - "rimraf": "^2.6.2", "typescript": "^4.7.4" } } diff --git a/packages/react-tokens/package.json b/packages/react-tokens/package.json index 0d8b69c8e3c..9412a955ed9 100644 --- a/packages/react-tokens/package.json +++ b/packages/react-tokens/package.json @@ -31,7 +31,6 @@ "@patternfly/patternfly": "5.3.0-prerelease.5", "css": "^2.2.3", "fs-extra": "^11.1.1", - "glob": "^7.1.2", - "rimraf": "^2.6.2" + "glob": "^7.1.2" } } diff --git a/scripts/generators/package/package.json.hbs b/scripts/generators/package/package.json.hbs index 460764c33c9..c7e129fbdb7 100644 --- a/scripts/generators/package/package.json.hbs +++ b/scripts/generators/package/package.json.hbs @@ -35,7 +35,6 @@ "dependencies": {}, "devDependencies": { {{#if buildsWithTypescript}} - "rimraf": "^2.6.2", "tslib": "1.13.0",, "typescript": "^3.8.3" {{/if}} diff --git a/yarn.lock b/yarn.lock index 3e58aafdf96..1198b0d46f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9468,6 +9468,17 @@ glob@^10.2.2: minipass "^5.0.0 || ^6.0.2 || ^7.0.0" path-scurry "^1.10.1" +glob@^10.3.7: + version "10.3.12" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.12.tgz#3a65c363c2e9998d220338e88a5f6ac97302960b" + integrity sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg== + dependencies: + foreground-child "^3.1.0" + jackspeak "^2.3.6" + minimatch "^9.0.1" + minipass "^7.0.4" + path-scurry "^1.10.2" + glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.4: version "7.1.6" resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz" @@ -11173,6 +11184,15 @@ jackspeak@^2.0.3: optionalDependencies: "@pkgjs/parseargs" "^0.11.0" +jackspeak@^2.3.6: + version "2.3.6" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" + integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + jake@^10.8.5: version "10.8.5" resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.5.tgz#f2183d2c59382cb274226034543b9c03b8164c46" @@ -12619,6 +12639,11 @@ lowercase-keys@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz" +lru-cache@^10.2.0: + version "10.2.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" + integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== + lru-cache@^4.0.1, lru-cache@^4.1.1: version "4.1.5" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz" @@ -13371,6 +13396,11 @@ minipass@^5.0.0: resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.3.tgz#05ea638da44e475037ed94d1c7efcc76a25e1974" integrity sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg== +minipass@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== + minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" resolved "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz" @@ -14763,6 +14793,14 @@ path-scurry@^1.10.1, path-scurry@^1.5.0: lru-cache "^9.1.1 || ^10.0.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" +path-scurry@^1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.2.tgz#8f6357eb1239d5fa1da8b9f70e9c080675458ba7" + integrity sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-scurry@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.6.1.tgz#dab45f7bb1d3f45a0e271ab258999f4ab7e23132" @@ -16218,13 +16256,15 @@ rfdc@^1.3.0: rimraf@2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" + integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== dependencies: glob "^7.1.3" rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" @@ -16235,6 +16275,13 @@ rimraf@^4.4.1: dependencies: glob "^9.2.0" +rimraf@^5.0.5: + version "5.0.5" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.5.tgz#9be65d2d6e683447d2e9013da2bf451139a61ccf" + integrity sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A== + dependencies: + glob "^10.3.7" + ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz" @@ -16740,14 +16787,6 @@ shortid@^2.2.8: dependencies: nanoid "^2.1.0" -shx@^0.3.4: - version "0.3.4" - resolved "https://registry.yarnpkg.com/shx/-/shx-0.3.4.tgz#74289230b4b663979167f94e1935901406e40f02" - integrity sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g== - dependencies: - minimist "^1.2.3" - shelljs "^0.8.5" - side-channel@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"