* rollup - fail when typescript has warnings or errors
Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.
* updated packages, fixed vulnerabilities
* 3.0.65
* hide avatar if no item image
* fix linting
* 3.0.66
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
* rollup - fail when typescript has warnings or errors
Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.
* rebase
* removed userType from AppShell type defnitions
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
* rollup - fail when typescript has warnings or errors
Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.
* removed unused components and exports
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
* Improve typing of itemsApi
* Show error if name of new item cannot be determined
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.
* started
* removed replaced itemType on all the places where it was used to identyfi the user profile layer
* removed unused property from NavBar
* removed unused property from AppShell
* removed userType from app state
* 3.0.60
* set version to 3.0.64 to publish package to include it in utopia-map
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
* added tags example
* changed page title
* updated github workflows to test new example
* fixed yaml syntax
* fixed yaml syntax
* fixed packagenames in package.json
* bind the local utopia-ui lib
To ensure the examples still work with the latest utopia-ui, it is now
bound to the current code and does no longer depend on publishing the
library first
* replaced number by uuid as item ids in examples
* remove link mechanic from workflow
* also build utopia-ui
* fix example2
for some reason this stopped working on maaster.
* export geojson point to remove this external dependency
By exporting this type another package is not needed. This is especially
important, since there are different Point definitions which are
partially incompatible.
---------
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
Co-authored-by: Anton Tranelis <mail@antontranelis.de>
* fix typeexport via rollup plugin by using the correct input
The rollup plugin dts requires a d.ts tree as input not the txs sources.
This change points the plugin into the right direction and removes the
type export hacks.
* corrected types path
apparently this was not properly adjusted accross the board when moving
the folder
* fix rollup config
properly export types
* use export * where needed
Since we now export types alongside with defintions we use the `export *
from` syntax to simplify things
* export types alongside with interfaces
export types so we can properly use them in external projects alongside
the exported function/module/...
* fix type-problems uncovered by utopia-map
When including types properly in the utopia-map several missing typings
showed up.
* fix typing
fix an inhereted type
* dummy restructure code
to properly be able to compile things we are not allowed to have unsed
parameters/props
* assigne types to category types
Include internal types, not exposed.
For this purpose the typedoc plugin `typedoc-plugin-missing-exports` is
utilized,
It looks like there is trouble with the type export in general.
* docs: reference the URL in the README.md
Link to the docs published on github when pushing to `main` and include
percentage badge for documentation coverage.
* corrected typo
* corrected typo
Improves typing of items
Removes getValue because it is super hard to type and was introduced for a customisation which is not used anymore. if needed, we could have a cleaner solution to offer that functionality.