Commit graph

121 commits

Author SHA1 Message Date
PalmDevs
125a803824
fix(lib/utils/proxy)!: do not forcefully proxify primitives 2025-05-05 19:22:56 +07:00
PalmDevs
e16a008901
feat(lib/utils/react): add useReRender 2025-05-05 19:22:55 +07:00
PalmDevs
8f74dfc79c
feat(plugins/settings): add react devtools support 2025-05-05 19:22:53 +07:00
PalmDevs
1d32f75f79
feat(plugins/settings): improve Revenge page 2025-05-05 19:22:52 +07:00
PalmDevs
662d24e7eb
fix(plugins/settings): remove GC option, don't register hidden sections, only register when needed 2025-05-05 02:28:52 +07:00
PalmDevs
f3d3c6b646
feat(lib/discord/ui/settings): add registerSettingItems api 2025-05-05 02:18:01 +07:00
PalmDevs
5b79e41526
fix(scripts/build): incorrect binary path for non-windows 2025-05-05 01:45:35 +07:00
PalmDevs
51f86d7d6f
feat(plugin/settings): expose plugin APIs during eval 2025-05-04 20:56:50 +07:00
PalmDevs
0cc3e215eb
feat(plugins/settings): new api, remove ErrorBoundary trigger, add eval JS 2025-05-04 20:31:55 +07:00
PalmDevs
9959b5be6c
feat(lib/discord): add missing types 2025-05-04 20:31:54 +07:00
PalmDevs
93decc2d63
feat(lib/discord): exports actions and polyfills 2025-05-04 20:31:48 +07:00
PalmDevs
00265bdfa1
fix(lib/discord/ui): cleanup common exports 2025-05-04 20:26:44 +07:00
PalmDevs
a219f2a4df
fix(lib/discord/ui/settings)!: rename api and types 2025-05-04 20:26:12 +07:00
PalmDevs
aca6b00958
chore: change some version strings 2025-05-04 16:50:29 +07:00
PalmDevs
3b15dc1803
fix(lib/discord/ui/settings)!: update apis 2025-05-04 16:50:28 +07:00
PalmDevs
04c7275b4c
feat(plugins/settings): refactor to match discord's codebase style 2025-05-04 16:50:27 +07:00
PalmDevs
755021f56e
feat(lib/plugins): add internal way to get enabled plugins count 2025-05-04 16:50:26 +07:00
PalmDevs
06388fbf2e
chore(scripts/dev): add --prod option 2025-05-04 16:50:25 +07:00
PalmDevs
8dd0d40289
fix(lib/discord/ui): don't unnecessarily cache commons 2025-05-04 16:50:24 +07:00
PalmDevs
a9d8d33c03
feat(plugins): add settings 2025-05-02 22:37:42 +07:00
PalmDevs
c8dc4699a5
feat(lib/discord/ui): export Components and add DiscordModules.Components namespace 2025-05-02 22:34:48 +07:00
PalmDevs
5d9ee978a6
feat(lib/discord/ui/settings): allow registering to specific indexes 2025-05-02 22:06:57 +07:00
PalmDevs
493a671e9c
chore(scripts/dev): exit on tsconfig change 2025-05-02 22:05:43 +07:00
PalmDevs
3807f7c944
fix(lib/assets): make the patches work again 2025-05-02 22:05:31 +07:00
PalmDevs
cbc39e38b4
fix(scripts/build): trim some build globals 2025-05-01 18:54:58 +07:00
PalmDevs
058371988a
feat: include build branch in messages 2025-05-01 18:53:16 +07:00
PalmDevs
743353d20e
fix(plugins/staff-settings): use wait api instead of find 2025-05-01 18:22:12 +07:00
PalmDevs
75154b77e8
feat(lib/utils): add react and trees 2025-05-01 18:21:45 +07:00
PalmDevs
ca94e6122b
feat(lib/discord): add initial impl of discord/ui/settings 2025-05-01 18:21:10 +07:00
PalmDevs
c379d815a6
fix(lib/modules/finders/filters)!: change how relative dependency comparisons work 2025-05-01 12:57:15 +07:00
PalmDevs
9ec501eb06
feat: add author field in PluginManifest, move plugins to src dir 2025-05-01 12:18:28 +07:00
PalmDevs
ddb603211b
chore: shim react/jsx-runtime to compile JSX modules 2025-05-01 12:11:33 +07:00
PalmDevs
ce07a1d6bf
feat: add more logging, include build version, shorten commit hash 2025-05-01 01:29:55 +07:00
PalmDevs
f87c1fb584
feat(lib/plugins)!: change how plugin system works
- Separated plugin flags for statuses
- Disallow access to internal plugin flags in plugin APIs
- await `handleError` when plugin throws an error
- Added safe guards to prevent initing/starting a plugin twice or when it is not enabled
- Call GC after plugin stops
- Await plugin init and start before stopping
2025-05-01 01:18:41 +07:00
PalmDevs
384f669c68
feat(lib/modules/finders)!: check namespace before default exports, improve performance marginally 2025-05-01 00:18:42 +07:00
PalmDevs
2de47ff046
feat: export discord/AppStartPerformance, add Startup Timing logging 2025-04-30 23:49:15 +07:00
PalmDevs
b785bc574a
feat(lib/modules/finders)!: make filters work with returning CJS modules 2025-04-30 23:46:21 +07:00
PalmDevs
639ffbf1f0
fix(lib/modules/finders/lookup): get correct exports for uninitialized modules 2025-04-30 23:45:15 +07:00
PalmDevs
a87c3f167a
fix(lib/modules/finders/filters): fix moduleStateAware always failing 2025-04-30 23:44:32 +07:00
PalmDevs
729ff59fd9
feat(lib/modules/finders/filters): add relative dependency comparisons 2025-04-30 23:44:00 +07:00
PalmDevs
bee745e0d5
feat: make use of __BUILD_*__ globals 2025-04-30 20:22:07 +07:00
PalmDevs
b1315f1ebf
chore(scripts/build): enable strict execution order 2025-04-30 20:20:16 +07:00
PalmDevs
19cac09f02
chore(scripts/build): use rolldown's tsconfig paths resolver 2025-04-30 20:19:51 +07:00
PalmDevs
1099863e55
chore: change paths @plugins/* to ~plugins/* 2025-04-30 20:18:02 +07:00
PalmDevs
f64d0d6c55
fix(lib/init/preinit): revert 'chore: remove unnecessary returns and blocks' 2025-04-30 19:25:36 +07:00
PalmDevs
96c99c428a
fix(lib/init): call gc in macrotask 2025-04-30 18:54:32 +07:00
PalmDevs
28e1929ee9
fix(lib/assets/patches): immediately cache assets without waiting 2025-04-30 18:54:15 +07:00
PalmDevs
ede2a582a0
chore: remove unnecessary returns and blocks 2025-04-30 18:53:41 +07:00
PalmDevs
b7bc7f3bca
fix: don't use async arrow functions 2025-04-30 18:53:00 +07:00
PalmDevs
dbcbcdb14b
fix(scripts/build): edit transform rules 2025-04-30 18:35:50 +07:00