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
|
- name: Translate
|
||||||
run: |
|
run: |
|
||||||
python ./i18n/translate.py --repository_path . --json_file_path ./i18n/en.json
|
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
|
- name: Build Frontend
|
||||||
env:
|
env:
|
||||||
CI: ""
|
CI: ""
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
bun install
|
npm install
|
||||||
REACT_APP_VERSION=$(git describe --tags) bun run build
|
REACT_APP_VERSION=$(git describe --tags) npm run build
|
||||||
cd ..
|
cd ..
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
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
|
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7 # v1
|
|
||||||
with:
|
|
||||||
bun-version: latest
|
|
||||||
- name: Build Frontend
|
- name: Build Frontend
|
||||||
env:
|
env:
|
||||||
CI: ""
|
CI: ""
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
bun install
|
npm install
|
||||||
REACT_APP_VERSION=$(git describe --tags) bun run build
|
REACT_APP_VERSION=$(git describe --tags) npm run build
|
||||||
cd ..
|
cd ..
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
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
|
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7 # v1
|
|
||||||
with:
|
|
||||||
bun-version: latest
|
|
||||||
- name: Build Frontend
|
- name: Build Frontend
|
||||||
env:
|
env:
|
||||||
CI: ""
|
CI: ""
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
bun install
|
npm install
|
||||||
REACT_APP_VERSION=$(git describe --tags) bun run build
|
REACT_APP_VERSION=$(git describe --tags) npm run build
|
||||||
cd ..
|
cd ..
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
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
|
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7 # v1
|
|
||||||
with:
|
|
||||||
bun-version: latest
|
|
||||||
- name: Build Frontend
|
- name: Build Frontend
|
||||||
env:
|
env:
|
||||||
CI: ""
|
CI: ""
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
bun install
|
npm install
|
||||||
REACT_APP_VERSION=$(git describe --tags) bun run build
|
REACT_APP_VERSION=$(git describe --tags) npm run build
|
||||||
cd ..
|
cd ..
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
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
|
FROM node:18 as builder
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY ./web/package.json ./
|
COPY ./web/package*.json ./
|
||||||
RUN npm i
|
RUN npm i
|
||||||
COPY --from=translator ./app/web .
|
COPY --from=translator ./app/web .
|
||||||
COPY ./VERSION .
|
COPY ./VERSION .
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# Runs the app in the development mode
|
# Runs the app in the development mode
|
||||||
bun start
|
npm start
|
||||||
|
|
||||||
# Builds the app for production to the `build` folder
|
# 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,
|
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