Commit graph

44 commits

Author SHA1 Message Date
PalmDevs
43ea84de29
chore: update dependencies 2025-09-10 00:07:33 +07:00
Palm
5f5fc6f2b2
feat!: module finders refactor (#6)
- Renamed `byX` filters to `withX`.
  It is more correct. For example: You don't lookup, wait for, or get modules **BY** props. You lookup, wait for, and get modules **WITH** props.
- Renamed `*byImportedPath` to `*withImportedPath`
  For consistency with the above change.
- Renamed `getModule` to `getModules`.
  The API allows getting multiple modules and not just a single one. Types are renamed as well.
  `getModuleByImportedPath` remains the same as it only gets one single module with a unique imported path.
- `withX` filter **helpers** removed.
  They can now be replaced with the new capability-based `and` filter.
- `preferExports` and `moduleStateAware` filters removed.
  They can now be replaced with the new capability-based `and` filter.
- Composite finders renamed.
  `some` -> `or`, `every` -> `and`
- Composite finders takes a capability-based approach.
- Filter generators now need to attach runtime flag to let the system know whether the generated filter can be used to filter modules without proper exports or not.

## Misc.

- Removed useless unsub call in Profile Badges
- Use `queueMicrotask` with `asap`

# Features

## Capability-based approach to composite filters

```js
// Old
byProps(...).withDependencies(...)
// Old, same as: preferExports(byProps(...), byDependencies(...))
every(byDependencies(...), byProps(...))
// Old, ordering matters, this would fail unexpectedly!
every(byProps(...), byDependencies(...))

// New
withProps(...).and(withDependencies(...))
// New (as well), ordering doesn't matter, this has the same result as above
withDependencies(...).and(withProps(...))
```
2025-08-30 09:19:57 +07:00
PalmDevs
497bb232ea
chore: update dependencies 2025-08-25 19:19:22 +07:00
PalmDevs
0356581e22
chore: update dependencies 2025-08-19 02:40:02 +07:00
PalmDevs
a94e75a6c0
chore: update dependencies 2025-08-13 00:51:27 +07:00
PalmDevs
a089865d12
chore: update dependencies 2025-08-11 16:51:09 +07:00
PalmDevs
53e5f918da
fix: remove removed package 2025-08-09 02:16:44 +07:00
PalmDevs
ab5b131b8b
feat: improve types generation 2025-08-09 02:07:29 +07:00
PalmDevs
4c20058fa1
feat: add types generation to be consumed by external plugins 2025-08-07 21:08:21 +07:00
PalmDevs
6260103108
fix: update broken package patch 2025-08-06 20:55:41 +07:00
PalmDevs
5cc2ee2287
chore: update dependencies 2025-07-30 20:15:10 +07:00
PalmDevs
4a770ca791
chore: update dependencies 2025-07-23 18:15:28 +07:00
PalmDevs
59375836a6
chore: update dependencies 2025-07-18 19:47:18 +07:00
PalmDevs
ab18bf6201
chore: update dependencies 2025-07-11 00:17:18 +07:00
PalmDevs
0bea1e29be
chore: update dependencies 2025-07-07 19:11:32 +07:00
PalmDevs
6593aad815
chore: update dependencies 2025-07-01 17:27:42 +07:00
PalmDevs
8aece26c72
chore: update dependencies 2025-06-18 19:00:46 +07:00
PalmDevs
feee9f7656
ci(build): restore bun cache before setup, install only prod dependencies 2025-06-17 20:13:25 +07:00
PalmDevs
255b4b4655
chore: reduce dependencies 2025-06-17 19:17:34 +07:00
PalmDevs
bf9e723e73
chore: update rolldown and use defineLazyProperties to set lazy-loaded plugin APIs 2025-06-16 09:01:50 +07:00
PalmDevs
35df488dd4
chore: update dependencies 2025-06-15 17:33:44 +07:00
PalmDevs
2852211a91
chore: add pkg patch for react-native-click-outside 2025-06-13 07:32:20 +07:00
PalmDevs
48f184d459
chore: update dependencies 2025-06-11 21:44:28 +07:00
PalmDevs
fc3d80e7ca
feat(plugins/settings): see commit description
- Disable plugin settings button when plugin is disabled
  - Show tooltip on disabled tap
- Retain sort options during renavigation
- Cleanup and refactor
2025-06-11 21:41:29 +07:00
PalmDevs
88f9000122
chore: update dependencies 2025-06-10 22:17:28 +07:00
PalmDevs
fc8067d599
chore(lib/patcher): add tests and docs 2025-06-09 22:47:21 +07:00
PalmDevs
5b3a8bc5ab
feat: see commit description
- Shim React and React Native
- Move src/components to lib/components
- Exposed lib/components to `unscoped.components`
- scipts/build: Properly set footer sourceURL
- plugins/developer-settings: Debounce searching in Asset Browser
- plugins/settings: Debounce searching in Plugins
2025-06-08 19:01:33 +07:00
PalmDevs
b7f1486b56
chore: update rolldown 2025-06-07 10:07:30 +07:00
PalmDevs
559b8811c3
chore: update dependencies 2025-06-06 20:09:50 +07:00
PalmDevs
c92adf856f
chore: use biome v2 2025-06-03 16:22:59 +07:00
PalmDevs
5d1a29b008
chore: update dependencies 2025-06-01 13:50:21 +07:00
PalmDevs
bea79efb4f
chore: update deps 2025-05-21 07:25:26 +07:00
PalmDevs
81f529c607
feat(lib/externals): export react-native-clipboard 2025-05-10 02:12:05 +07:00
PalmDevs
98b84a43c7
feat(lib): add externals 2025-05-08 19:10:40 +07:00
PalmDevs
93decc2d63
feat(lib/discord): exports actions and polyfills 2025-05-04 20:31:48 +07:00
PalmDevs
19cac09f02
chore(scripts/build): use rolldown's tsconfig paths resolver 2025-04-30 20:19:51 +07:00
PalmDevs
02548d3e90
chore(scripts/build): resolve tsconfig paths 2025-04-29 21:19:20 +07:00
PalmDevs
7a7f470ff4
fix(lib)!: move modules/common to own libs 2025-04-29 18:25:55 +07:00
PalmDevs
e2b0fba388
chore: update deps 2025-04-29 17:26:36 +07:00
PalmDevs
466881c1a6
chore(scripts/dev): improve dev server experience 2025-04-15 14:50:14 +07:00
PalmDevs
ee31884246
fix: revert a few changes that broke building 2025-04-05 23:35:01 +07:00
PalmDevs
206cd6ee78
chore: move types and base tsconfig into separate package 2025-04-05 18:17:06 +07:00
PalmDevs
d92898ccc8
feat(lib): initial implementation of @revenge-mod/modules 2025-03-30 23:32:17 +07:00
PalmDevs
8d84ebe491
chore: initial commit 2025-03-21 19:59:16 +07:00