cleanup, remove redundant 'build-trends'
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
@@ -37,7 +37,6 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"build-trends": "vite build",
|
||||
"preview": "vite preview",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -41,7 +41,6 @@ export default defineConfig({
|
||||
},
|
||||
],
|
||||
build: {
|
||||
minify: false,
|
||||
outDir: "build",
|
||||
|
||||
/** @todo use chunks to split bundle? */
|
||||
|
||||
Reference in New Issue
Block a user