fix: changed pnpm to bun

This commit is contained in:
Dan Ditomaso
2025-02-21 12:39:46 -05:00
parent b23e197178
commit bbb8384d66
7 changed files with 1425 additions and 6692 deletions
+4 -4
View File
@@ -16,11 +16,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup bun
uses: oven-sh/setup-bun@v2
- name: Install Dependencies
run: pnpm install
run: bun install
- name: Build Package
run: pnpm build
run: bun run build
+5 -5
View File
@@ -9,17 +9,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup bun
uses: oven-sh/setup-bun@v2
- name: Install Dependencies
run: pnpm install
run: bun install
- name: Build Package
run: pnpm build
run: bun run build
- name: Compress build
run: pnpm package
run: bun run package
- name: Archive compressed build
uses: actions/upload-artifact@v4
+6 -6
View File
@@ -14,18 +14,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- name: Setup bun
uses: oven-sh/setup-bun@v2
- name: Install Dependencies
run: pnpm install
run: bun install
- name: Build Package
run: pnpm build
run: bun run build
- name: Package Output
run: pnpm package
run: bun run package
- name: Archive compressed build
uses: actions/upload-artifact@v4
+5 -4
View File
@@ -31,19 +31,20 @@ podman run -d -p 8080:8080 --restart always --name Meshtastic-Web ghcr.io/meshta
```
## Development & Building
You'll need to download the package manager used with this repo. You can install it by visiting [Bun.sh](https://bun.sh/) and following the installation instructions.
### Building and Packaging
Build the project:
```bash
pnpm build
bun run build
```
GZip the output:
```bash
pnpm package
bun run package
```
### Development
@@ -51,11 +52,11 @@ pnpm package
Install the dependencies.
```bash
pnpm i
bun i
```
Start the development server:
```bash
pnpm dev
bun run dev
```
+1402
View File
File diff suppressed because it is too large Load Diff
+3 -7
View File
@@ -16,18 +16,14 @@
"postinstall": "npx simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "npm run check:fix && npm run format"
"pre-commit": "bun run check:fix && bun run format"
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run check:fix",
"npm run format"
"bun run check:fix",
"bun run format"
]
},
"engines": {
"node": ">=20.0.0",
"pnpm": ">=10.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/meshtastic/web.git"
-6666
View File
File diff suppressed because it is too large Load Diff