Commit Graph

9 Commits

Author SHA1 Message Date
Jacob Overgaard
c088c8ffc1 remove unused import 2023-05-26 10:22:49 +02:00
Jacob Overgaard
0e15c3f170 set default entrypoint for cms 2023-05-17 11:11:55 +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
e8fb2aa2c3 Merge remote-tracking branch 'origin/main' into manual-json-schema 2023-04-12 10:48:33 +02:00
Jacob Overgaard
f9b4f5050a do not empty outDir to prevent vite from overwriting libs 2023-03-28 15:03:48 +02: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
Jacob Overgaard
a35d4d19f3 update vite configs to copy JSON schema to executable 2023-03-06 15:53:26 +01:00
Jacob Overgaard
aeb9efea5f update vite.cms.config.ts to output files into a 'backoffice' subdir 2023-02-10 11:16:55 +01:00
Jacob Overgaard
3e61612b64 rename cms config file 2022-11-24 11:21:15 +01:00