Skip to content

Commit

Permalink
Upgradatores
Browse files Browse the repository at this point in the history
  • Loading branch information
pekkis committed Oct 9, 2023
1 parent f46173c commit 5846dbc
Show file tree
Hide file tree
Showing 6 changed files with 5,716 additions and 2,804 deletions.
2 changes: 1 addition & 1 deletion e2e/welcome.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, expect } from "@playwright/test";

test("should navigate to the about page", async ({ page }) => {
test("should navigate to the main page", async ({ page }) => {
await page.goto("/");
await expect(page.locator("h1")).toContainText("Hardcore React Training");
});
3 changes: 2 additions & 1 deletion jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const config = {
// Add more setup options before each test is run
// setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],

testEnvironment: "jest-environment-jsdom"
testEnvironment: "jest-environment-jsdom",
modulePathIgnorePatterns: ["<rootDir>/e2e/"]
};

// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
Expand Down
3 changes: 0 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ const nextConfig = {
},
eslint: {
ignoreDuringBuilds: false
},
experimental: {
appDir: true
}
};

Expand Down
109 changes: 55 additions & 54 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"type-check": "pnpm tsc",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
Expand All @@ -24,81 +25,81 @@
"author": "Pekkis",
"license": "MIT",
"dependencies": {
"@faker-js/faker": "^8.0.2",
"@hookform/resolvers": "^3.1.0",
"@react-three/fiber": "^8.13.0",
"@tanstack/react-query": "^4.29.12",
"@tanstack/react-query-devtools": "^4.29.12",
"@vanilla-extract/css": "^1.11.0",
"@vanilla-extract/sprinkles": "^1.6.0",
"axios": "^1.4.0",
"@faker-js/faker": "^8.1.0",
"@hookform/resolvers": "^3.3.1",
"@react-three/fiber": "^8.14.5",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"@vanilla-extract/css": "^1.13.0",
"@vanilla-extract/sprinkles": "^1.6.1",
"axios": "^1.5.1",
"clsx": "^1.2.1",
"framer-motion": "^10.12.16",
"immer": "^10.0.2",
"luxon": "^3.3.0",
"markdown-to-jsx": "^7.2.0",
"next": "^13.4.4",
"framer-motion": "^10.16.4",
"immer": "^10.0.3",
"luxon": "^3.4.3",
"markdown-to-jsx": "^7.3.2",
"next": "^13.5.4",
"normalize.css": "^8.0.1",
"ramda": "^0.29.0",
"ramda": "^0.29.1",
"random-js": "^2.1.0",
"react": "18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.7",
"react-hook-form": "^7.44.2",
"react-icons": "^4.9.0",
"react-router": "^6.11.2",
"react-router-dom": "^6.11.2",
"react-error-boundary": "^4.0.11",
"react-hook-form": "^7.47.0",
"react-icons": "^4.11.0",
"react-router": "^6.16.0",
"react-router-dom": "^6.16.0",
"styled-components": "6.0.0-rc.0",
"three": "^0.152.2",
"troika-three-text": "^0.47.2",
"zod": "^3.21.4",
"zustand": "^4.3.8"
"zod": "^3.22.4",
"zustand": "^4.4.3"
},
"devDependencies": {
"@axe-core/react": "^4.7.1",
"@next/bundle-analyzer": "^13.4.4",
"@playwright/test": "^1.34.3",
"@storybook/addon-essentials": "^7.0.18",
"@storybook/addon-interactions": "^7.0.18",
"@storybook/addon-links": "^7.0.18",
"@storybook/blocks": "^7.0.18",
"@storybook/nextjs": "^7.0.18",
"@storybook/react": "^7.0.18",
"@axe-core/react": "^4.7.3",
"@next/bundle-analyzer": "^13.5.4",
"@playwright/test": "^1.38.1",
"@storybook/addon-essentials": "^7.4.6",
"@storybook/addon-interactions": "^7.4.6",
"@storybook/addon-links": "^7.4.6",
"@storybook/blocks": "^7.4.6",
"@storybook/nextjs": "^7.4.6",
"@storybook/react": "^7.4.6",
"@storybook/testing-library": "^0.1.0",
"@testing-library/dom": "^9.3.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.1",
"@types/luxon": "^3.3.0",
"@types/node": "^20.2.5",
"@types/ramda": "^0.29.2",
"@types/react": "^18.2.7",
"@types/react-dom": "^18.2.4",
"@types/testing-library__jest-dom": "^5.14.6",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.5",
"@types/luxon": "^3.3.2",
"@types/node": "^20.8.3",
"@types/ramda": "^0.29.6",
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.11",
"@types/testing-library__jest-dom": "^5.14.9",
"@types/three": "^0.152.1",
"@typescript-eslint/eslint-plugin": "5.59.7",
"@typescript-eslint/parser": "5.59.7",
"@vanilla-extract/next-plugin": "^2.1.3",
"autoprefixer": "^10.4.14",
"eslint": "^8.41.0",
"eslint-config-next": "^13.4.4",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"@vanilla-extract/next-plugin": "^2.3.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.51.0",
"eslint-config-next": "^13.5.4",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-storybook": "^0.6.12",
"eslint-plugin-storybook": "^0.6.15",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^22.1.0",
"msw": "^1.2.1",
"msw": "^1.3.2",
"prettier": "^2.8.8",
"rollup-plugin-visualizer": "^5.9.0",
"storybook": "^7.0.18",
"stylelint": "^15.6.2",
"rollup-plugin-visualizer": "^5.9.2",
"storybook": "^7.4.6",
"stylelint": "^15.10.3",
"stylelint-config-standard": "^33.0.0",
"stylelint-prettier": "^3.0.0",
"typescript": "~5.0.4"
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config: PlaywrightTestConfig = {
// Run your local dev server before starting the tests:
// https://playwright.dev/docs/test-advanced#launching-a-development-web-server-during-the-tests
webServer: {
command: "npm run dev",
command: "pnpm run dev",
url: baseURL,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI
Expand Down
Loading

1 comment on commit 5846dbc

@vercel
Copy link

@vercel vercel bot commented on 5846dbc Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.