mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-13 06:05:34 +08:00
feat: bun -> pnpm
This commit is contained in:
parent
d73f328b35
commit
74ed5448f4
5
.github/dependabot.yml
vendored
5
.github/dependabot.yml
vendored
@ -1,5 +1,10 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: npm
|
||||
directory: /
|
||||
schedule:
|
||||
interval: daily
|
||||
|
||||
- package-ecosystem: docker
|
||||
directory: /
|
||||
schedule:
|
||||
|
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@ -27,13 +27,20 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
- uses: pnpm/action-setup@v3
|
||||
with:
|
||||
version: latest
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
cache: pnpm
|
||||
node-version: latest
|
||||
|
||||
- name: install dependencies
|
||||
run: bun install
|
||||
run: pnpm install
|
||||
|
||||
- name: build
|
||||
run: bun run build
|
||||
run: pnpm build
|
||||
|
||||
- name: publish gh-pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
@ -1 +1 @@
|
||||
bunx commitlint -e
|
||||
pnpm commitlint -e
|
||||
|
@ -1 +1 @@
|
||||
bunx lint-staged
|
||||
pnpm lint-staged
|
||||
|
@ -1,12 +1,14 @@
|
||||
FROM docker.io/oven/bun:alpine as builder
|
||||
FROM docker.io/node:alpine as builder
|
||||
|
||||
ENV HUSKY=0
|
||||
WORKDIR /build
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN bun install
|
||||
RUN bun run build
|
||||
RUN corepack enable
|
||||
RUN corepack prepare pnpm@latest --activate
|
||||
RUN pnpm install
|
||||
RUN pnpm build
|
||||
|
||||
FROM docker.io/caddy:alpine
|
||||
|
||||
|
@ -112,19 +112,19 @@ docker compose pull && docker compose up -d
|
||||
> Install npm dependencies
|
||||
|
||||
```shell
|
||||
bun install
|
||||
pnpm install
|
||||
```
|
||||
|
||||
> Build artifacts
|
||||
|
||||
```shell
|
||||
bun run build
|
||||
pnpm build
|
||||
```
|
||||
|
||||
> Serve static files
|
||||
|
||||
```shell
|
||||
bun run serve
|
||||
pnpm serve
|
||||
```
|
||||
|
||||
## Credits
|
||||
|
@ -32,8 +32,8 @@
|
||||
"@tabler/icons-solidjs": "^2.47.0",
|
||||
"@tanstack/match-sorter-utils": "^8.15.1",
|
||||
"@tanstack/solid-table": "^8.15.3",
|
||||
"@tanstack/solid-virtual": "3.0.2",
|
||||
"@tanstack/virtual-core": "3.0.2",
|
||||
"@tanstack/solid-virtual": "^3.2.0",
|
||||
"@tanstack/virtual-core": "^3.2.0",
|
||||
"@thisbeyond/solid-dnd": "^0.7.5",
|
||||
"@types/byte-size": "^8.1.2",
|
||||
"@types/lodash": "^4.17.0",
|
||||
|
9018
pnpm-lock.yaml
Normal file
9018
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user