Commit Graph

18 Commits

Author SHA1 Message Date
Mads Rasmussen
dd12802257 add dist cms to gitignore 2023-05-17 16:14:06 +02:00
Warren Buckley
0660e4031d Use wca to generate the JSON format for VSCode for HTMLCustomData (#619)
* Use web-component-analyzer to generate the JSON format for VSCode for HTMLCustomData

https://github.com/microsoft/vscode-custom-data
https://github.com/runem/web-component-analyzer#vscode

* Adds in the suggested path 'src/**/*.element.ts'

* Runs npm run script for webcomponent analayzer tool

Note its before npm run build:libs as this run runs the script move-libs.js ready for packaging

* move-libs util script updated to copy over the two JSON files from wca cli tool

* Copied file from wrong location as they are being generated and put at the root of the main project

* Adds customElements prop to package.json from this spec

https://github.com/webcomponents/custom-elements-manifest#referencing-manifests-from-npm-packages
2023-03-24 12:43:52 +01: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
Jacob Overgaard
fd33687c72 update gitignore 2023-01-24 12:07:51 +01:00
Jacob Overgaard
0e9a68ea97 add packed npm modules to ignore list 2023-01-23 13:51:19 +01:00
Jesper Møller Jensen
4a78db0001 add extension recommendation and extension setup 2022-12-08 15:02:06 +01:00
Jesper Møller Jensen
7b129729be add lit snippets and allow them in gitignore 2022-12-08 13:03:51 +01:00
Mads Rasmussen
0268b7f657 add generated icons 2022-10-04 20:39:57 +02:00
Mads Rasmussen
995316986f Merge branch 'main' into feature/data-type-config 2022-10-03 10:48:20 +02:00
Mads Rasmussen
879736139c add web component analyzer and render docs for stories 2022-09-29 10:39:09 +02:00
Mads Rasmussen
1e2b3f7785 generate icons into public assets folder 2022-09-27 14:37:02 +02:00
Jacob Overgaard
634d8c1a5f Merge branch 'main' of https://github.com/umbraco/Umbraco.CMS.Backoffice into feature/e2e 2022-08-10 09:25:26 +02:00
Jacob Overgaard
684ca3c816 ignore storybook static files 2022-08-09 13:23:27 +02:00
Jacob Overgaard
891e151921 add playwright to gitignore 2022-08-04 13:20:09 +02:00
JesmoDev
5655c97f6e added packages and basic setup 2022-05-24 16:14:15 +02:00
Jacob Overgaard
84ab747b60 add 'types' to ignore 2022-05-17 13:17:40 +02:00
Jacob Overgaard
1beb814f96 ignore .eslintcache 2022-05-17 13:08:51 +02:00
JesmoDev
57618cfb7e moved files 2022-05-17 09:29:31 +02:00