Commit Graph

55 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
Niels Lyngsø
d195ccedd2 make property editor interface 2023-03-13 13:01:15 +01:00
Jacob Overgaard
86b6725aa4 Merge remote-tracking branch 'origin/main' into feature/slimmer-libs 2023-03-13 10:20:17 +01:00
Mads Rasmussen
e52dafc86f manual merges 2023-03-09 13:57:04 +01:00
Mads Rasmussen
6b2b106b8d add missing alias to test runner 2023-03-09 11:55:32 +01:00
Jacob Overgaard
0ffc7d4b20 move router library into src/core to avoid exposing it to the public 2023-03-07 15:57:12 +01:00
Mads Rasmussen
0ba19a77d4 add import alias 2023-02-28 14:08:43 +01:00
Mads Rasmussen
c0d4ab70f5 add import alias 2023-02-28 14:08:43 +01:00
Mads Rasmussen
71783603b6 Feature: Events lib (#539)
* move events folder to libs

* set up aliases for events
2023-02-22 10:25:03 +01:00
Mads Rasmussen
25bd735849 Merge branch 'main' into feature/entity-actions 2023-02-10 11:58:55 +01:00
Jacob Overgaard
8cada585ff add logic to handle image imports in web-test-runner 2023-02-10 11:16:55 +01:00
Niels Lyngsø
8012e02c2d further implementation 2023-02-02 13:20:28 +01:00
Mads Rasmussen
37221b937d move router to libs 2023-02-01 15:11:52 +01:00
Jacob Overgaard
7cb874b323 only test firefox and webkit 2023-01-31 11:01:10 +01:00
Jacob Overgaard
cc01bb37cc update path of custom-properties.css as loaded for the test runner 2023-01-25 10:19:55 +01:00
Jacob Overgaard
bf1c7f60b8 move src/core/css to libs/css and add alias to tsconfig 2023-01-25 10:09:26 +01:00
Jacob Overgaard
79e99b8185 move utils and test-utils to libs 2023-01-24 10:31:53 +01:00
Jacob Overgaard
633facf982 update paths of WTR 2023-01-24 08:41:09 +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
bc02acdeb9 move store to libs 2023-01-23 15:22:36 +01:00
Jacob Overgaard
107339e2a4 move notification to libs 2023-01-23 15:12:48 +01:00
Jacob Overgaard
c75f8561ea move element to libs 2023-01-23 15:05:41 +01:00
Jacob Overgaard
1b3a81ef8c update references 2023-01-23 15:01:47 +01:00
Jacob Overgaard
45252017f1 move extensions-api to libs 2023-01-23 14:56:21 +01:00
Jacob Overgaard
7a219dda29 move extensions-registry to libs 2023-01-23 14:51:39 +01:00
Jacob Overgaard
c2597e56a4 move observable-api to libs 2023-01-23 14:34:37 +01:00
Jacob Overgaard
b602a11328 update wtr config 2023-01-20 13:29:26 +01:00
Jacob Overgaard
0bb1d61e1a scan libs folder for tests 2023-01-20 13:19:15 +01:00
Jacob Overgaard
316bfcb83e move backend-api to its own lib folder 2023-01-20 11:35:23 +01:00
Jacob Overgaard
8de68c2d48 ensure web-test-runner importmaps and tsconfig.json have the same paths 2023-01-18 11:20:20 +01:00
Jacob Overgaard
e78ccfb523 import uui-css directly in app.ts, preview.js and web-test-runner.mjs to avoid 404 on the web-test-runner 2023-01-18 11:19:51 +01:00
Jacob Overgaard
5a50a70287 remove css import since it pollutes the test output and doesn't work at the moment 2023-01-18 09:13:39 +01:00
Mads Rasmussen
bc618cbc5d Merge branch 'main' into feature/property-editor-content-picker 2023-01-16 12:16:01 +01:00
Niels Lyngsø
2958d4dd71 change imports 2023-01-13 12:47:54 +01:00
Niels Lyngsø
0d12724736 remove timeout and src import 2023-01-13 09:45:44 +01:00
Niels Lyngsø
9cc6160fca set longer timeout 2023-01-13 09:42:47 +01:00
Niels Lyngsø
febf72c76c add 'src/': './src/' 2023-01-12 15:06:57 +01:00
Niels Lyngsø
e4df6333a4 remove services and add src/ 2023-01-12 12:50:37 +01:00
Jacob Overgaard
bcae104540 add missing importmap 2023-01-04 11:03:21 +01:00
Jacob Overgaard
9c5b5368ce add shortcut to import UmbLitElement 2023-01-03 15:51:54 +01:00
Niels Lyngsø
8cb8af976c move resource controller into resource folder 2023-01-02 11:52:22 +01:00
Jacob Overgaard
40837918ec Merge remote-tracking branch 'origin/main' into feature/resource-api-mixin 2022-12-20 14:22:59 +01:00
Jacob Overgaard
cba88a29d4 resolve json files as modules 2022-12-20 10:49:44 +01:00
Jacob Overgaard
77cd8633c1 add path for @umbraco-cms/controllers 2022-12-20 07:44:30 +01:00
Jacob Overgaard
6fef04e2d5 add import paths 2022-12-15 14:32:19 +01:00
Jesper Møller Jensen
f0b3a5a89a add extensions registry to test import maps 2022-11-17 16:48:07 +01:00
Mads Rasmussen
d6c9a050f3 set up import maps aliases in tests 2022-10-18 14:03:42 +02:00
Jacob Overgaard
ecbb5891f1 add uui-css through the custom properties file to be able to override properties (the file name could probably be improved) 2022-08-10 12:07:36 +02:00
Jacob Overgaard
3fd5899ab0 add css to test environment 2022-08-10 12:03:01 +02:00