Skip to content

Commit

Permalink
Merge branch 'main' into wip/automatic-resolution-path
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio authored Jun 23, 2024
2 parents f1e3d6e + 8258977 commit b4979f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/with-nextjs/src/server/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ const postsRouter = t.router({
.output(z.null())
.mutation(({ input, ctx }) => {
const post = database.posts.find((_post) => _post.id === input.id);
console.log(post);
if (!post) {
throw new TRPCError({
message: "Post not found",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
],
"scripts": {
"test": "tsc --noEmit && jest --verbose",
"build": "rimraf dist && tsc -p tsconfig.build.json"
"build": "rimraf dist && tsc -p tsconfig.build.json",
"publish": "pnpm run build && pnpm publish --access public"
},
"peerDependencies": {
"@trpc/server": "^10.0.0",
Expand Down

0 comments on commit b4979f7

Please sign in to comment.