Browse Source

Hopefully fix install errors

pull/110/head
Malte Grimm 3 years ago
parent
commit
b2ee6fec50
  1. 1
      .npmrc
  2. 13
      README.md
  3. 5
      package.json
  4. 65
      pnpm-lock.yaml

1
.npmrc

@ -0,0 +1 @@
@buf:registry=https://buf.build/gen/npm/v1

13
README.md

@ -1,20 +1,13 @@
## Installation ## Installation
1. Make sure [NodeJS](https://nodejs.org/en/download) and [pnpm](https://pnpm.io/installation) are installed. 1. Make sure [NodeJS](https://nodejs.org/en/download) and [pnpm](https://pnpm.io/installation) are installed.
2. Clone [meshtastic/js](https://git.cs.uni-bonn.de/ba-grimm-meshtastic) into some other folder. 2. To install run:
3. Build it by running the following commands in there:
pnpm install
pnpm build
4. Switch to this directory and run:
pnpm link <dir of meshtastic/js>
pnpm install pnpm install
5. Start the server by running 3. Start the server by running
pnpm dev pnpm dev
6. The website can then be found at http://localhost:5173/ 4. The website can then be found at http://localhost:5173/

5
package.json

@ -22,7 +22,7 @@
"@emeraldpay/hashicon-react": "^0.5.2", "@emeraldpay/hashicon-react": "^0.5.2",
"@hookform/error-message": "^2.0.1", "@hookform/error-message": "^2.0.1",
"@hookform/resolvers": "^2.9.11", "@hookform/resolvers": "^2.9.11",
"@meshtastic/meshtasticjs": "link:../../js_2023", "@meshtastic/meshtasticjs": "git://github.com/trelbutate/js.git#master",
"@preact/signals-react": "^1.2.2", "@preact/signals-react": "^1.2.2",
"@radix-ui/react-accordion": "^1.1.0", "@radix-ui/react-accordion": "^1.1.0",
"@radix-ui/react-checkbox": "^1.0.2", "@radix-ui/react-checkbox": "^1.0.2",
@ -47,6 +47,7 @@
"class-variance-authority": "^0.4.0", "class-variance-authority": "^0.4.0",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"cmdk": "^0.1.22", "cmdk": "^0.1.22",
"esptool-js": "^0.2.1",
"geodesy": "^2.4.0", "geodesy": "^2.4.0",
"immer": "^9.0.19", "immer": "^9.0.19",
"jszip": "^3.10.1", "jszip": "^3.10.1",
@ -73,9 +74,9 @@
"@types/react-dom": "^18.0.11", "@types/react-dom": "^18.0.11",
"@types/w3c-web-serial": "^1.0.3", "@types/w3c-web-serial": "^1.0.3",
"@types/web-bluetooth": "^0.0.16", "@types/web-bluetooth": "^0.0.16",
"@types/wicg-file-system-access": "^2020.9.6",
"@typescript-eslint/eslint-plugin": "^5.53.0", "@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0", "@typescript-eslint/parser": "^5.53.0",
"@types/wicg-file-system-access": "^2020.9.6",
"@vitejs/plugin-react": "^3.1.0", "@vitejs/plugin-react": "^3.1.0",
"autoprefixer": "^10.4.13", "autoprefixer": "^10.4.13",
"eslint": "^8.34.0", "eslint": "^8.34.0",

65
pnpm-lock.yaml

@ -4,7 +4,7 @@ specifiers:
'@emeraldpay/hashicon-react': ^0.5.2 '@emeraldpay/hashicon-react': ^0.5.2
'@hookform/error-message': ^2.0.1 '@hookform/error-message': ^2.0.1
'@hookform/resolvers': ^2.9.11 '@hookform/resolvers': ^2.9.11
'@meshtastic/meshtasticjs': link:../../js_2023 '@meshtastic/meshtasticjs': git://github.com/trelbutate/js.git#master
'@preact/signals-react': ^1.2.2 '@preact/signals-react': ^1.2.2
'@radix-ui/react-accordion': ^1.1.0 '@radix-ui/react-accordion': ^1.1.0
'@radix-ui/react-checkbox': ^1.0.2 '@radix-ui/react-checkbox': ^1.0.2
@ -48,6 +48,7 @@ specifiers:
eslint-plugin-import: ^2.27.5 eslint-plugin-import: ^2.27.5
eslint-plugin-react: ^7.32.2 eslint-plugin-react: ^7.32.2
eslint-plugin-react-hooks: ^4.6.0 eslint-plugin-react-hooks: ^4.6.0
esptool-js: ^0.2.1
geodesy: ^2.4.0 geodesy: ^2.4.0
gzipper: ^7.2.0 gzipper: ^7.2.0
immer: ^9.0.19 immer: ^9.0.19
@ -81,7 +82,7 @@ dependencies:
'@emeraldpay/hashicon-react': 0.5.2 '@emeraldpay/hashicon-react': 0.5.2
'@hookform/error-message': 2.0.1_bamyqy2r5urjalaw4du2uschzm '@hookform/error-message': 2.0.1_bamyqy2r5urjalaw4du2uschzm
'@hookform/resolvers': 2.9[email protected] '@hookform/resolvers': 2.9[email protected]
'@meshtastic/meshtasticjs': 2.0.20-5 '@meshtastic/meshtasticjs': github.com/trelbutate/js/cf110ec5bdb44f6b7fab66eeff6b5ae62dbac563
'@preact/signals-react': 1.2[email protected] '@preact/signals-react': 1.2[email protected]
'@radix-ui/react-accordion': 1.1.0_biqbaboplfbrettd7655fr4n2y '@radix-ui/react-accordion': 1.1.0_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-checkbox': 1.0.2_biqbaboplfbrettd7655fr4n2y '@radix-ui/react-checkbox': 1.0.2_biqbaboplfbrettd7655fr4n2y
@ -106,6 +107,7 @@ dependencies:
class-variance-authority: 0.4[email protected] class-variance-authority: 0.4[email protected]
clsx: 1.2.1 clsx: 1.2.1
cmdk: 0.1.22_zula6vjvt3wdocc4mwcxqa6nzi cmdk: 0.1.22_zula6vjvt3wdocc4mwcxqa6nzi
esptool-js: 0.2.1
geodesy: 2.4.0 geodesy: 2.4.0
immer: 9.0.19 immer: 9.0.19
jszip: 3.10.1 jszip: 3.10.1
@ -1343,6 +1345,18 @@ packages:
to-fast-properties: 2.0.0 to-fast-properties: 2.0.0
dev: true dev: true
/@buf/meshtastic_protobufs.bufbuild_es/1.2.0-20230328173351-271d1533a896.1_@[email protected]:
resolution: {registry: https://buf.build/gen/npm/v1, tarball: https://buf.build/gen/npm/v1/@buf/meshtastic_protobufs.bufbuild_es/-/meshtastic_protobufs.bufbuild_es-1.2.0-20230328173351-271d1533a896.1.tgz}
peerDependencies:
'@bufbuild/protobuf': ^1.2.0
dependencies:
'@bufbuild/protobuf': 1.2.0
dev: false
/@bufbuild/protobuf/1.2.0:
resolution: {integrity: sha512-MBVuQMOBHxgGnZ9XCUIi8WOy5O/T4ma3TduCRhRvndv3UDbG9cHgd8h6nOYSGyBYPEvXf1z9nTwhp8mVIDbq2g==}
dev: false
/@emeraldpay/hashicon-react/0.5.2: /@emeraldpay/hashicon-react/0.5.2:
resolution: {integrity: sha512-XCoYKpq8QQOniiSZf5ouzdvXbKfG6q4ICHRqCO/GNofiF0Ra+LR/7+tomHlXVcLPBS9sDAoZQQw/Sr24KRAbJg==} resolution: {integrity: sha512-XCoYKpq8QQOniiSZf5ouzdvXbKfG6q4ICHRqCO/GNofiF0Ra+LR/7+tomHlXVcLPBS9sDAoZQQw/Sr24KRAbJg==}
engines: {node: '>=8'} engines: {node: '>=8'}
@ -4385,6 +4399,16 @@ packages:
/core-util-is/1.0.3: /core-util-is/1.0.3:
resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
/crc/4.3.2:
resolution: {integrity: sha512-uGDHf4KLLh2zsHa8D8hIQ1H/HtFQhyHrc0uhHBcoKGol/Xnb+MPYfUMw7cvON6ze/GUESTudKayDcJC5HnJv1A==}
engines: {node: '>=12'}
peerDependencies:
buffer: '>=6.0.3'
peerDependenciesMeta:
buffer:
optional: true
dev: false
/cross-spawn/7.0.3: /cross-spawn/7.0.3:
resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
engines: {node: '>= 8'} engines: {node: '>= 8'}
@ -4950,6 +4974,13 @@ packages:
eslint-visitor-keys: 3.3.0 eslint-visitor-keys: 3.3.0
dev: true dev: true
/esptool-js/0.2.1:
resolution: {integrity: sha512-M2UteDiWrllJOBWLHwNRGaEAkDEHAG6FH6LdsTxJPUFLxbH/xwFMQEudiVH+REZc0FGfvY0YntVMes+HkZBeKw==}
dependencies:
pako: 2.1.0
tslib: 2.5.0
dev: false
/esquery/1.4.2: /esquery/1.4.2:
resolution: {integrity: sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==} resolution: {integrity: sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==}
engines: {node: '>=0.10'} engines: {node: '>=0.10'}
@ -6051,6 +6082,10 @@ packages:
resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==}
dev: false dev: false
/pako/2.1.0:
resolution: {integrity: sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==}
dev: false
/parent-module/1.0.1: /parent-module/1.0.1:
resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
engines: {node: '>=6'} engines: {node: '>=6'}
@ -6879,6 +6914,11 @@ packages:
engines: {node: '>=8'} engines: {node: '>=8'}
dev: true dev: true
/sub-events/1.9.0:
resolution: {integrity: sha512-dnFBayilG9Ku0k/lNs1Y7WV4kv91+ovCoeBV3uIYrY49DylvBb6z9d9ED2ctcrvX2YlReFalpCgJNtSgmrOaJg==}
engines: {node: '>=10.0.0'}
dev: false
/supercluster/7.1.5: /supercluster/7.1.5:
resolution: {integrity: sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==} resolution: {integrity: sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==}
dependencies: dependencies:
@ -7095,6 +7135,11 @@ packages:
/tslib/2.5.0: /tslib/2.5.0:
resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==}
/tslog/4.8.2:
resolution: {integrity: sha512-eAKIRjxfSKYLs06r1wT7oou6Uv9VN6NW9g0JPidBlqQwPBBl5+84dm7r8zSOPVq1kyfEw1P6B3/FLSpZCorAgA==}
engines: {node: '>=16'}
dev: false
/tsutils/[email protected]: /tsutils/[email protected]:
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
engines: {node: '>= 6'} engines: {node: '>= 6'}
@ -7625,3 +7670,19 @@ packages:
react: 18.2.0 react: 18.2.0
use-sync-external-store: 1.2[email protected] use-sync-external-store: 1.2[email protected]
dev: false dev: false
github.com/trelbutate/js/cf110ec5bdb44f6b7fab66eeff6b5ae62dbac563:
resolution: {tarball: https://codeload.github.com/trelbutate/js/tar.gz/cf110ec5bdb44f6b7fab66eeff6b5ae62dbac563}
name: '@meshtastic/meshtasticjs'
version: 2.1.6-0
requiresBuild: true
dependencies:
'@buf/meshtastic_protobufs.bufbuild_es': 1.2.0-20230328173351-271d1533a896.1_@[email protected]
'@bufbuild/protobuf': 1.2.0
crc: 4.3.2
sub-events: 1.9.0
tslib: 2.5.0
tslog: 4.8.2
transitivePeerDependencies:
- buffer
dev: false

Loading…
Cancel
Save