Skip to content
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

WIP: Improve and simplify Deno compatibility #632

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8d2c88e
Fix variables being used before being assigned
denizdogan Jun 9, 2023
1fb57c1
Replace buildDeno.ts with Denoify
denizdogan Jun 7, 2023
282800f
Exclude *.deno.ts from TS globally
denizdogan Jun 7, 2023
2f4147d
Adjust imports/filenames for Denoify
denizdogan Jun 7, 2023
35bd3b5
Fix import syntax which Denoify does not handle
denizdogan Jun 7, 2023
87db823
Fix Deno lint warning (unused variable)
denizdogan Jun 7, 2023
7b20612
Ignore many Deno lint rules
denizdogan Jun 7, 2023
c2cadbc
Add empty Denoify config
denizdogan Jun 7, 2023
112cff9
Add .node-version to .gitignore
denizdogan Jun 7, 2023
b23da0a
Rename index.node.ts to index.ts
denizdogan Jun 7, 2023
3656252
Fix private member access issue
denizdogan Jun 7, 2023
30f65b5
Move @ts-ignore to a better place
denizdogan Jun 7, 2023
e6af378
Fix unused variable lint issue
denizdogan Jun 7, 2023
4328b89
Lint Deno too
denizdogan Jun 7, 2023
b817338
Fix low-hanging fruit Deno lint issues
denizdogan Jun 7, 2023
c8e11b5
Pin Deno `expect` module version
denizdogan Jun 7, 2023
3c490bd
Explicitly import Buffer from "buffer"
denizdogan Jun 7, 2023
b4a880d
Use builtin Deno crypto
denizdogan Jun 9, 2023
dff88e6
Fix tests after index.node.ts -> index.ts
denizdogan Jun 7, 2023
f00648f
deno.lock and ignore
denizdogan Jun 7, 2023
95f1b0b
Add missing nodemon dev dep
denizdogan Jun 8, 2023
f01dee7
Ignore deno_dist for yarn watch
denizdogan Jun 8, 2023
109277a
remove old deno build files
denizdogan Jun 9, 2023
dd2591d
build generate package using denoify
denizdogan Jun 9, 2023
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ node_modules
**/yarn-error.log
.DS_Store
.vscode
.node-version

# at least temporarily
deno_dist/
216 changes: 0 additions & 216 deletions compileForDeno.ts

This file was deleted.

14 changes: 14 additions & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"lint": {
"rules": {
"exclude": [
// FIXME: all of these should arguably be fixed, both node.js and deno
"no-namespace",
"no-explicit-any",
"ban-types",
"no-inferrable-types",
"require-await"
]
}
}
}
Loading