mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +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
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
|
- package-ecosystem: npm
|
||||||
|
directory: /
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
|
|
||||||
- package-ecosystem: docker
|
- package-ecosystem: docker
|
||||||
directory: /
|
directory: /
|
||||||
schedule:
|
schedule:
|
||||||
|
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@ -27,13 +27,20 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- name: install dependencies
|
||||||
run: bun install
|
run: pnpm install
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: bun run build
|
run: pnpm build
|
||||||
|
|
||||||
- name: publish gh-pages
|
- name: publish gh-pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
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
|
ENV HUSKY=0
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN bun install
|
RUN corepack enable
|
||||||
RUN bun run build
|
RUN corepack prepare pnpm@latest --activate
|
||||||
|
RUN pnpm install
|
||||||
|
RUN pnpm build
|
||||||
|
|
||||||
FROM docker.io/caddy:alpine
|
FROM docker.io/caddy:alpine
|
||||||
|
|
||||||
|
@ -112,19 +112,19 @@ docker compose pull && docker compose up -d
|
|||||||
> Install npm dependencies
|
> Install npm dependencies
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bun install
|
pnpm install
|
||||||
```
|
```
|
||||||
|
|
||||||
> Build artifacts
|
> Build artifacts
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bun run build
|
pnpm build
|
||||||
```
|
```
|
||||||
|
|
||||||
> Serve static files
|
> Serve static files
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bun run serve
|
pnpm serve
|
||||||
```
|
```
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
"@tabler/icons-solidjs": "^2.47.0",
|
"@tabler/icons-solidjs": "^2.47.0",
|
||||||
"@tanstack/match-sorter-utils": "^8.15.1",
|
"@tanstack/match-sorter-utils": "^8.15.1",
|
||||||
"@tanstack/solid-table": "^8.15.3",
|
"@tanstack/solid-table": "^8.15.3",
|
||||||
"@tanstack/solid-virtual": "3.0.2",
|
"@tanstack/solid-virtual": "^3.2.0",
|
||||||
"@tanstack/virtual-core": "3.0.2",
|
"@tanstack/virtual-core": "^3.2.0",
|
||||||
"@thisbeyond/solid-dnd": "^0.7.5",
|
"@thisbeyond/solid-dnd": "^0.7.5",
|
||||||
"@types/byte-size": "^8.1.2",
|
"@types/byte-size": "^8.1.2",
|
||||||
"@types/lodash": "^4.17.0",
|
"@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