Commit Graph

15 Commits

Author SHA1 Message Date
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
Jacob Overgaard
dd151dd2d5 add rollup exports to more libs because of references 2023-03-07 16:02:23 +01:00
Jacob Overgaard
8fd2bf910c build declarations for libraries 2023-03-07 15:31:56 +01:00
Niels Lyngsø
5df2f3a4f1 context-provider-controller prevents replacement (#519)
* context-provider-controller prevents replacement

* correct import order

* do not re-provide self providing context

* define and test controller-host-test element
2023-02-15 08:47:00 +00:00
Niels Lyngsø
2407ade7d8 correct imports 2023-01-27 10:26:20 +01:00
Jacob Overgaard
b4886f7c67 revert package setup (for now) 2023-01-24 08:38:24 +01:00
Jacob Overgaard
c0d30be4f0 Revert "integrate @umbraco-cms/element and @umbraco-cms/context-api due to circular dependencies"
This reverts commit e87439ff5f.
2023-01-24 08:30:18 +01:00
Jacob Overgaard
e87439ff5f integrate @umbraco-cms/element and @umbraco-cms/context-api due to circular dependencies 2023-01-23 16:24:42 +01:00
Jacob Overgaard
095337245e update module of package.json [skip ci] 2023-01-23 15:39:05 +01:00
Jacob Overgaard
1b3a81ef8c update references 2023-01-23 15:01:47 +01:00
Jacob Overgaard
6977854d65 revert tsc command 2023-01-23 14:56:26 +01:00
Jacob Overgaard
7ae95ff7ae switch names on packages 2023-01-23 14:53:17 +01:00
Jacob Overgaard
7a219dda29 move extensions-registry to libs 2023-01-23 14:51:39 +01:00
Jacob Overgaard
4f53ab43ea add package and rollup to libs 2023-01-23 14:36:50 +01:00
Jacob Overgaard
e53ee08093 migrate @umbraco-cms/controller to libs 2023-01-20 13:28:41 +01:00