cleanup, remove redundant 'build-trends'

This commit is contained in:
martin-mfg
2026-02-06 17:20:49 +01:00
parent 063baf7808
commit ad30a5bd2e
6 changed files with 3 additions and 30 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ To set up the project GitHub-Stats-Extended locally, run the following commands:
```bash
./vercel-preparation.sh
pnpm install
pnpm --filter frontend run build-trends
pnpm --filter frontend run build
```
The easiest way to run and test the project is to deploy it to Vercel as described in the [deployment guide](../docs/deploy.md).
+1 -1
View File
@@ -41,7 +41,7 @@ jobs:
./vercel-preparation.sh
- name: Build frontend
run: pnpm --filter frontend run build-trends
run: pnpm --filter frontend run build
code-checks:
name: Code checks
-25
View File
@@ -1,25 +0,0 @@
# Frontend
## Installation
```
yarn install
```
## Run Locally
```
yarn start-trends
```
## Build
```
yarn build-trends
```
Then, just commit on the main branch (Vercel takes care of the rest)
## Adding a Secret
Update .env, .env-template, and Vercel.
-1
View File
@@ -37,7 +37,6 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"build-trends": "vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit"
},
+1 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"installCommand": "cd ../../ && pnpm install && rm -rf ./apps/frontend/node_modules && ./vercel-preparation.sh && pnpm --filter ./apps/frontend/ --legacy deploy ./apps/deployment/ && mv ./apps/deployment/node_modules/ ./apps/frontend/node_modules/",
"buildCommand": "pnpm run build-trends",
"buildCommand": "pnpm run build",
"outputDirectory": "build"
}
-1
View File
@@ -41,7 +41,6 @@ export default defineConfig({
},
],
build: {
minify: false,
outDir: "build",
/** @todo use chunks to split bundle? */