Commit Graph

7 Commits

Author SHA1 Message Date
Mads Rasmussen
20bac8a1c3 make entry point initializer part of extension-api lib 2023-05-15 15:15:31 +02:00
Mads Rasmussen
e64b74b805 move singleton to extension registry 2023-05-15 14:50:46 +02:00
Jacob Overgaard
62f3c2d6fa Feature/server packages v2 (#574)
* new api models

* use new PackageResource

* do not error out on missing default exports (esmodules auto-execute)

* do not check for js extensions (they might have been registered on the client without a js file)

* prepend the api baseurl to any relataive server JS dependencies

* ignore tsbuildinfo

* create base file for tsconfig

* extend from base config and optimise include/exclude paths

* install rollup plugin to handle json files

* use plugin to bundle json files

* call script for cms builds that builds libs

* add rollup config to utils lib

* add a context token to the extension registry instance itself and provide it through BackofficeElement

* add rollup node resolve

* add node resolve

* only include element mixin in element library

* add error description to module load error

* add types to UmbExtensionRegistry token

* set UmbNotificationService as string in its token to avoid minification

* correct comment

* reverse order of checks

* add host to server extensions and support life-cycle check

* add imports

* use lit rather than lit-html

* correct comment

* add PackageManifestModel

* add import

* run libs build for cms

* revert reorder

* use string name for NotificationContext token

* make alias public readonly of UmbContextToken

* remove TODO

* use UmbContextToken::toString() for all stores

* use string alias for contexts

* move default data so we avoid importing a big lit library just to get default data interface

* add rollup to two extra libraries

* make sure we build uui and lit into our libraries for the few cases we import something

* add lockfile

* add separate options for .js files

* add function to install types of module

* add types output

* remove unused tsconfig-base file for now
2023-03-02 20:29:20 +01:00
Mads Rasmussen
8ff26c1aec add action and entity action base classes 2023-02-07 21:47:58 +01:00
Mads Rasmussen
69bd4eedfa add to import barrel 2023-02-01 14:34:17 +01:00
Jacob Overgaard
459d22635d remove reference between extensions-api and extensions-registry 2023-01-24 12:13:13 +01:00
Jacob Overgaard
45252017f1 move extensions-api to libs 2023-01-23 14:56:21 +01:00