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
feat: add automatic reflect-metadata injection to all bundles
Added automatic injection of `import 'reflect-metadata';` at the top of all client and server bundles via a new esbuild plugin. The plugin forces reflect-metadata to be bundled (not external), injects the import into entry points, and skips injection for view builds. Updated package.json templates to include reflect-metadata as a dependency.
Copy file name to clipboardExpand all lines: RELEASE.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
-
## OpenCore CLI v0.5.0
1
+
## OpenCore CLI v0.5.1
2
2
3
3
### Highlights
4
4
-**Smart Views Auto-Discovery**: The builder now automatically discovers UI/Views directories (`ui`, `view`, `views`, `web`, `html`) within resources and standalones, detecting the framework and configuring build tasks without manual intervention.
5
+
-**Reflect-Metadata Injection**: Added automatic injection of `import 'reflect-metadata';` at the top of all client and server bundles.
5
6
6
7
### Changes
7
8
-**Views Discovery Logic**: Implemented `findViewsPath` to search for common UI directory conventions.
8
9
-**Enhanced Task Generation**: Integrated auto-discovery into both glob-based and explicit resource/standalone collection.
10
+
-**Global Decorator Support**: Injected `reflect-metadata` via esbuild banners for server/client builds.
0 commit comments