mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 01:39:21 +02:00
chore: update dependencies
This commit is contained in:
parent
b8de6b70d8
commit
f57951aa40
2 changed files with 372 additions and 630 deletions
48
README.md
48
README.md
|
@ -10,46 +10,44 @@ Online demo: https://yume-chan.github.io/ya-webadb
|
|||
|
||||
**I'm working on a series of [blog posts](https://chensi.moe/blog/2020/09/28/webadb-part0-overview/) explaining the ADB protocol and my implementation in details.**
|
||||
|
||||
`@yume-chan/adb` contains a platform-independent TypeScript implementation of the Android Debug Bridge (ADB) protocol.
|
||||
`@yume-chan/adb` is a platform-independent TypeScript implementation of the Android Debug Bridge (ADB) protocol.
|
||||
|
||||
`@yume-chan/adb-backend-webusb` contains a backend for `@yume-chan/adb` that uses WebUSB API.
|
||||
`@yume-chan/adb-backend-webusb` is a backend for `@yume-chan/adb` that uses WebUSB API.
|
||||
|
||||
See README in each package for more implementation details.
|
||||
See README in each package for details.
|
||||
|
||||
## Packages
|
||||
|
||||
This repository is a monorepo containing following packages:
|
||||
|
||||
| Folder Name | Description |
|
||||
| -------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
||||
| adb ([README](packages/adb/README.md)) | TypeScript implementation of Android Debug Bridge (ADB) protocol. |
|
||||
| adb-backend-webusb ([README](packages/adb-backend-webusb/README.md)) | Backend for `@yume-chan/adb` using WebUSB API. |
|
||||
| event | Event/EventEmitter pattern. |
|
||||
| struct ([README](packages/struct/README.md)) | C-style structure serializer and deserializer. |
|
||||
| webpack-config | Webpack configuration file in TypeScript, will output into `demo` folder |
|
||||
| demo ([README](packages/demo/README.md)) | Demo of `@yume-chan/adb` and `@yume-chan/adb-backend-webusb`. |
|
||||
| Package Name | Description |
|
||||
| --------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
||||
| adb ([README](libraries/adb/README.md)) | TypeScript implementation of Android Debug Bridge (ADB) protocol. |
|
||||
| adb-backend-webusb ([README](libraries/adb-backend-webusb/README.md)) | Backend for `@yume-chan/adb` using WebUSB API. |
|
||||
| event ([README](libraries/event/README.md)) | Event/EventEmitter pattern. |
|
||||
| struct ([README](libraries/struct/README.md)) | C-style structure serializer and deserializer. |
|
||||
| demo ([README](apps/demo/README.md)) | Demo of `@yume-chan/adb` and `@yume-chan/adb-backend-webusb`. |
|
||||
|
||||
## Development
|
||||
|
||||
The repository uses [Rush](https://rushjs.io/) for monorepo management.
|
||||
|
||||
### Install Rush globally
|
||||
|
||||
```sh
|
||||
$ npm i -g rush
|
||||
```
|
||||
|
||||
### Install dependencies
|
||||
|
||||
If you already have [lerna](https://lerna.js.org/) installed globally, run
|
||||
|
||||
```sh
|
||||
npm run postinstall
|
||||
$ rush update
|
||||
```
|
||||
|
||||
Otherwise, run
|
||||
### Everyday commands
|
||||
|
||||
Build all packages:
|
||||
|
||||
```sh
|
||||
npm install
|
||||
$ rush build
|
||||
```
|
||||
|
||||
will install lerna locally and bootstrap all packages.
|
||||
|
||||
### Scripts
|
||||
|
||||
* `npm run build`: build all npm packages.
|
||||
* `npm run build:watch`: build and watch changes for all npm packages.
|
||||
* `npm run start:demo`: start webpack-dev-server for the `demo` package.
|
||||
* `npm run build:demo`: build the `demo` package.
|
||||
|
|
954
common/config/rush/pnpm-lock.yaml
generated
954
common/config/rush/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue