Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit f8421cc

Browse files
chore: update dependencies (#243)
1 parent ddd45fe commit f8421cc

File tree

7 files changed

+49
-51
lines changed

7 files changed

+49
-51
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module.exports = {
9292
{
9393
files: ["**/*.md"],
9494
plugins: ["markdown"],
95-
extends: ["plugin:markdown/recommended", "prettier"],
95+
extends: ["plugin:markdown/recommended-legacy", "prettier"],
9696
},
9797

9898
// Jest/Vitest

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
field: app
136136

137137
- name: 🎈 Setup Fly
138-
uses: superfly/flyctl-actions/setup-flyctl@v2
138+
uses: superfly/flyctl-actions/setup-flyctl@v1
139139

140140
- name: 🚀 Deploy Staging
141141
if: ${{ github.ref == 'refs/heads/dev' }}

cypress/support/delete-user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// npx ts-node -r tsconfig-paths/register ./cypress/support/delete-user.ts [email protected]
44
// and that user will get deleted
55

6-
import { PrismaClientKnownRequestError } from "@prisma/client/runtime";
6+
import { PrismaClientKnownRequestError } from "@prisma/client/runtime/library";
77
import { installGlobals } from "@remix-run/node";
88

99
import { prisma } from "~/db.server";

package.json

Lines changed: 40 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"private": true,
44
"sideEffects": false,
55
"scripts": {
6-
"build": "run-s build:*",
6+
"build": "npm-run-all --sequential build:*",
77
"build:remix": "remix build",
88
"build:server": "esbuild --platform=node --format=cjs ./server.ts --outdir=build --bundle --external:fsevents",
9-
"dev": "run-p dev:*",
9+
"dev": "npm-run-all --parallel dev:*",
1010
"dev:server": "cross-env NODE_ENV=development npm run build:server -- --watch",
1111
"dev:remix": "remix dev --manual -c \"node --require ./mocks --watch-path ./build/server.js --watch ./build/server.js\"",
1212
"docker": "docker compose up -d",
@@ -21,9 +21,8 @@
2121
"pretest:e2e:run": "npm run build",
2222
"test:e2e:run": "cross-env PORT=8811 start-server-and-test start:mocks http://localhost:8811 \"npx cypress run\"",
2323
"typecheck": "tsc && tsc -p cypress",
24-
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run"
24+
"validate": "npm-run-all --parallel \"test -- --run\" lint typecheck test:e2e:run"
2525
},
26-
"prettier": {},
2726
"eslintIgnore": [
2827
"/node_modules",
2928
"/build",
@@ -32,7 +31,7 @@
3231
],
3332
"dependencies": {
3433
"@isaacs/express-prometheus-middleware": "^1.2.1",
35-
"@prisma/client": "^4.16.2",
34+
"@prisma/client": "^5.19.1",
3635
"@remix-run/css-bundle": "*",
3736
"@remix-run/express": "*",
3837
"@remix-run/node": "*",
@@ -41,66 +40,66 @@
4140
"chokidar": "^3.6.0",
4241
"compression": "^1.7.4",
4342
"cross-env": "^7.0.3",
44-
"express": "^4.19.2",
45-
"isbot": "^4.4.0",
43+
"express": "^4.20.0",
44+
"isbot": "^5.1.17",
4645
"morgan": "^1.10.0",
47-
"prom-client": "^15.1.2",
46+
"prom-client": "^15.1.3",
4847
"react": "^18.3.1",
4948
"react-dom": "^18.3.1",
5049
"source-map-support": "^0.5.21",
5150
"tiny-invariant": "^1.3.3"
5251
},
5352
"devDependencies": {
54-
"@faker-js/faker": "^8.4.1",
53+
"@faker-js/faker": "^9.0.0",
5554
"@remix-run/dev": "*",
56-
"@testing-library/cypress": "^10.0.1",
57-
"@testing-library/jest-dom": "^6.4.2",
55+
"@testing-library/cypress": "^10.0.2",
56+
"@testing-library/jest-dom": "^6.5.0",
5857
"@types/bcryptjs": "^2.4.6",
5958
"@types/compression": "^1.7.5",
6059
"@types/cookie": "^0.6.0",
61-
"@types/eslint": "^8.56.10",
60+
"@types/eslint": "^8.56.12",
6261
"@types/express": "^4.17.21",
6362
"@types/morgan": "^1.9.9",
64-
"@types/node": "^18.19.31",
65-
"@types/react": "^18.3.1",
63+
"@types/node": "^20.16.5",
64+
"@types/react": "^18.3.5",
6665
"@types/react-dom": "^18.3.0",
6766
"@types/source-map-support": "^0.5.10",
68-
"@typescript-eslint/eslint-plugin": "^6.21.0",
69-
"@typescript-eslint/parser": "^6.21.0",
70-
"@vitejs/plugin-react": "^4.2.1",
71-
"@vitest/coverage-v8": "^1.5.3",
72-
"autoprefixer": "^10.4.19",
67+
"@typescript-eslint/eslint-plugin": "^7.18.0",
68+
"@typescript-eslint/parser": "^7.18.0",
69+
"@vitejs/plugin-react": "^4.3.1",
70+
"@vitest/coverage-v8": "^2.0.5",
71+
"autoprefixer": "^10.4.20",
7372
"cookie": "^0.6.0",
74-
"cypress": "^13.8.1",
73+
"cypress": "^13.14.2",
7574
"dotenv": "^16.4.5",
76-
"esbuild": "^0.20.2",
75+
"esbuild": "^0.23.1",
7776
"eslint": "^8.57.0",
7877
"eslint-config-prettier": "^9.1.0",
79-
"eslint-import-resolver-typescript": "^3.6.1",
80-
"eslint-plugin-cypress": "^2.15.2",
81-
"eslint-plugin-import": "^2.29.1",
82-
"eslint-plugin-jest": "^27.9.0",
78+
"eslint-import-resolver-typescript": "^3.6.3",
79+
"eslint-plugin-cypress": "^3.5.0",
80+
"eslint-plugin-import": "^2.30.0",
81+
"eslint-plugin-jest": "^28.8.3",
8382
"eslint-plugin-jest-dom": "^5.4.0",
84-
"eslint-plugin-jsx-a11y": "^6.8.0",
85-
"eslint-plugin-markdown": "^3.0.1",
86-
"eslint-plugin-react": "^7.34.1",
83+
"eslint-plugin-jsx-a11y": "^6.10.0",
84+
"eslint-plugin-markdown": "^5.1.0",
85+
"eslint-plugin-react": "^7.35.2",
8786
"eslint-plugin-react-hooks": "^4.6.2",
88-
"eslint-plugin-testing-library": "^6.2.2",
89-
"happy-dom": "^14.7.1",
90-
"msw": "^2.2.14",
91-
"npm-run-all": "^4.1.5",
92-
"postcss": "^8.4.38",
93-
"prettier": "3.2.5",
94-
"prettier-plugin-tailwindcss": "^0.5.14",
95-
"prisma": "^4.16.2",
96-
"start-server-and-test": "^2.0.3",
97-
"tailwindcss": "^3.4.3",
87+
"eslint-plugin-testing-library": "^6.3.0",
88+
"happy-dom": "^15.7.3",
89+
"msw": "^2.4.4",
90+
"npm-run-all2": "^6.2.2",
91+
"postcss": "^8.4.45",
92+
"prettier": "3.3.3",
93+
"prettier-plugin-tailwindcss": "^0.6.6",
94+
"prisma": "^5.19.1",
95+
"start-server-and-test": "^2.0.7",
96+
"tailwindcss": "^3.4.10",
9897
"ts-node": "^10.9.2",
9998
"tsconfig-paths": "^4.2.0",
100-
"typescript": "^5.4.5",
101-
"vite": "^5.2.11",
99+
"typescript": "^5.6.2",
100+
"vite": "^5.4.3",
102101
"vite-tsconfig-paths": "^4.3.2",
103-
"vitest": "^1.5.3"
102+
"vitest": "^2.0.5"
104103
},
105104
"engines": {
106105
"node": ">=18.0.0"

prettier.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/** @type {import("prettier").Config} */
2+
module.exports = {
3+
plugins: ["prettier-plugin-tailwindcss"],
4+
};

remix.init/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"dependencies": {
77
"@iarna/toml": "^2.2.5",
8-
"@npmcli/package-json": "^5.1.0",
9-
"semver": "^7.6.0"
8+
"@npmcli/package-json": "^5.2.0",
9+
"semver": "^7.6.3"
1010
}
1111
}

vitest.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,5 @@ export default defineConfig({
1212
environment: "happy-dom",
1313
setupFiles: ["./test/setup-test-env.ts"],
1414
include: ["./app/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
15-
watchExclude: [
16-
".*\\/node_modules\\/.*",
17-
".*\\/build\\/.*",
18-
".*\\/postgres-data\\/.*",
19-
],
2015
},
2116
});

0 commit comments

Comments
 (0)