mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-19 09:05:59 -04:00
[PR #111] [CLOSED] BREAKING: use Deno tooling #112
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/111
Author: @williamhorning
Created: 3/14/2025
Status: ❌ Closed
Base:
main← Head:modernization📝 Commits (10+)
21b3447BREAKING CHANGE: remove CJS build, polyfills, dependencies74b8a9eBREAKING CHANGE: simplify Collection interfaceee015e5chore: add return types to all functionsa42f57fchore: use type-only imports in places3f4117echore: replaceeventemitter3withvladfrangu/async_event_emitterc682f71BREAKING CHANGE: use Deno tooling02a5413BREAKING CHANGE: remove solid.js dependency and redo collection interface78e7367remove solid.js from package.json7b3899eMerge remote-tracking branch 'upstream/main' into bye-bye-solid6738be5fix lockfile📊 Changes
70 files changed (+1128 additions, -3553 deletions)
View changed files
📝
.github/workflows/codeql-analysis.yml(+29 -29)📝
.github/workflows/docs.yml(+5 -13)📝
.github/workflows/lint.yml(+7 -14)➕
.github/workflows/publish.ts(+55 -0)➕
.github/workflows/publish.yml(+31 -0)📝
.gitignore(+2 -15)➖
.prettierrc(+0 -13)📝
.vscode/extensions.json(+1 -1)📝
.vscode/settings.json(+5 -2)📝
README.md(+9 -35)➕
deno.json(+28 -0)➖
eslint.config.js(+0 -23)➖
package.json(+0 -48)➖
pnpm-lock.yaml(+0 -2153)📝
src/Client.ts(+68 -85)📝
src/classes/BannedUser.ts(+2 -2)📝
src/classes/Bot.ts(+4 -4)📝
src/classes/Channel.ts(+76 -83)📝
src/classes/ChannelUnread.ts(+2 -4)📝
src/classes/ChannelWebhook.ts(+6 -6)...and 50 more files
📄 Description
This pull request changes a lot about revolt.js, mostly in terms of dependencies and how to build it. Most of the changes here are done to both remove dependencies and support Deno more.
This includes changes from #112, #113, and #114 as well as the following:
In addition to these changes, https://github.com/insertish/oapi/pull/3 removes the
axiosandlodash.defaultsdeepdependencies from oapi andrevolt-apiby proxy.That combined with this PR should make for both Node, Deno, and browser support while publishing to both npm and JSR with just three dependencies:
@vladfrangu/async_event_emitterrevolt-apiulidThis fixes #34
Please make sure to check the following tasks before opening and submitting a PR
���� This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.