Skip to content

Commit

Permalink
chore: update dependencies (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Oct 24, 2023
1 parent 427b04b commit 1965c44
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 37 deletions.
1 change: 0 additions & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineConfig({
const port = process.env.PORT ?? (isDev ? "3000" : "8811");
const configOverrides: Partial<Cypress.PluginConfigOptions> = {
baseUrl: `http://localhost:${port}`,
video: !process.env.CI,
screenshotOnRunFailure: !process.env.CI,
};

Expand Down
6 changes: 4 additions & 2 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@ function visitAndCheck(url: string, waitTime = 1000) {
cy.location("pathname").should("contain", url).wait(waitTime);
}

Cypress.Commands.add("login", login);
Cypress.Commands.add("visitAndCheck", visitAndCheck);
export const registerCommands = () => {
Cypress.Commands.add("login", login);
Cypress.Commands.add("visitAndCheck", visitAndCheck);
};
4 changes: 3 additions & 1 deletion cypress/support/e2e.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import "@testing-library/cypress/add-commands";
import "./commands";
import { registerCommands } from "./commands";

registerCommands();

Cypress.on("uncaught:exception", (err) => {
// Cypress and React Hydrating the document don't get along
Expand Down
63 changes: 31 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,64 +23,63 @@
"/public/build"
],
"dependencies": {
"@architect/architect": "^10.14.0",
"@architect/architect": "^10.14.2",
"@architect/functions": "^7.0.0",
"@paralleldrive/cuid2": "^2.2.2",
"@remix-run/architect": "*",
"@remix-run/css-bundle": "*",
"@remix-run/node": "*",
"@remix-run/react": "*",
"bcryptjs": "2.4.3",
"isbot": "^3.6.13",
"isbot": "^3.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tiny-invariant": "^1.3.1"
},
"devDependencies": {
"@faker-js/faker": "^8.0.2",
"@faker-js/faker": "^8.2.0",
"@remix-run/dev": "*",
"@testing-library/cypress": "^9.0.0",
"@testing-library/jest-dom": "^5.17.0",
"@types/architect__functions": "^3.13.7",
"@types/bcryptjs": "2.4.2",
"@types/eslint": "^8.44.2",
"@types/node": "^18.17.6",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-v8": "^0.34.2",
"autoprefixer": "^10.4.15",
"@testing-library/cypress": "^10.0.1",
"@testing-library/jest-dom": "^6.1.4",
"@types/architect__functions": "^3.13.10",
"@types/bcryptjs": "2.4.5",
"@types/eslint": "^8.44.6",
"@types/node": "^18.18.6",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"cypress": "12.17.3",
"esbuild": "^0.19.2",
"eslint": "^8.50.0",
"cypress": "^13.3.2",
"esbuild": "^0.19.5",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-jest": "^27.4.3",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.0.2",
"happy-dom": "^10.10.4",
"eslint-plugin-testing-library": "^6.1.0",
"happy-dom": "^12.9.1",
"mock-aws-s3": "^4.0.2",
"msw": "^1.2.3",
"msw": "^1.3.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.28",
"prettier": "3.0.2",
"prettier-plugin-tailwindcss": "^0.5.3",
"start-server-and-test": "^2.0.0",
"postcss": "^8.4.31",
"prettier": "3.0.3",
"prettier-plugin-tailwindcss": "^0.5.6",
"start-server-and-test": "^2.0.1",
"tailwindcss": "^3.3.3",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vite-tsconfig-paths": "^3.6.0",
"vitest": "^0.34.2"
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^0.34.6"
},
"engines": {
"node": ">=18.0.0"
Expand Down
2 changes: 1 addition & 1 deletion test/setup-test-env.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { installGlobals } from "@remix-run/node";
import "@testing-library/jest-dom/extend-expect";
import "@testing-library/jest-dom/vitest";

installGlobals();

0 comments on commit 1965c44

Please sign in to comment.