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

fix: mv /examples/sse -> /examples/async & update readme #72

Merged
merged 6 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
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.
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.

Loading