Commit Graph

11 Commits

Author SHA1 Message Date
Mads Rasmussen
a8a4ea6a29 append api to lib name 2023-05-16 14:16:46 +02:00
Jacob Overgaard
79ccca9051 rename package schema 2023-04-26 08:06:25 +02:00
Jacob Overgaard
f7da3fdb57 fix name of package-schema 2023-04-20 14:41:22 +02:00
Jacob Overgaard
7b47527914 only copy relevant files 2023-04-20 14:30:24 +02:00
Jacob Overgaard
58c3cf6e48 improve documentation 2023-04-20 14:24:59 +02:00
Jacob Overgaard
8cbf3e9bab move umbraco-package-schema.json directly with move-libs instead of vite 2023-04-20 14:24:52 +02:00
Jacob Overgaard
0480885de5 dump wca files directly in dist/libs 2023-04-20 14:24:22 +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
e5f21ab21c add README 2023-03-22 10:01:07 +01:00
Jacob Overgaard
c2cf7a1964 add try/catch to move-libs script 2023-03-21 11:49:47 +01:00
Jacob Overgaard
796533ff11 Refactor libs into @umbraco-cms/backoffice/* (#608)
* merge libs rollup configs to one rollup

* move css from libs to src/core

* run rollup on cms build

* move test-utils to /utils folder

* move css to src/core

* mark @umbraco-cms/backoffice as external when building for CMS

* rename all models to include @umbraco-cms/backoffice in their path to allow us to publish as a single module

* rename all imports to @umbraco-cms/backoffice/*

* rename events to umb-events to avoid rollup error of protected module name(?)

* test that libs can build

* move css to src/core

* move umb-lit-element and modal elements to src/core

* move some modal interfaces back to libs/modal

* move the icon store into src/core since it is very localized to the backoffice

* comment out build:libs for now since Github runs out of memory

* rename to match tsconfig alias

* add package.json to libs

* only make libs for lib folders

* turn off emit for typescript since we are handling types for libs separately

* build libs locally

* add script to move libs to final destination with some transform

* move libs after build

* move package.json to dist folder first (so we can publish from there)

* remove inline comments

* ensure the outputDir exists

* Remove re-export of extensions-registry library from models library

* move to individual files to avoid circular imports

* check if outputDir exists before trying to create it

* write transforms first in dist file and then copy the file to outputDir

* ensure all umbraco types are external

* copy information from main package.json file
2023-03-21 11:41:06 +01:00