Detalhes do pacote

@tmorin/ceb-templating-builder

tmorin56MIT7.0.0

The package is part of the <ceb/> library. It provides a builder which enhances the definition of Custom Elements (v1) with a templating solution.

custom-element-builder, custom-elements-v1, custom-elements, custom-element

readme (leia-me)

@tmorin/ceb-templating-builder

npm version skypack.dev doc api

The package is part of the <ceb/> library. It provides a builder which enhances the definition of Custom Elements (v1) with a templating solution.

Install

The NPM package is compliant CommonJs and ES Module.

npm install @tmorin/ceb-templating-builder

License

Released under the MIT license.

changelog (log de mudanças)

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

7.0.1 (2021-12-19)

Bug Fixes

  • NPM Workspaces expected by Typedoc doesn't work well with Lerna (c283414)

7.0.0 (2021-12-19)

Bug Fixes

  • action results must be always defined (ac6f335)
  • enable skipLibCheck to handle conflict between jest and mocha :( (263a504)
  • fix imports in examples (429cb82)

Features

  • book: improve inversion part (2ee2caa)
  • book: review the book (e3bd1e1)
  • ceb-inversion-testing-jest: Inversion Test Suite should be managed by Jest too (da1384a)
  • ceb-messaging-adapter-dom: add a new package to deal with messaging in DOM context (0e60899)
  • ceb-messaging-adapter-dom: events should be forwarded from the Gateway to the DOM Event bus too (6aa7d27)
  • ceb-messaging-adapter-purify: add support to inversion (6e512af)
  • ceb-messaging-core: add an option to customize the registry key used to resolve the Gateway instance (e5b937f)
  • ceb-messaging-core: received messages should be observable (f9d4205)
  • ceb-messaging-core: simplify the bus interface (6145e07)
  • ceb-messaging-dom: remove the package (179e34a)
  • ceb-messaging-inversion: ceb-messaging-inversion should not depend on Inversion (cb52ef3)
  • ceb-messaging-simple-inversion: ceb-messaging-simple should not depend on Inversion (8d0b70f)
  • ceb-messaging: provide a new implementation with a better integration of functional programming concerns (f2963ed)
  • improve the ESM integration (476a297)

BREAKING CHANGES

  • ceb-messaging-inversion: the package ceb-messaging-inversion is not more able to discover handlers and listener with Inversion, the feature has been migrated to ceb-messaging-inversion
  • ceb-messaging-dom: the package ceb-messaging-dom is removed and replaced by ceb-messaging-adapter-dom
  • ceb-messaging: the concepts still remain the same, but the new implementation break almost everything.

6.1.0 (2021-11-19)

Features

  • ceb-messaging-testing: add a new package which provides resources to improve tests playing with messaging artifacts (a12da00)

6.0.3 (2021-11-18)

Bug Fixes

  • documentation: fix import related to @tmorin/ceb-bundle-web in the documentation (109de28)
  • documentation: some path in the summary of the book are wrong (4504236)

6.0.2 (2021-11-18)

Bug Fixes

  • ceb-bundle-web: the UMD module was badly generated (f6a9bd4)

6.0.1 (2021-11-18)

Bug Fixes

  • ceb-bundle-web: the UMD module is not properly configured (fd9a668)

6.0.0 (2021-11-18)

Features

  • ceb-bundle-web: rename the package (39b8234)
  • ceb-elements-builders: rename the package (f406407)
  • ceb-elements-core: rename the package (bed57e2)
  • ceb-elements-testing: rename the package (7918392)
  • ceb-inversion-core: rename the package (0d81ed2)
  • ceb-inversion-testing-core: a model to test containers (40d54b1)
  • ceb-inversion-testing-mocha: add an implementation for Mocha (87b0a4d)
  • ceb-messaging-core: improve the API with a map of internal events (3f5d1b9)

BREAKING CHANGES

  • ceb-bundle-web: the package ceb has been renamed to ceb-bundle-web
  • ceb-inversion-core: the package ceb-inversion has been renamed to ceb-inversion-core
  • ceb-elements-testing: the package ceb-testing has been renamed to ceb-elements-testing
  • ceb-elements-builders: the package ceb-builders has been renamed to ceb-elements-builders
  • ceb-elements-core: the package ceb-core has been renamed to ceb-elements-core

5.0.2 (2021-11-12)

Bug Fixes

  • ceb-templating-parser: the parser fails to parse attributes with a - (34544a3)

5.0.1 (2021-11-12)

Bug Fixes

  • ceb-templating-parser: inline elements are badly parsed when embedded in inline elements (3956c1c)

5.0.0 (2021-11-11)

Bug Fixes

  • ceb-templating-literal: attribute name with matching value should not be handled as boolean (8b37edf)
  • ceb-templating-parser: parser cannot work on repetitive structure (d9a8b1d)
  • documentation: remove a useless snippet in the Typedoc README (7e80b9a)

Features

  • ceb-inversion-builder: inject entries in Custom Elements (8e4961d)
  • ceb-messaging-adapter-electron: Bus can handles MessageType and MessageConstructor (fa5b771)
  • ceb-messaging-adapter-electron: add SimpleIpcMessageConverter (89f02e8)
  • ceb-messaging-adapter-electron: add a Bus adapter for Electron IPC (c338100)
  • ceb-messaging-adapter-electron: add an inversion module (ac5ccea)
  • ceb-messaging-adapter-electron: add support for internal event like error or dispose (777acc7)
  • ceb-messaging-adapter-electron: handle the MESSAGE_TYPE static field of Message (0e64d24)
  • ceb-messaging-adapter-electron: rename the package (2517d60)
  • ceb-messaging-builder-inversion: add a builder to inject a bus from a container (64ece4d)
  • ceb-messaging-core-builder: extract the base Builder in a dedicated package (0a137b6)
  • ceb-messaging-core: Bus can handles MessageType and MessageConstructor (305ea02)
  • ceb-messaging-core: add support for internal event like error or dispose (d3ba020)
  • ceb-messaging-core: refactor the interface Bus to embrace messaging guidelines (fcbb68d)
  • ceb-messaging-core: refactor the interface Message to embrace messaging guidelines (bf6cda3)
  • ceb-messaging-dom: Bus can handles MessageType and MessageConstructor (53b40f3)
  • ceb-messaging-dom: add options to the inversion module (dbae0e0)
  • ceb-messaging-dom: add support for internal event like error or dispose (f6c38b9)
  • ceb-messaging-dom: refactor the package to embrace messaging guidelines (d99c0d7)
  • ceb-messaging-simple-builder: extract the Builder in a dedicated package (abb6c9d)
  • ceb-messaging-simple: Bus can handles MessageType and MessageConstructor (0ed3a29)
  • ceb-messaging-simple: add options to the inversion module (c72273b)
  • ceb-messaging-simple: add support for internal event like error or dispose (87bca25)
  • ceb-messaging-simple: refactor the package to embrace messaging guidelines (83829ab)

BREAKING CHANGES

  • ceb-messaging-core-builder: the class AbstractBusBuilder is now located in the package ceb-messaging-simple-builder-builder
  • ceb-messaging-simple-builder: the class SimpleBusBuilder is now located in the package ceb-messaging-simple-builder
  • ceb-messaging-adapter-electron: the package ceb-messaging-bus-adapter-ipc has been renamed to ceb-messaging-adapter-electron
  • ceb-messaging-core: the following new methods must be implemented Bus.emit, Bus.on, Bus.off, Bus.dispose
  • ceb-messaging-simple: the class AbstractSimpleMessage and descendants have been impacted
  • ceb-messaging-dom: the class DomMessage and descendants have been impacted
  • ceb-messaging-core: the methods Bus.handle and Bus.subscribe accept only MessageType and no more a constructor
  • ceb-messaging-core: the field Message.messageId has been moved to Message.headers.messageId

4.0.2 (2021-08-25)

Bug Fixes

  • ceb-messaging-dom: DomBus cannot be used properly from Custom Element (086d5f6)

4.0.1 (2021-08-25)

Bug Fixes

  • ceb: the unpkg configuration is wrong (d7c61a5)

4.0.0 (2021-08-25)

Features

  • npm packages are compliant CommonJS and ES Module (fe955fb)
  • refactor the codebase to provide NPM packages by features (1e65b1f)

BREAKING CHANGES

  • the following features are no more available by default with the package @tmorin/ceb -> messaging, inversion