Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
onigoetz committed Nov 26, 2024
1 parent 08cab1e commit 136d37d
Show file tree
Hide file tree
Showing 7 changed files with 146 additions and 152 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-plugin-swissquote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint-plugin-i": "2.29.1",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "4.6.2",
"prettier": "3.3.3",
"prettier": "3.4.1",
"prettier-linter-helpers": "1.0.0",
"prettier1": "npm:prettier@1.19.1",
"prettier2": "npm:prettier@2.8.8",
Expand Down
3 changes: 1 addition & 2 deletions packages/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"execa": "5.1.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"rimraf": "5.0.10"
"react-test-renderer": "18.3.1"
},
"devDependencies": {
"@babel/plugin-transform-property-literals": "7.25.9",
Expand Down
3 changes: 1 addition & 2 deletions packages/integration/utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const execa = require("execa");
const path = require("path");
const fs = require("fs");
const { rimraf } = require("rimraf");

function snapshotizeOutput(ret) {
const escapedPath = path
Expand Down Expand Up @@ -126,7 +125,7 @@ async function getCleanFixtures(fixtures, clean = ["dist"]) {
const dir = path.join(__dirname, "fixtures", fixtures);
for (const dirToClean of clean) {
// eslint-disable-next-line no-await-in-loop
await rimraf(path.join(dir, dirToClean));
await fs.promises.rm(path.join(dir, dirToClean), { force: true, recursive: true });
}

return dir;
Expand Down
3 changes: 1 addition & 2 deletions utils/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import fs from "fs";
import path from "path";
import { rimrafSync } from "rimraf";

import {
findFiles,
Expand Down Expand Up @@ -186,7 +185,7 @@ function builder(name) {

async function main() {
// Start with a cleanup
rimrafSync(process.cwd() + "/dist");
fs.rmSync(process.cwd() + "/dist", { force: true, recursive: true });

const toBuild = await import(process.cwd() + "/build.config.js")
const configuration = toBuild.default;
Expand Down
3 changes: 1 addition & 2 deletions utils/functions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const { rimrafSync } = require("rimraf");
const path = require("path");
const fs = require("fs");

Expand Down Expand Up @@ -77,7 +76,7 @@ var copyRecursiveSync = function(src, dest) {
};

function rmrf(toDelete) {
rimrafSync(toDelete);
fs.rmSync(toDelete, { recursive: true, force: true });
}

module.exports = {
Expand Down
3 changes: 1 addition & 2 deletions utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"lint": "node ../packages/crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node *.js"
},
"dependencies": {
"@vercel/ncc": "0.38.3",
"rimraf": "5.0.10"
"@vercel/ncc": "0.38.3"
},
"engines": {
"node": ">=18"
Expand Down
Loading

0 comments on commit 136d37d

Please sign in to comment.