From 4d707177ea99d98a6eeaf2721eee4e22a2482870 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 28 Jan 2024 20:30:28 -0500 Subject: [PATCH] Upgrading deps. --- .husky/pre-commit | 5 +---- package.json | 8 ++++---- pnpm-lock.yaml | 30 +++++++++++++++--------------- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d2ae35e..cb2c84d 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -yarn lint-staged +pnpm lint-staged diff --git a/package.json b/package.json index 8f6267c..4cd0239 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "build": "tsc", "docs": "typedoc src/index.ts", "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check src", - "prepare": "pnpm run build && husky install" + "prepare": "husky" }, "repository": "https://github.com/LemmyNet/lemmy-js-client", "dependencies": { @@ -20,19 +20,19 @@ "form-data": "^4.0.0" }, "devDependencies": { - "@types/node": "^20.10.0", + "@types/node": "^20.11.10", "@typescript-eslint/eslint-plugin": "^6.13.1", "@typescript-eslint/parser": "^6.13.1", "eslint": "^8.54.0", "eslint-plugin-prettier": "^5.0.1", - "husky": "^8.0.3", + "husky": "^9.0.6", "lint-staged": "^15.1.0", "prettier": "^3.1.0", "prettier-plugin-import-sort": "^0.0.7", "prettier-plugin-organize-imports": "^3.2.4", "prettier-plugin-packagejson": "^2.4.6", "sortpack": "^2.3.5", - "typedoc": "^0.24.7", + "typedoc": "^0.25.7", "typescript": "^5.3.2" }, "types": "./dist/index.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4b74992..011d8af 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,8 +14,8 @@ dependencies: devDependencies: '@types/node': - specifier: ^20.10.0 - version: 20.11.9 + specifier: ^20.11.10 + version: 20.11.10 '@typescript-eslint/eslint-plugin': specifier: ^6.13.1 version: 6.19.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0)(typescript@5.3.3) @@ -29,8 +29,8 @@ devDependencies: specifier: ^5.0.1 version: 5.1.3(eslint@8.56.0)(prettier@3.2.4) husky: - specifier: ^8.0.3 - version: 8.0.3 + specifier: ^9.0.6 + version: 9.0.6 lint-staged: specifier: ^15.1.0 version: 15.2.0 @@ -50,8 +50,8 @@ devDependencies: specifier: ^2.3.5 version: 2.4.0 typedoc: - specifier: ^0.24.7 - version: 0.24.8(typescript@5.3.3) + specifier: ^0.25.7 + version: 0.25.7(typescript@5.3.3) typescript: specifier: ^5.3.2 version: 5.3.3 @@ -379,8 +379,8 @@ packages: resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} dev: true - /@types/node@20.11.9: - resolution: {integrity: sha512-CQXNuMoS/VcoAMISe5pm4JnEd1Br5jildbQEToEMQvutmv+EaQr90ry9raiudgpyDuqFiV9e4rnjSfLNq12M5w==} + /@types/node@20.11.10: + resolution: {integrity: sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==} dependencies: undici-types: 5.26.5 dev: true @@ -1204,9 +1204,9 @@ packages: engines: {node: '>=16.17.0'} dev: true - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + /husky@9.0.6: + resolution: {integrity: sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==} + engines: {node: '>=18'} hasBin: true dev: true @@ -2035,12 +2035,12 @@ packages: engines: {node: '>=14.16'} dev: true - /typedoc@0.24.8(typescript@5.3.3): - resolution: {integrity: sha512-ahJ6Cpcvxwaxfu4KtjA8qZNqS43wYt6JL27wYiIgl1vd38WW/KWX11YuAeZhuz9v+ttrutSsgK+XO1CjL1kA3w==} - engines: {node: '>= 14.14'} + /typedoc@0.25.7(typescript@5.3.3): + resolution: {integrity: sha512-m6A6JjQRg39p2ZVRIN3NKXgrN8vzlHhOS+r9ymUYtcUP/TIQPvWSq7YgE5ZjASfv5Vd5BW5xrir6Gm2XNNcOow==} + engines: {node: '>= 16'} hasBin: true peerDependencies: - typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x + typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x dependencies: lunr: 2.3.9 marked: 4.3.0