From 73385a9f0ea0697428e73b3bf8721ce40c0f9c72 Mon Sep 17 00:00:00 2001 From: Johan Nyman Date: Mon, 15 Apr 2024 08:33:08 +0200 Subject: [PATCH] chore: fix reset script --- scripts/reset.js | 3 +-- yarn.lock | 9 +-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/scripts/reset.js b/scripts/reset.js index 9da0d856..9890856e 100644 --- a/scripts/reset.js +++ b/scripts/reset.js @@ -1,7 +1,6 @@ /* eslint-disable node/no-unpublished-require */ -const promisify = require('util').promisify const { glob } = require('glob') -const rimraf = promisify(require('rimraf')) +const rimraf = require('rimraf').rimraf /* Removing all /node_modules and /dist folders diff --git a/yarn.lock b/yarn.lock index 156217a0..23c5ef8a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2492,14 +2492,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*": - version: 18.0.3 - resolution: "@types/node@npm:18.0.3" - checksum: 10/736dac4284972d3bac87a89698a0b2b536a1793be6be4cf28f7ea1fd76d371b906c338278fa842ec1d6e819707b6749d6f41fd9b3ed92ff18db5e6220b600a9e - languageName: node - linkType: hard - -"@types/node@npm:^18": +"@types/node@npm:*, @types/node@npm:^18": version: 18.19.29 resolution: "@types/node@npm:18.19.29" dependencies: