Breeze / breeze-client

Breeze for JavaScript clients
MIT License
38 stars 16 forks source link

Support for Angular Ivy #76

Open juliancarrivick opened 1 year ago

juliancarrivick commented 1 year ago

View engine libraries are no longer going to be supported in Angular 16 (see here). When this is released BreezeJs users are going to be stuck on Angular 15, which is obviously not ideal.

When compiling at the moment there is a warning saying that the library needs to be updated:

⠙ Generating browser application bundles (phase: setup)...Processing legacy "View Engine" libraries:
- breeze-client [es2015/esm2015] (https://github.com/Breeze/breeze-client.git)
Encourage the library authors to publish an Ivy distribution.

Happy to help with a PR if you can direct me to the changes that will need to occur.

juliancarrivick commented 1 year ago

I just found the mjs releases - this seems to make the warning go away (install with npm install breeze-client@mjs. This only downside to this is npm outdated says it is outdated (wants to upgrade from 2.1.4-mjs to 2.1.4).

steveschmitt commented 1 year ago

At some point, we will switch it: the mjs version will get the latest tag, and the non-mjs version will get a umd tag.