Skip to content

Commit

Permalink
migrate to new protobufs package
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaw committed Oct 8, 2024
1 parent d6f8a0b commit e2a1137
Show file tree
Hide file tree
Showing 19 changed files with 904 additions and 649 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@buf:registry=https://buf.build/gen/npm/v1
@jsr:registry=https://npm.jsr.io
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshtastic/js",
"version": "2.3.7-5",
"version": "2.5.5-0",
"description": "Browser library for interfacing with meshtastic devices",
"license": "GPL-3.0-only",
"scripts": {
Expand All @@ -16,11 +16,11 @@
"sideEffects": false,
"type": "module",
"packageManager": "[email protected]",
"module": "./dist/index.js",
"module": "./dist/index.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",

This comment has been minimized.

Copy link
@drewzh

drewzh Oct 8, 2024

Image
Hi. This version is currently erroring unfortunately. Could you possibly fix?

"import": "./dist/index.ts",
"types": "./dist/index.d.ts"
}
},
Expand All @@ -33,18 +33,19 @@
"url": "git+https://github.com/meshtastic/js.git"
},
"dependencies": {
"@bufbuild/protobuf": "^2.1.0",
"@meshtastic/protobufs": "npm:@jsr/meshtastic__protobufs@^2.5.7",
"crc": "^4.3.2",
"ste-simple-events": "^3.0.11",
"tslog": "^4.9.2"
"tslog": "^4.9.3"
},
"devDependencies": {
"@biomejs/biome": "^1.6.3",
"@buf/meshtastic_protobufs.bufbuild_es": "1.10.0-20240906232734-3da561588c55.1",
"@types/node": "^20.11.30",
"@types/w3c-web-serial": "^1.0.6",
"@biomejs/biome": "^1.9.3",
"@types/node": "^22.7.5",
"@types/w3c-web-serial": "^1.0.7",
"@types/web-bluetooth": "^0.0.20",
"tsup": "^8.0.2",
"typedoc": "^0.25.12",
"typescript": "^5.4.3"
"tsup": "^8.3.0",
"typedoc": "^0.26.8",
"typescript": "^5.6.2"
}
}
Loading

1 comment on commit e2a1137

@drewzh
Copy link

@drewzh drewzh commented on e2a1137 Oct 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image
This version is currently erroring. Could you possibly fix? Thanks

Please sign in to comment.