You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As things progress, Revenge will have to add new features and APIs. Adding these changes directly to the window.vendetta API will affect other forks, eg. Bunny. We've discussed this internally and the solution was to add new APIs into window.revenge object which plugin developers can check for and use responsibly.
❓ Why initialize a monorepo?
Using a monorepo allows for better project structure and management, as well as helping separate parts of code which makes it easier to work with.
* Refactored `lib/metro` and added types + cleaned up `tsconfig.json` + minor changes to `build.mjs` and `package.json`
* Made requested changes + added eslint rule to restrict top-level await
* Exclude `transform-async-to-generator` from `env` (async/await is es7)
As things progress, Revenge will have to add new features and APIs. Adding these changes directly to the
window.vendetta
API will affect other forks, eg. Bunny. We've discussed this internally and the solution was to add new APIs intowindow.revenge
object which plugin developers can check for and use responsibly.❓ Why initialize a monorepo?
Using a monorepo allows for better project structure and management, as well as helping separate parts of code which makes it easier to work with.
🛠️ Implementation
This will be the project's structure:
To add
window.revenge
, we can call the@revenge-mod/register
package:In the
@revenge-mod/register
package, thewindow.revenge
API is assigned:The text was updated successfully, but these errors were encountered: