Skip to content

Commit

Permalink
Upgrade rimraf and npm-run-all
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Jan 4, 2024
1 parent c1e1d88 commit 1448c0c
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"react-virtuoso": "1.2.4",
"redux": "^4.2.1",
"reselect": "~4.1.8",
"rimraf": "^3.0.2",
"rimraf": "~5.0.5",
"semver": "^7.5.4"
},
"devDependencies": {
Expand Down Expand Up @@ -130,7 +130,7 @@
"jest": "~29.7.0",
"jest-environment-jsdom": "~29.7.0",
"jimp": "~0.16.13",
"npm-run-all": "^4.1.5",
"npm-run-all": "~4.1.5",
"prettier": "~2.8.8",
"puppeteer": "^13.1.2",
"rollup": "~2.79.1",
Expand Down
2 changes: 1 addition & 1 deletion src/app/main/app.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { app, session } from 'electron';
import rimraf from 'rimraf';
import { rimraf } from 'rimraf';

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore:next-line
Expand Down
4 changes: 2 additions & 2 deletions src/buildAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Jimp from 'jimp';
import puppeteer from 'puppeteer';
import { createElement } from 'react';
import { renderToStaticMarkup } from 'react-dom/server';
import rimraf from 'rimraf';
import { rimraf } from 'rimraf';

import type { Server } from './servers/common';
import DmgBackground from './ui/assets/DmgBackground';
Expand Down Expand Up @@ -263,7 +263,7 @@ const run = async (): Promise<void> => {
await createWindowsAppIcons();
await createLinuxAppIcons();

await util.promisify(rimraf)('src/public/images/tray');
await rimraf('src/public/images/tray');

await createMacOSTrayIcons();
await createWindowsTrayIcons();
Expand Down
4 changes: 2 additions & 2 deletions workspaces/desktop-release-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"eslint-import-resolver-typescript": "~3.6.1",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-prettier": "~4.2.1",
"npm-run-all": "^4.1.5",
"npm-run-all": "~4.1.5",
"prettier": "~2.8.8",
"rimraf": "^3.0.2",
"rimraf": "~5.0.5",
"typescript": "~5.3.3"
},
"dependencies": {
Expand Down
49 changes: 44 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4948,9 +4948,9 @@ __metadata:
eslint-plugin-import: "npm:~2.26.0"
eslint-plugin-prettier: "npm:~4.2.1"
fast-glob: "npm:^3.2.5"
npm-run-all: "npm:^4.1.5"
npm-run-all: "npm:~4.1.5"
prettier: "npm:~2.8.8"
rimraf: "npm:^3.0.2"
rimraf: "npm:~5.0.5"
semver: "npm:^7.3.5"
typescript: "npm:~5.3.3"
languageName: unknown
Expand Down Expand Up @@ -9873,6 +9873,21 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^10.3.7":
version: 10.3.10
resolution: "glob@npm:10.3.10"
dependencies:
foreground-child: "npm:^3.1.0"
jackspeak: "npm:^2.3.5"
minimatch: "npm:^9.0.1"
minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0"
path-scurry: "npm:^1.10.1"
bin:
glob: dist/esm/bin.mjs
checksum: 38bdb2c9ce75eb5ed168f309d4ed05b0798f640b637034800a6bf306f39d35409bf278b0eaaffaec07591085d3acb7184a201eae791468f0f617771c2486a6a8
languageName: node
linkType: hard

"glob@npm:^7.0.5, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6":
version: 7.2.3
resolution: "glob@npm:7.2.3"
Expand Down Expand Up @@ -10951,6 +10966,19 @@ __metadata:
languageName: node
linkType: hard

"jackspeak@npm:^2.3.5":
version: 2.3.6
resolution: "jackspeak@npm:2.3.6"
dependencies:
"@isaacs/cliui": "npm:^8.0.2"
"@pkgjs/parseargs": "npm:^0.11.0"
dependenciesMeta:
"@pkgjs/parseargs":
optional: true
checksum: 6e6490d676af8c94a7b5b29b8fd5629f21346911ebe2e32931c2a54210134408171c24cee1a109df2ec19894ad04a429402a8438cbf5cc2794585d35428ace76
languageName: node
linkType: hard

"jake@npm:^10.8.5":
version: 10.8.7
resolution: "jake@npm:10.8.7"
Expand Down Expand Up @@ -12734,7 +12762,7 @@ __metadata:
languageName: node
linkType: hard

"npm-run-all@npm:^4.1.5":
"npm-run-all@npm:~4.1.5":
version: 4.1.5
resolution: "npm-run-all@npm:4.1.5"
dependencies:
Expand Down Expand Up @@ -14238,6 +14266,17 @@ __metadata:
languageName: node
linkType: hard

"rimraf@npm:~5.0.5":
version: 5.0.5
resolution: "rimraf@npm:5.0.5"
dependencies:
glob: "npm:^10.3.7"
bin:
rimraf: dist/esm/bin.mjs
checksum: a612c7184f96258b7d1328c486b12ca7b60aa30e04229a08bbfa7e964486deb1e9a1b52d917809311bdc39a808a4055c0f950c0280fba194ba0a09e6f0d404f6
languageName: node
linkType: hard

"roarr@npm:^2.15.3":
version: 2.15.4
resolution: "roarr@npm:2.15.4"
Expand Down Expand Up @@ -14325,7 +14364,7 @@ __metadata:
jimp: "npm:~0.16.13"
jsonwebtoken: "npm:~9.0.2"
moment: "npm:^2.29.4"
npm-run-all: "npm:^4.1.5"
npm-run-all: "npm:~4.1.5"
prettier: "npm:~2.8.8"
puppeteer: "npm:^13.1.2"
react: "npm:~18.2.0"
Expand All @@ -14337,7 +14376,7 @@ __metadata:
react-virtuoso: "npm:1.2.4"
redux: "npm:^4.2.1"
reselect: "npm:~4.1.8"
rimraf: "npm:^3.0.2"
rimraf: "npm:~5.0.5"
rollup: "npm:~2.79.1"
rollup-plugin-copy: "npm:~3.4.0"
semver: "npm:^7.5.4"
Expand Down

0 comments on commit 1448c0c

Please sign in to comment.