Skip to content

Commit

Permalink
ci(connect): use latest deno2node to transpile connect -> node
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed Feb 20, 2023
1 parent e97159f commit b94b387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/connect/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test-integration: clean to-node

to-node:
@deno run --no-check --allow-read --allow-write \
https://deno.land/x/deno2node@v1.6.0/src/cli.ts ./tsconfig.to-node.jsonc && \
https://deno.land/x/deno2node@v1.7.1/src/cli.ts ./tsconfig.to-node.jsonc && \
yarn build && \
echo "copying types..." && find ./to-node -mindepth 1 -depth -name '*.d.ts' -exec cp --parents \{\} ./dist \; && \
mv ./dist/to-node/* ./dist && rm -rf ./dist/to-node
Expand Down
4 changes: 2 additions & 2 deletions packages/connect/deno/tests/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test("mod", async (t) => {
new Response(JSON.stringify({ ok: false }), {
status: 404,
headers: { "content-type": "application/json" },
})
}),
);

const hyper = connect("http://localhost:6363/test");
Expand All @@ -27,7 +27,7 @@ test("mod", async (t) => {
new Response(JSON.stringify({ ok: true, doc: { _id: "test-1" } }), {
status: 404,
headers: { "content-type": "application/json" },
})
}),
);

const hyper = connect("http://localhost:6363/test");
Expand Down

0 comments on commit b94b387

Please sign in to comment.