Skip to content

Commit 2d79c78

Browse files
committed
add codespace, update biome
1 parent e2b9e96 commit 2d79c78

6 files changed

Lines changed: 86 additions & 60 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"image": "mcr.microsoft.com/devcontainers/universal:2",
3+
"postCreateCommand": "pnpm i",
4+
"features": {},
5+
"customizations": {},
6+
"scripts": {
7+
"postStart": "echo 'Dev container started!'"
8+
}
9+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ node_modules
44
dist
55
.DS_Store
66
.vscode/settings.json
7+
8+
#Dotfiles
9+
.dotfiles/

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,15 @@ API backend used for meshtastic.org and associated tools.
1313

1414
![Alt](https://repobeats.axiom.co/api/embed/42de1569e61bc8171266ba5e0cc1dab2e0a3986b.svg "Repobeats analytics image")
1515

16+
17+
## Contributing
18+
19+
- There's a codespace available for this repository, so you can start coding right away.
20+
- To build the project, run `pnpm install` and then `pnpm build`.
21+
- To run the project, use `pnpm dev`.
22+
- To run the linter, use `pnpm biome lint`, or to fix files automatically, use `pnpm biome lint --write`.
23+
- To run the formatter, use `pnpm biome format`, or to fix files automatically, use `pnpm biome format --write`.
24+
- To run the type checker, use `pnpm biome check`, or to fix files automatically, use `pnpm biome check --write`.
25+
26+
27+

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.1.3/schema.json",
33
"assist": { "actions": { "source": { "organizeImports": "on" } } },
44
"files": {
55
"ignoreUnknown": true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"typescript": "^5.3.3"
3535
},
3636
"devDependencies": {
37-
"@biomejs/biome": "^1.5.3",
37+
"@biomejs/biome": "^2.1.3",
3838
"@buf/meshtastic_protobufs.bufbuild_es": "1.7.2-20240216123215-6b07c41c68c9.1",
3939
"@types/node": "^20.11.19",
4040
"prisma": "^5.9.1",

pnpm-lock.yaml

Lines changed: 60 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)