* 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
* update to Node 18 (latest LTS) and add .nvmrc for CLI instructions
* update vite to latest minor
* update github workflows to Node 18.x
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* sb@next upgrade --prerelease
Run the storybook upgrade command to get 7.0.0 beta 53 - From the community Discord to try & get MDX code syntax working
* Storybook did not boot due to duplicate story IDs
Fix stories that had duplicate IDs - clearly copy/paste error
* Convert storybook.js to TypeScript
* WIP in trying to get the MDX files happy & working
* fresh package lock file. It fixes the js error with syntax highlighting in mdx files
* add code language to examples
* remove .stories from mdx files. It can cause problems
* story store is now the default
* Put the content of the ContextAPI MDX back & update codefences with typescript lang
* Put GettingStarted.mdx content back to include links
* Rename to .ts file extension
* Update MDX codefences to use typescript lang
* Fix order of stories and don't auto generate docs for every story - its tooooo much
* Fixup links to other MDX docs pages from Getting Started
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* out comment temprorary for development
* initial prep
* comment
* change port number for dev generate api
* generated new apis
* document-type repository
* rename to item
* rename to document
* use ItemType
* not name detail for full models
* correct token
* imports
* correct imports
* use DocumentTypeTreeItem
* mega type adapt commit
* move DataType import
* rename document detail store
* add document
* new mock data
* partialUpdateFrozenArray
* imports
* document context work
* document and document type in context
* data-type stores + data-sources
* byKey document + data-type
* remove type
* comment
* data-type repository
* data-type context adjustments
* data-type data observable
* fix model import
* use ContentTypeCompositionType
* correct mock data
* .
* split treedata / data
* correct mock endpoints
* new models
* update model usage
* correct models
* imports
* correct models
* update model imports
* update models
* update type
* update docuemnt models
* use DocumentModel
* DocumentModel
* import lit/decorators.js
* lint fixes
* remove console.logs
* new up router slot
* set hasChildren to false
* fix hos argument + add todo to revisit this code
* add todo
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>