Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fix: mv /examples/sse -> /examples/async & update readme (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT authored Oct 20, 2023
1 parent 13e9afc commit 2da9db6
Show file tree
Hide file tree
Showing 24 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module.exports = {
},
},
{
files: ["./examples/sse/**/*.ts"],
files: ["./examples/async/**/*.ts"],
rules: {
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ type Obj = typeof obj;
### 🤯 Streaming `Promise`s and `AsyncIterable`s

- See example in [`./examples/async`](./examples/async)
- [Test it on StackBlitz](https://stackblitz.com/github/trpc/tupleson/tree/main/examples/async?file=src/server.ts&file=src/client.ts&view=editor)
- [Test it on StackBlitz](https://stackblitz.com/github/trpc/tupleson/tree/main/examples/async?file=src/app/page.tsx&view=editor)

## 🧩 Extend with a custom serializer

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions examples/sse/package.json → examples/async/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@examples/sse",
"name": "@examples/async",
"version": "0.1.0",
"private": true,
"description": "SSE example",
"description": "Tupleson example with Next.js",
"license": "MIT",
"scripts": {
"build": "next build",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion knip.jsonc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://unpkg.com/knip@latest/schema.json",
"ignoreExportsUsedInFile": { "interface": true, "type": true },
"ignoreWorkspaces": ["examples/sse"],
"ignoreWorkspaces": ["examples/async"],
"workspaces": {
".": {
"entry": ["src/index.ts!"],
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2da9db6

Please sign in to comment.