ngxs-labs / emitter

:octopus: New pattern that provides the opportunity to feel free from actions
MIT License
110 stars 5 forks source link

Angular 18 #789

Closed elBuilder closed 3 months ago

elBuilder commented 3 months ago

Updates

  1. Added withNgxsEmitPlugin() to support standalone feature
  2. Following @ngxs/store's footstep to deprecate @Emitter selector. Every @Emitter usage should be replaced with the following:
class UsersComponent {
  @Emitter(AppState.deviceId) setDeviceId: Emittable<string>;

  // Should become the following
  setDeviceId: Emittable<string> = inject(EmitStore).emitter(AppState.setDeviceId);
}
Updated Package Before After
@angular-devkit/build-angular 15.1.1 18.1.4
@angular-devkit/core 15.1.1 18.1.4
@angular-devkit/schematics 15.1.1 18.1.4
@angular-eslint/eslint-plugin 15.0.0 18.2.0
@angular-eslint/eslint-plugin-template 15.0.0 18.2.0
@angular-eslint/template-parser 15.0.0 18.2.0
@angular/animations 15.1.0 18.1.4
@angular/cli 15.1.1 18.1.4
@angular/common 15.1.0 18.1.4
@angular/compiler 15.1.0 18.1.4
@angular/compiler-cli 15.1.0 18.1.4
@angular/core 15.1.0 18.1.4
@angular/forms 15.1.0 18.1.4
@angular/language-service 15.1.0 18.1.4
@angular/platform-browser 15.1.0 18.1.4
@angular/platform-browser-dynamic 15.1.0 18.1.4
@angular/platform-server 15.1.0 18.1.4
@angular/router 15.1.0 18.1.4
@commitlint/cli ^17.5.0 ^19.4.0
@commitlint/config-conventional ^17.4.4 ^19.2.2
@ngxs/store 3.7.6 18.1.1
@nrwl/angular 15.8.9 19.5.7
@nrwl/cli 15.8.9 15.9.3
@nrwl/cypress 15.8.9 19.5.7
@nrwl/eslint-plugin-nx 15.8.9 19.5.7
@nrwl/jest 15.8.9 19.5.7
@nrwl/js 15.8.9 19.5.7
@nrwl/linter 15.8.9 19.5.7
@nrwl/workspace 15.8.9 19.5.7
@schematics/angular 15.1.1 18.1.4
@types/express ^4.17.2 ^4.17.21
@types/jest 29.4.4 29.5.12
@types/node ^16.11.7 ^22.2.0
@typescript-eslint/eslint-plugin 5.43.0 8.0.1
@typescript-eslint/parser 5.43.0 8.0.1
cpx ^1.5.0 ^1.5.0
cypress ^10.0.0 ^13.13.2
eslint 8.15.0 9.9.0
eslint-config-prettier ^8.3.0 ^9.1.0
eslint-plugin-cypress ^2.12.1 ^3.4.0
express ^4.17.1 ^4.19.2
husky ^8.0.0 ^9.1.4
jest 29.4.3 29.7.0
jest-environment-jsdom 29.4.3 29.7.0
jest-preset-angular 13.0.0 14.2.2
lint-staged ^13.0.0 ^15.2.8
ng-packagr ~15.2.2 ~18.1.0
nx 15.8.9 19.5.7
postcss 8.4.16 8.4.41
postcss-import 14.1.0 16.1.0
postcss-preset-env 7.5.0 10.0.0
postcss-url 10.1.3 10.1.3
prettier 2.7.1 3.3.3
rxjs ^7.5.4 ^7.8.1
ts-jest 29.0.5 29.2.4
ts-node 10.9.1 10.9.2
tslib ^2.3.0 ^2.6.3
typescript ~4.9.5 ~5.5.4
zone.js 0.12.0 0.14.10