fix: remove bun
This commit is contained in:
commit
9b399e190f
8
.github/workflows/linux-release-en.yml
vendored
8
.github/workflows/linux-release-en.yml
vendored
@ -19,17 +19,13 @@ jobs:
|
||||
- name: Translate
|
||||
run: |
|
||||
python ./i18n/translate.py --repository_path . --json_file_path ./i18n/en.json
|
||||
|
||||
- uses: oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7 # v1
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Build Frontend
|
||||
env:
|
||||
CI: ""
|
||||
run: |
|
||||
cd web
|
||||
bun install
|
||||
REACT_APP_VERSION=$(git describe --tags) bun run build
|
||||
npm install
|
||||
REACT_APP_VERSION=$(git describe --tags) npm run build
|
||||
cd ..
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
|
7
.github/workflows/linux-release.yml
vendored
7
.github/workflows/linux-release.yml
vendored
@ -15,16 +15,13 @@ jobs:
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7 # v1
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Build Frontend
|
||||
env:
|
||||
CI: ""
|
||||
run: |
|
||||
cd web
|
||||
bun install
|
||||
REACT_APP_VERSION=$(git describe --tags) bun run build
|
||||
npm install
|
||||
REACT_APP_VERSION=$(git describe --tags) npm run build
|
||||
cd ..
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
|
7
.github/workflows/macos-release.yml
vendored
7
.github/workflows/macos-release.yml
vendored
@ -15,16 +15,13 @@ jobs:
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7 # v1
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Build Frontend
|
||||
env:
|
||||
CI: ""
|
||||
run: |
|
||||
cd web
|
||||
bun install
|
||||
REACT_APP_VERSION=$(git describe --tags) bun run build
|
||||
npm install
|
||||
REACT_APP_VERSION=$(git describe --tags) npm run build
|
||||
cd ..
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
|
7
.github/workflows/windows-release.yml
vendored
7
.github/workflows/windows-release.yml
vendored
@ -18,16 +18,13 @@ jobs:
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7 # v1
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Build Frontend
|
||||
env:
|
||||
CI: ""
|
||||
run: |
|
||||
cd web
|
||||
bun install
|
||||
REACT_APP_VERSION=$(git describe --tags) bun run build
|
||||
npm install
|
||||
REACT_APP_VERSION=$(git describe --tags) npm run build
|
||||
cd ..
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
|
@ -7,7 +7,7 @@ RUN chmod +x ./translate-en.sh && ./translate-en.sh
|
||||
FROM node:18 as builder
|
||||
|
||||
WORKDIR /build
|
||||
COPY ./web/package.json ./
|
||||
COPY ./web/package*.json ./
|
||||
RUN npm i
|
||||
COPY --from=translator ./app/web .
|
||||
COPY ./VERSION .
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
```shell
|
||||
# Runs the app in the development mode
|
||||
bun start
|
||||
npm start
|
||||
|
||||
# Builds the app for production to the `build` folder
|
||||
bun run build
|
||||
npm run build
|
||||
```
|
||||
|
||||
If you want to change the default server, please set `REACT_APP_SERVER` environment variables before build,
|
||||
|
BIN
web/bun.lockb
BIN
web/bun.lockb
Binary file not shown.
2004
web/package-lock.json
generated
Normal file
2004
web/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user