8000 feat: add bun support by DjDeveloperr · Pull Request #47 · denosaurs/deno_python · GitHub
[go: up one dir, main page]

Skip to content

feat: add bun support #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
x
  • Loading branch information
DjDeveloperr committed Sep 20, 2023
commit 561571aff1ddc42d61932084dbaef06f22f5df83
2 changes: 2 additions & 0 deletions mod.bun.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import "./src/bun_compat.js";
export * from "./mod.ts";
4 changes: 3 additions & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "./src/bun_compat.js";
declare module "python:*";
declare module "*.py";

export * from "./src/python.ts";
export { python as default } from "./src/python.ts";
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bunpy",
"version": "0.3.3",
"description": "JavaScript -> Python Bridge for Deno and Bun",
"main": "mod.ts",
"main": "mod.bun.ts",
"directories": {
"example": "examples",
"test": "test"
Expand Down
0