Skip to content

Commit 5751f43

Browse files
committed
trpc removal
1 parent 6c4bb34 commit 5751f43

File tree

6 files changed

+0
-170
lines changed

6 files changed

+0
-170
lines changed

README.md

-20
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ dev:
1717
- [eslint-config](https://github.com/antfu/eslint-config): See [eslint](#eslint)
1818
- [bumpp](https://github.com/antfu-collective/bumpp): use `bun bump`
1919

20-
optional:
21-
22-
- [trpc-chrome](https://github.com/jlalmes/trpc-chrome): See [trpc](#trpc)
23-
2420
## Setup
2521

2622
- [ ] update `name` in `package.json`, it will be zip file name
@@ -62,22 +58,6 @@ To use it, refer to the [documentation](https://ui.shadcn.com/docs/cli#add)
6258

6359
> tldr: To add components using `npx shadcn@latest add`, select them by pressing `space` and submit with `enter`. If adding a code file, simply type the component name for autocompletion in vscode.
6460
65-
## trpc
66-
67-
1. Replace the `background` and `popup` entrypoints with the ones in the `entrypoints.inactive/trpc` folder.
68-
2. Install the needed packages:
69-
70-
```shell
71-
# trpc with react-query, see https://trpc.io/docs/v10/client/react/setup
72-
bun i @trpc/client @trpc/server @trpc/react-query @tanstack/react-query@4
73-
# trpc-chrome
74-
bun i trpc-chrome
75-
# zod
76-
bun i zod
77-
# mitt, event emitter, for trpc subscription
78-
bun i mitt
79-
```
80-
8161
## Advanced Configuration
8262

8363
### cli submit

src/entrypoints.inactive/trpc/background.ts

-52
This file was deleted.

src/entrypoints.inactive/trpc/content.ts

-22
This file was deleted.

src/entrypoints.inactive/trpc/popup/App.tsx

-27
This file was deleted.

src/entrypoints.inactive/trpc/popup/index.html

-13
This file was deleted.

src/entrypoints.inactive/trpc/popup/main.tsx

-36
This file was deleted.

0 commit comments

Comments
 (0)