From 1a4119f2f6cf13e30db0baa00bbb29355e1dae93 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Sun, 3 Dec 2023 19:32:14 -0700 Subject: chore: project maintenance (#1466) - temporarily disable newly introduced `jsx-a11y/control-has-associated-label` rule - add `--quiet` flag to lint command to see issues with error level only - reuse `lint` command for `lint:fix` command - use `--cache` flag for `prettier` and `eslint` commands - upgrade all non-major dependencies to latest except for `esbuild` - run `pnpm dedupe` to simplify lockfile - autofix various `.ts` and `.tsx` files with `pnpm prepare-code` command - disable newly discovered lint issue in `SearchInput` --- package.json | 108 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 54 insertions(+), 54 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index c11acf637..f52cd8163 100644 --- a/package.json +++ b/package.json @@ -32,14 +32,14 @@ "test": "jest", "test:watch": "jest --watch", "typecheck": "tsc --noEmit", - "lint": "eslint \"{src,test,scripts}/**/*.{js,jsx,mjs,ts,tsx}\"", - "lint:fix": "eslint --fix \"{src,test,scripts}/**/*.{js,jsx,mjs,ts,tsx}\"", + "lint": "eslint \"{src,test,scripts}/**/*.{js,jsx,mjs,ts,tsx}\" --quiet", + "lint:fix": "pnpm lint --cache --fix", "extract": "formatjs extract \"src/**/*.{js,jsx,mjs,ts,tsx}\" --ignore=\"**/*.d.ts\" --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", "compile": "formatjs compile \"temp.json\" --out-file src/i18n/locales/en-US.json", "manage-translations": "pnpm extract && pnpm compile && rimraf temp.json", "build": "preval-build-info-cli && node esbuild.mjs && electron-builder", "contributors": "all-contributors", - "reformat-files": "prettier --ignore-path .eslintignore --write \"**/*.{js,jsx,mjs,ts,tsx,scss}\"", + "reformat-files": "prettier --ignore-path .eslintignore --write --cache \"**/*.{js,jsx,mjs,ts,tsx,scss}\"", "prepare-code": "pnpm typecheck && pnpm lint:fix && pnpm reformat-files && pnpm manage-translations", "link-readme": "ts-node scripts/link-readme.ts", "minify-images": "./scripts/minify-images.sh", @@ -61,31 +61,31 @@ "@adonisjs/session": "1.1.0", "@adonisjs/shield": "1.1.0", "@adonisjs/validator": "5.1.0", - "@electron/remote": "2.0.11", + "@electron/remote": "2.1.0", "@emotion/react": "11.11.1", "@emotion/styled": "11.11.0", "@krisdages/electron-process-manager": "3.0.0", - "@mdi/js": "7.2.96", + "@mdi/js": "7.3.67", "@mdi/react": "1.6.1", - "@mui/icons-material": "5.14.9", - "@mui/material": "5.14.10", - "@octokit/core": "5.0.0", - "@sentry/electron": "4.10.0", + "@mui/icons-material": "5.14.19", + "@mui/material": "5.14.19", + "@octokit/core": "5.0.2", + "@sentry/electron": "4.14.0", "@superwf/mobx-react-router": "7.4.0", "auto-launch": "5.0.6", "classnames": "2.3.2", "color": "4.2.3", "csstype": "3.1.2", - "darkreader": "4.9.58", + "darkreader": "4.9.69", "dbus-next": "0.10.2", "debug": "4.3.4", - "electron-dl": "3.5.0", + "electron-dl": "3.5.1", "electron-find": "1.0.7", "electron-react-titlebar": "1.2.1", - "electron-updater": "6.1.5", + "electron-updater": "6.1.7", "electron-window-state": "5.0.3", "fast-folder-size": "2.2.0", - "fs-extra": "11.1.1", + "fs-extra": "11.2.0", "google-translate-api-x": "10.6.7", "history": "5.3.0", "immutable": "4.3.2", @@ -96,10 +96,10 @@ "macos-version": "5.2.1", "markdown-to-jsx": "7.3.2", "minimist": "1.2.8", - "mobx": "6.10.2", + "mobx": "6.12.0", "mobx-localstorage": "1.2.0", "mobx-react": "7.6.0", - "mobx-react-form": "6.3.7", + "mobx-react-form": "6.6.0", "moment": "2.29.4", "ms": "2.1.3", "normalize-url": "6.1.0", @@ -113,13 +113,13 @@ "react-dom": "18.2.0", "react-dropzone": "14.2.3", "react-electron-web-view": "2.0.1", - "react-intl": "6.4.7", + "react-intl": "6.5.5", "react-jss": "10.10.0", "react-loader-spinner": "5.4.5", "react-modal": "3.16.1", - "react-router-dom": "6.15.0", + "react-router-dom": "6.20.1", "react-sortable-hoc": "2.0.0", - "react-tooltip": "5.21.4", + "react-tooltip": "5.24.0", "react-topbar-progress-indicator": "4.1.1", "react-transition-group": "4.4.5", "route-parser": "0.0.5", @@ -137,47 +137,47 @@ "@commitlint/cli": "17.7.1", "@commitlint/config-conventional": "17.7.0", "@electron/notarize": "1.2.3", - "@formatjs/cli": "6.1.5", + "@formatjs/cli": "6.2.4", "@jest/types": "29.6.3", - "@types/auto-launch": "5.0.2", - "@types/color": "3.0.4", - "@types/fs-extra": "11.0.2", - "@types/jest": "29.5.5", - "@types/lodash": "4.14.198", - "@types/minimist": "1.2.2", - "@types/ms": "0.7.31", - "@types/node": "20.8.10", - "@types/prop-types": "15.7.6", - "@types/react": "18.2.22", - "@types/react-color": "3.0.6", - "@types/react-dom": "18.2.7", - "@types/react-loader": "2.4.5", - "@types/react-transition-group": "4.4.6", - "@types/route-parser": "0.1.4", - "@types/semver": "7.5.2", - "@types/tar": "6.1.6", - "@types/uuid": "9.0.4", - "@types/validator": "13.11.1", - "@typescript-eslint/eslint-plugin": "6.7.2", - "@typescript-eslint/parser": "6.7.2", + "@types/auto-launch": "5.0.5", + "@types/color": "3.0.6", + "@types/fs-extra": "11.0.4", + "@types/jest": "29.5.10", + "@types/lodash": "4.14.202", + "@types/minimist": "1.2.5", + "@types/ms": "0.7.34", + "@types/node": "20.10.3", + "@types/prop-types": "15.7.11", + "@types/react": "18.2.41", + "@types/react-color": "3.0.10", + "@types/react-dom": "18.2.17", + "@types/react-loader": "2.4.8", + "@types/react-transition-group": "4.4.9", + "@types/route-parser": "0.1.7", + "@types/semver": "7.5.6", + "@types/tar": "6.1.10", + "@types/uuid": "9.0.7", + "@types/validator": "13.11.7", + "@typescript-eslint/eslint-plugin": "6.13.1", + "@typescript-eslint/parser": "6.13.1", "all-contributors-cli": "6.26.1", "chalk": "5.3.0", - "concurrently": "8.2.1", + "concurrently": "8.2.2", "cross-env": "7.0.3", - "electron": "27.0.1", - "electron-builder": "24.7.0", + "electron": "27.1.3", + "electron-builder": "24.9.1", "esbuild": "0.16.17", "esbuild-plugin-copy": "2.1.1", "esbuild-runner": "2.2.2", - "esbuild-sass-plugin": "2.15.0", - "eslint": "8.49.0", + "esbuild-sass-plugin": "2.16.0", + "eslint": "8.55.0", "eslint-config-airbnb": "19.0.4", "eslint-config-airbnb-typescript": "17.1.0", "eslint-config-prettier": "8.8.0", - "eslint-plugin-import": "2.28.1", - "eslint-plugin-jest": "27.2.3", - "eslint-plugin-jsx-a11y": "6.7.1", - "eslint-plugin-prettier": "5.0.0", + "eslint-plugin-import": "2.29.0", + "eslint-plugin-jest": "27.6.0", + "eslint-plugin-jsx-a11y": "6.8.0", + "eslint-plugin-prettier": "5.0.1", "eslint-plugin-react": "7.33.2", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-sonar": "0.12.0", @@ -186,14 +186,14 @@ "husky": "8.0.3", "is-ci": "3.0.1", "jest": "29.7.0", - "prettier": "3.0.3", + "prettier": "3.1.0", "preval-build-info": "1.0.3", - "rimraf": "5.0.1", - "simple-git": "3.19.1", + "rimraf": "5.0.5", + "simple-git": "3.21.0", "tiny-glob": "0.2.9", "ts-node": "10.9.1", - "typescript": "5.2.2", - "wait-on": "7.0.1" + "typescript": "5.3.2", + "wait-on": "7.2.0" }, "pnpm": { "overrides": { -- cgit v1.2.3-70-g09d2