Skip to content

Commit

Permalink
chore: update dependencies (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Sep 15, 2024
1 parent ddd45fe commit f8421cc
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module.exports = {
{
files: ["**/*.md"],
plugins: ["markdown"],
extends: ["plugin:markdown/recommended", "prettier"],
extends: ["plugin:markdown/recommended-legacy", "prettier"],
},

// Jest/Vitest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
field: app

- name: 🎈 Setup Fly
uses: superfly/flyctl-actions/setup-flyctl@v2
uses: superfly/flyctl-actions/setup-flyctl@v1

- name: 🚀 Deploy Staging
if: ${{ github.ref == 'refs/heads/dev' }}
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/delete-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// npx ts-node -r tsconfig-paths/register ./cypress/support/delete-user.ts username@example.com
// and that user will get deleted

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

import { prisma } from "~/db.server";
Expand Down
81 changes: 40 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"private": true,
"sideEffects": false,
"scripts": {
"build": "run-s build:*",
"build": "npm-run-all --sequential build:*",
"build:remix": "remix build",
"build:server": "esbuild --platform=node --format=cjs ./server.ts --outdir=build --bundle --external:fsevents",
"dev": "run-p dev:*",
"dev": "npm-run-all --parallel dev:*",
"dev:server": "cross-env NODE_ENV=development npm run build:server -- --watch",
"dev:remix": "remix dev --manual -c \"node --require ./mocks --watch-path ./build/server.js --watch ./build/server.js\"",
"docker": "docker compose up -d",
Expand All @@ -21,9 +21,8 @@
"pretest:e2e:run": "npm run build",
"test:e2e:run": "cross-env PORT=8811 start-server-and-test start:mocks http://localhost:8811 \"npx cypress run\"",
"typecheck": "tsc && tsc -p cypress",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run"
"validate": "npm-run-all --parallel \"test -- --run\" lint typecheck test:e2e:run"
},
"prettier": {},
"eslintIgnore": [
"/node_modules",
"/build",
Expand All @@ -32,7 +31,7 @@
],
"dependencies": {
"@isaacs/express-prometheus-middleware": "^1.2.1",
"@prisma/client": "^4.16.2",
"@prisma/client": "^5.19.1",
"@remix-run/css-bundle": "*",
"@remix-run/express": "*",
"@remix-run/node": "*",
Expand All @@ -41,66 +40,66 @@
"chokidar": "^3.6.0",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.19.2",
"isbot": "^4.4.0",
"express": "^4.20.0",
"isbot": "^5.1.17",
"morgan": "^1.10.0",
"prom-client": "^15.1.2",
"prom-client": "^15.1.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"source-map-support": "^0.5.21",
"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",
"@testing-library/cypress": "^10.0.2",
"@testing-library/jest-dom": "^6.5.0",
"@types/bcryptjs": "^2.4.6",
"@types/compression": "^1.7.5",
"@types/cookie": "^0.6.0",
"@types/eslint": "^8.56.10",
"@types/eslint": "^8.56.12",
"@types/express": "^4.17.21",
"@types/morgan": "^1.9.9",
"@types/node": "^18.19.31",
"@types/react": "^18.3.1",
"@types/node": "^20.16.5",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/source-map-support": "^0.5.10",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.5.3",
"autoprefixer": "^10.4.19",
"@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",
"cookie": "^0.6.0",
"cypress": "^13.8.1",
"cypress": "^13.14.2",
"dotenv": "^16.4.5",
"esbuild": "^0.20.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.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"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.8.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-react": "^7.34.1",
"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.2.2",
"happy-dom": "^14.7.1",
"msw": "^2.2.14",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.38",
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "^0.5.14",
"prisma": "^4.16.2",
"start-server-and-test": "^2.0.3",
"tailwindcss": "^3.4.3",
"eslint-plugin-testing-library": "^6.3.0",
"happy-dom": "^15.7.3",
"msw": "^2.4.4",
"npm-run-all2": "^6.2.2",
"postcss": "^8.4.45",
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "^0.6.6",
"prisma": "^5.19.1",
"start-server-and-test": "^2.0.7",
"tailwindcss": "^3.4.10",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"typescript": "^5.6.2",
"vite": "^5.4.3",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.5.3"
"vitest": "^2.0.5"
},
"engines": {
"node": ">=18.0.0"
Expand Down
4 changes: 4 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import("prettier").Config} */
module.exports = {
plugins: ["prettier-plugin-tailwindcss"],
};
4 changes: 2 additions & 2 deletions remix.init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"dependencies": {
"@iarna/toml": "^2.2.5",
"@npmcli/package-json": "^5.1.0",
"semver": "^7.6.0"
"@npmcli/package-json": "^5.2.0",
"semver": "^7.6.3"
}
}
5 changes: 0 additions & 5 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,5 @@ export default defineConfig({
environment: "happy-dom",
setupFiles: ["./test/setup-test-env.ts"],
include: ["./app/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
watchExclude: [
".*\\/node_modules\\/.*",
".*\\/build\\/.*",
".*\\/postgres-data\\/.*",
],
},
});

0 comments on commit f8421cc

Please sign in to comment.