File tree 7 files changed +1425
-6692
lines changed
7 files changed +1425
-6692
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ jobs:
16
16
- name : Checkout code
17
17
uses : actions/checkout@v4
18
18
19
- - name : Setup pnpm
20
- uses : pnpm/action- setup@v4
19
+ - name : Setup bun
20
+ uses : oven-sh/ setup-bun@v2
21
21
22
22
- name : Install Dependencies
23
- run : pnpm install
23
+ run : bun install
24
24
25
25
- name : Build Package
26
- run : pnpm build
26
+ run : bun run build
Original file line number Diff line number Diff line change 9
9
- name : Checkout code
10
10
uses : actions/checkout@v4
11
11
12
- - name : Setup pnpm
13
- uses : pnpm/action- setup@v4
12
+ - name : Setup bun
13
+ uses : oven-sh/ setup-bun@v2
14
14
15
15
- name : Install Dependencies
16
- run : pnpm install
16
+ run : bun install
17
17
18
18
- name : Build Package
19
- run : pnpm build
19
+ run : bun run build
20
20
21
21
- name : Compress build
22
- run : pnpm package
22
+ run : bun run package
23
23
24
24
- name : Archive compressed build
25
25
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -14,18 +14,18 @@ jobs:
14
14
steps :
15
15
- name : Checkout
16
16
uses : actions/checkout@v4
17
- - uses : pnpm/action-setup@v4
18
- with :
19
- version : latest
17
+
18
+ - name : Setup bun
19
+ uses : oven-sh/setup-bun@v2
20
20
21
21
- name : Install Dependencies
22
- run : pnpm install
22
+ run : bun install
23
23
24
24
- name : Build Package
25
- run : pnpm build
25
+ run : bun run build
26
26
27
27
- name : Package Output
28
- run : pnpm package
28
+ run : bun run package
29
29
30
30
- name : Archive compressed build
31
31
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -31,31 +31,32 @@ podman run -d -p 8080:8080 --restart always --name Meshtastic-Web ghcr.io/meshta
31
31
```
32
32
33
33
## Development & Building
34
+ 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.
34
35
35
36
### Building and Packaging
36
37
37
38
Build the project:
38
39
39
40
``` bash
40
- pnpm build
41
+ bun run build
41
42
```
42
43
43
44
GZip the output:
44
45
45
46
``` bash
46
- pnpm package
47
+ bun run package
47
48
```
48
49
49
50
### Development
50
51
51
52
Install the dependencies.
52
53
53
54
``` bash
54
- pnpm i
55
+ bun i
55
56
```
56
57
57
58
Start the development server:
58
59
59
60
``` bash
60
- pnpm dev
61
+ bun run dev
61
62
```
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 16
16
"postinstall" : " npx simple-git-hooks"
17
17
},
18
18
"simple-git-hooks" : {
19
- "pre-commit" : " npm run check:fix && npm run format"
19
+ "pre-commit" : " bun run check:fix && bun run format"
20
20
},
21
21
"lint-staged" : {
22
22
"*.{ts,tsx}" : [
23
- " npm run check:fix" ,
24
- " npm run format"
23
+ " bun run check:fix" ,
24
+ " bun run format"
25
25
]
26
26
},
27
- "engines" : {
28
- "node" : " >=20.0.0" ,
29
- "pnpm" : " >=10.0.0"
30
- },
31
27
"repository" : {
32
28
"type" : " git" ,
33
29
"url" : " git+https://github.com/meshtastic/web.git"
You can’t perform that action at this time.
0 commit comments