From 7a40183075c6188198b84a3cb3742ef2f59b0558 Mon Sep 17 00:00:00 2001 From: Gagan Suie Date: Thu, 19 Jan 2023 03:08:24 -0600 Subject: [PATCH 1/2] Fix: testing package changes for codecov --- package-lock.json | 4 +- package.json | 4 +- src/lib/assets/styles/tailwind-output.css | 100 +++++++++++----------- 3 files changed, 54 insertions(+), 54 deletions(-) diff --git a/package-lock.json b/package-lock.json index c97c07f2..f463bfb5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mage-website", - "version": "0.0.1", + "version": "0.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mage-website", - "version": "0.0.1", + "version": "0.0.2", "license": "GPL-3.0", "dependencies": { "@tailwindcss/aspect-ratio": "^0.4.2", diff --git a/package.json b/package.json index 3567f758..ff7963db 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "scripts": { "dev:only": "vite dev --host", "build:only": "vite build", - "tailwind:watch": "cross-env TAILWIND_MODE=watch cross-env ENV=development postcss src/app.css -o src/lib/assets/styles/tailwind-output.css -w", - "tailwind:build": "cross-env TAILWIND_MODE=build cross-env ENV=production postcss src/app.css -o src/lib/assets/styles/tailwind-output.css", + "tailwind:watch": "cross-env TAILWIND_MODE=watch cross-env NODE_ENV=development postcss src/app.css -o src/lib/assets/styles/tailwind-output.css -w", + "tailwind:build": "cross-env TAILWIND_MODE=build cross-env NODE_ENV=production postcss src/app.css -o src/lib/assets/styles/tailwind-output.css", "dev": "concurrently \"npm run dev:only\" \"npm run tailwind:watch\"", "build": "npm run tailwind:build && npm run build:only", "preview": "vite preview", diff --git a/src/lib/assets/styles/tailwind-output.css b/src/lib/assets/styles/tailwind-output.css index fbbe9f47..0d3e48c1 100644 --- a/src/lib/assets/styles/tailwind-output.css +++ b/src/lib/assets/styles/tailwind-output.css @@ -387,10 +387,10 @@ html { :root { color-scheme: light; - --pf: 259 94% 41%; - --sf: 314 100% 38%; - --af: 174 60% 41%; - --nf: 219 14% 22%; + --pf: 258.89 94.378% 40.941%; + --sf: 314 100% 37.647%; + --af: 174 60% 40.784%; + --nf: 219 14.085% 22.275%; --in: 198 93% 60%; --su: 158 64% 52%; --wa: 43 96% 56%; @@ -409,27 +409,27 @@ html { --border-btn: 1px; --tab-border: 1px; --tab-radius: 0.5rem; - --p: 259 94% 51%; + --p: 258.89 94.378% 51.176%; --pc: 0 0% 100%; - --s: 314 100% 47%; + --s: 314 100% 47.059%; --sc: 0 0% 100%; - --a: 174 60% 51%; - --ac: 175 44% 15%; - --n: 219 14% 28%; + --a: 174 60% 50.98%; + --ac: 174.71 43.59% 15.294%; + --n: 219 14.085% 27.843%; --nc: 0 0% 100%; --b1: 0 0% 100%; - --b2: 0 0% 95%; - --b3: 180 2% 90%; - --bc: 215 28% 17%; + --b2: 0 0% 94.902%; + --b3: 180 1.9608% 90%; + --bc: 215 27.907% 16.863%; } @media (prefers-color-scheme: dark) { :root { color-scheme: dark; - --pf: 262 80% 40%; - --sf: 316 70% 40%; - --af: 175 70% 33%; + --pf: 262.35 80.315% 40.157%; + --sf: 315.75 70.196% 40%; + --af: 174.69 70.335% 32.784%; --in: 198 93% 60%; --su: 158 64% 52%; --wa: 43 96% 56%; @@ -448,28 +448,28 @@ html { --border-btn: 1px; --tab-border: 1px; --tab-radius: 0.5rem; - --p: 262 80% 50%; + --p: 262.35 80.315% 50.196%; --pc: 0 0% 100%; - --s: 316 70% 50%; + --s: 315.75 70.196% 50%; --sc: 0 0% 100%; - --a: 175 70% 41%; + --a: 174.69 70.335% 40.98%; --ac: 0 0% 100%; - --n: 218 18% 12%; - --nf: 223 17% 8%; - --nc: 220 13% 69%; - --b1: 220 18% 20%; - --b2: 220 17% 17%; - --b3: 219 18% 15%; - --bc: 220 13% 69%; + --n: 218.18 18.033% 11.961%; + --nf: 222.86 17.073% 8.0392%; + --nc: 220 13.376% 69.216%; + --b1: 220 17.647% 20%; + --b2: 220 17.241% 17.059%; + --b3: 218.57 17.949% 15.294%; + --bc: 220 13.376% 69.216%; } } [data-theme=light] { color-scheme: light; - --pf: 259 94% 41%; - --sf: 314 100% 38%; - --af: 174 60% 41%; - --nf: 219 14% 22%; + --pf: 258.89 94.378% 40.941%; + --sf: 314 100% 37.647%; + --af: 174 60% 40.784%; + --nf: 219 14.085% 22.275%; --in: 198 93% 60%; --su: 158 64% 52%; --wa: 43 96% 56%; @@ -488,25 +488,25 @@ html { --border-btn: 1px; --tab-border: 1px; --tab-radius: 0.5rem; - --p: 259 94% 51%; + --p: 258.89 94.378% 51.176%; --pc: 0 0% 100%; - --s: 314 100% 47%; + --s: 314 100% 47.059%; --sc: 0 0% 100%; - --a: 174 60% 51%; - --ac: 175 44% 15%; - --n: 219 14% 28%; + --a: 174 60% 50.98%; + --ac: 174.71 43.59% 15.294%; + --n: 219 14.085% 27.843%; --nc: 0 0% 100%; --b1: 0 0% 100%; - --b2: 0 0% 95%; - --b3: 180 2% 90%; - --bc: 215 28% 17%; + --b2: 0 0% 94.902%; + --b3: 180 1.9608% 90%; + --bc: 215 27.907% 16.863%; } [data-theme=dark] { color-scheme: dark; - --pf: 262 80% 40%; - --sf: 316 70% 40%; - --af: 175 70% 33%; + --pf: 262.35 80.315% 40.157%; + --sf: 315.75 70.196% 40%; + --af: 174.69 70.335% 32.784%; --in: 198 93% 60%; --su: 158 64% 52%; --wa: 43 96% 56%; @@ -525,19 +525,19 @@ html { --border-btn: 1px; --tab-border: 1px; --tab-radius: 0.5rem; - --p: 262 80% 50%; + --p: 262.35 80.315% 50.196%; --pc: 0 0% 100%; - --s: 316 70% 50%; + --s: 315.75 70.196% 50%; --sc: 0 0% 100%; - --a: 175 70% 41%; + --a: 174.69 70.335% 40.98%; --ac: 0 0% 100%; - --n: 218 18% 12%; - --nf: 223 17% 8%; - --nc: 220 13% 69%; - --b1: 220 18% 20%; - --b2: 220 17% 17%; - --b3: 219 18% 15%; - --bc: 220 13% 69%; + --n: 218.18 18.033% 11.961%; + --nf: 222.86 17.073% 8.0392%; + --nc: 220 13.376% 69.216%; + --b1: 220 17.647% 20%; + --b2: 220 17.241% 17.059%; + --b3: 218.57 17.949% 15.294%; + --bc: 220 13.376% 69.216%; } * { From 196de5060a80562ab67edd0895828af25c94f356 Mon Sep 17 00:00:00 2001 From: Gagan Suie Date: Thu, 19 Jan 2023 03:37:47 -0600 Subject: [PATCH 2/2] Fix: testing playwright codecov changes --- playwright.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index c4710515..6656ead6 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -4,10 +4,13 @@ const config: PlaywrightTestConfig = { reporter: [['json', { outputFile: 'e2eresults.json' }]], webServer: { command: 'npm run build && npm run preview', - port: 4173, + url: 'http://localhost:5173/', timeout: 240000, reuseExistingServer: !process.env.CI, }, + use: { + baseURL: 'http://localhost:5173/', + }, workers: process.env.CI ? 4 : undefined }