-
-
Notifications
You must be signed in to change notification settings - Fork 22
Conversation
d728c37
to
0a26223
Compare
Status checks are failing because of the switch to GitHub Actions. I'll fix this once I have an approval. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't aware we had this package 😅 One small thing but otherwise looks good to me.
tsconfig.json
Outdated
"./node_modules/@types", | ||
], | ||
"target": "es2017", | ||
"typeRoots": ["./node_modules/@types"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't need this setting, as this is the default value: https://www.typescriptlang.org/tsconfig#typeRoots
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, take that back, this tells TypeScript to use @types/*
packages that are located immediately within node_modules
as opposed to anywhere else, but that said, we don't usually have to mess with this setting, so still I'm not sure we need to set it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, good point. I just preserved it because it was already there. Removed in 042dd7a.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me! Note that there are two more PRs I merged into the module template just now — one to upgrade to Yarn v3, another to tweak a TypeScript setting. Up to you on whether you want to include those now or later. As for this PR though, looks good.
Standardizes this repository per the module template as of Q3 2022. All changes are copied over directly from the template, except for the tests, which have been rewritten. A couple of notes:
DuplexJsonRpcEngine
stream #24 has been merged.