From 3f7770eff65589db1e919f94df0c52fb1f1b8535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Sun, 15 Sep 2024 16:10:16 +0200 Subject: [PATCH] chore: update dependencies (#189) --- .eslintrc.cjs | 2 +- package.json | 80 ++++++++++++++++++++--------------------- prettier.config.js | 4 +++ remix.init/package.json | 6 ++-- 4 files changed, 47 insertions(+), 45 deletions(-) create mode 100644 prettier.config.js diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 672c56c..f845a1c 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -92,7 +92,7 @@ module.exports = { { files: ["**/*.md"], plugins: ["markdown"], - extends: ["plugin:markdown/recommended", "prettier"], + extends: ["plugin:markdown/recommended-legacy", "prettier"], }, // Jest/Vitest diff --git a/package.json b/package.json index 32e6c1d..dab0462 100644 --- a/package.json +++ b/package.json @@ -16,70 +16,68 @@ "typecheck": "tsc && tsc -p cypress", "validate": "run-p \"test -- --run\" lint typecheck test:e2e:run" }, - "prettier": {}, "eslintIgnore": [ "/node_modules", "/server/index.js", "/public/build" ], "dependencies": { - "@architect/architect": "^10.16.3", - "@architect/functions": "^7.0.0", + "@architect/architect": "^11.1.0", + "@architect/functions": "^8.1.6", "@paralleldrive/cuid2": "^2.2.2", "@remix-run/architect": "*", "@remix-run/css-bundle": "*", "@remix-run/node": "*", "@remix-run/react": "*", "bcryptjs": "2.4.3", - "isbot": "^4.4.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "isbot": "^5.1.17", + "react": "^18.3.1", + "react-dom": "^18.3.1", "tiny-invariant": "^1.3.3" }, "devDependencies": { - "@faker-js/faker": "^8.4.1", + "@faker-js/faker": "^9.0.0", "@remix-run/dev": "*", - "@testing-library/cypress": "^10.0.1", - "@testing-library/jest-dom": "^6.4.2", - "@types/architect__functions": "^3.13.11", + "@testing-library/cypress": "^10.0.2", + "@testing-library/jest-dom": "^6.5.0", "@types/bcryptjs": "2.4.6", - "@types/eslint": "^8.56.6", - "@types/node": "^18.19.26", - "@types/react": "^18.2.73", - "@types/react-dom": "^18.2.22", - "@typescript-eslint/eslint-plugin": "^6.21.0", - "@typescript-eslint/parser": "^6.21.0", - "@vitejs/plugin-react": "^4.2.1", - "@vitest/coverage-v8": "^1.4.0", - "autoprefixer": "^10.4.19", + "@types/eslint": "^8.56.12", + "@types/node": "^20.16.5", + "@types/react": "^18.3.5", + "@types/react-dom": "^18.3.0", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", + "@vitejs/plugin-react": "^4.3.1", + "@vitest/coverage-v8": "^2.0.5", + "autoprefixer": "^10.4.20", "cross-env": "^7.0.3", - "cypress": "^13.7.1", - "esbuild": "^0.20.2", + "cypress": "^13.14.2", + "esbuild": "^0.23.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", - "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-cypress": "^2.15.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-jest": "^27.9.0", - "eslint-plugin-jest-dom": "^5.2.0", - "eslint-plugin-jsx-a11y": "^6.8.0", - "eslint-plugin-markdown": "^3.0.1", - "eslint-plugin-react": "^7.34.1", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-testing-library": "^6.2.0", - "happy-dom": "^14.3.9", + "eslint-import-resolver-typescript": "^3.6.3", + "eslint-plugin-cypress": "^3.5.0", + "eslint-plugin-import": "^2.30.0", + "eslint-plugin-jest": "^28.8.3", + "eslint-plugin-jest-dom": "^5.4.0", + "eslint-plugin-jsx-a11y": "^6.10.0", + "eslint-plugin-markdown": "^5.1.0", + "eslint-plugin-react": "^7.35.2", + "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-testing-library": "^6.3.0", + "happy-dom": "^15.7.3", "mock-aws-s3": "^4.0.2", - "msw": "^2.2.13", + "msw": "^2.4.4", "npm-run-all": "^4.1.5", - "postcss": "^8.4.38", - "prettier": "3.2.5", - "prettier-plugin-tailwindcss": "^0.5.13", - "start-server-and-test": "^2.0.3", - "tailwindcss": "^3.4.2", - "typescript": "^5.4.3", - "vite": "^5.2.6", + "postcss": "^8.4.45", + "prettier": "3.3.3", + "prettier-plugin-tailwindcss": "^0.6.6", + "start-server-and-test": "^2.0.7", + "tailwindcss": "^3.4.10", + "typescript": "^5.6.2", + "vite": "^5.4.3", "vite-tsconfig-paths": "^4.3.2", - "vitest": "^1.4.0" + "vitest": "^2.0.5" }, "engines": { "node": ">=18.0.0" diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 0000000..776594f --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,4 @@ +/** @type {import("prettier").Config} */ +module.exports = { + plugins: ["prettier-plugin-tailwindcss"], +}; diff --git a/remix.init/package.json b/remix.init/package.json index 3f2737b..7f7a628 100644 --- a/remix.init/package.json +++ b/remix.init/package.json @@ -4,9 +4,9 @@ "main": "index.js", "license": "MIT", "dependencies": { - "@architect/utils": "^4.0.4", - "@npmcli/package-json": "^5.0.0", + "@architect/utils": "^4.0.6", + "@npmcli/package-json": "^5.2.1", "inquirer": "^8.2.6", - "semver": "^7.6.0" + "semver": "^7.6.2" } }