From c28fd1de040988ba74414096ae2a8ea64676beaf Mon Sep 17 00:00:00 2001 From: nicholas-codecov Date: Wed, 23 Oct 2024 07:52:59 -0300 Subject: [PATCH 1/3] remove vite commands --- package.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package.json b/package.json index 1fff305bcd..d99e088371 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,9 @@ "private": true, "scripts": { "dev": "yarn start", - "dev:vite": "yarn start", "start": "vite --host", - "start:vite": "yarn start", "build": "tsc -b && vite build", - "build:vite": "yarn build", "test": "vitest run --changed --config ./vitest.config.mjs", - "test:vite": "yarn test", "test:watch": "vitest watch --changed --config ./vitest.config.mjs", "test:ci": "vitest run --config ./vitest.config.mjs --coverage", "preview-coverage": "npx vite preview --open --outDir coverage", From 4e0d3fae36cc3ae13a43dd6ebc5f1af9074f2271 Mon Sep 17 00:00:00 2001 From: nicholas-codecov Date: Wed, 23 Oct 2024 07:54:59 -0300 Subject: [PATCH 2/3] add in changed command, and set test to just run all tests --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d99e088371..58b01db1e0 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "dev": "yarn start", "start": "vite --host", "build": "tsc -b && vite build", - "test": "vitest run --changed --config ./vitest.config.mjs", + "test": "vitest run --config ./vitest.config.mjs", + "test:changed": "vitest run --changed --config ./vitest.config.mjs", "test:watch": "vitest watch --changed --config ./vitest.config.mjs", "test:ci": "vitest run --config ./vitest.config.mjs --coverage", "preview-coverage": "npx vite preview --open --outDir coverage", From f2d0bad0d186d33499a3e67b164ed20380f57f5d Mon Sep 17 00:00:00 2001 From: nicholas-codecov Date: Wed, 23 Oct 2024 11:38:10 -0300 Subject: [PATCH 3/3] update docker file --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 862478d9a0..3cae86ff9d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -47,7 +47,7 @@ RUN apk -U add git COPY . /home/workspace RUN corepack enable RUN yarn install -RUN yarn build:vite && rm -f build/mockServiceWorker.js +RUN yarn build && rm -f build/mockServiceWorker.js FROM alpine:3.17