Commit Graph

25 Commits

Author SHA1 Message Date
Jacob Overgaard
63ff9e9e32 V16: Build Backoffice externals with Vite (#19716)
* chore: revamps openid package to organise files in a 'src' folder

* feat: adds all externals as npm workspaces with a vite build

* feat: copies the correct uui assets

* feat: copies the backoffice static assets

* feat: creates the correct module for openid

* feat: copies the correct monaco-editor assets

* feat: moves monaco-editor into its package

* feat: moves dependencies to relevant external modules

* feat: gets rid of rollup

* build: uses tiny-glob instead of glob (one less dependency)

* feat: copies all css assets to dist-cms/css first, minifies them, then copies everything over to StaticAssets

* build: removes old static assets from vite static build
2025-07-14 11:47:00 +01:00
Jacob Overgaard
7d7db6bb2b V16: Vite development optimizations (#18915)
* feat: resolve TODO by removing quiet option

* feat: exclude ./src/mocks from production build

* feat: load only msw when running through vite

* feat: optimise load order

* feat: handles mocked logos with virtual path

* feat: loads mocked service worker from virtual path

* feat: loads assets from virtual path

* feat: forces MSW=on for the static build

* build: adds storybook workflow copied over from the old backoffice repository

* build: limits where the build runs

* build: adds workflow to build a static version of the backoffice upon request

* build: excludes the `/umbraco/backoffice/assets` folder from navigation fallback just in case

* build: triggers run when the workflow file itself changes

* build: triggers run when package.json changes

* build: marks the 'contrib' branch as production

* build: activates static builds on preview/* labels

* build: bumps github checkout version

* build: updates key for backoffice web app

* build: updates key for storybook

* build: disables build for release branches to preseve on preview environments
2025-04-03 15:15:04 +01:00
Lee Kelleher
7e46a1c148 V16: Removes TinyMCE (client-side) (#18889)
* Removed TinyMCE client-side code

* Replaces "MaxImageSizeConfiguration" with "Integer" property-editor

* Adds "Dimensions" property-editor

Promoted from TinyMCE package code.

* Updated Tiptap property-editor label

to remove the "[Tiptap]" suffix.

* Corrected Tiptap config localization keys

* Removed TinyMCE acceptance test

* Reverted Tiptap property-editor label

to add the "[Tiptap]" suffix back in.

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2025-04-01 17:00:27 +02:00
Lan Nguyen Thuy
1d48261b7b fix bug rte code editor modal pretty print not working 2025-03-11 13:39:55 +07:00
Jacob Overgaard
5856fd9612 V15: npm updates 2024-11-15 (#17545)
* build(deps): bump storybook from 8.3.5 to 8.4.4

* reenable public folder (with msw file) for storybook

* build(deps-dev): bump vite from 5.4.6 to 5.4.11

* build(deps-dev): bump babel and rollup

* build(deps-dev): bump typedoc from 0.26.5 to 0.26.11

* build(deps-dev): bump @hey-api/openapi-ts from 0.52.11 to 0.55.3

regenerated all models and migrated the config

* build(deps-dev): bump eslint from 9.7.0 to 9.14.0 including related deps

* build(deps-dev): bump all @types packages

* build(deps-dev): bump lucide to 0.459.0 and simple-icons to 13.16.0

regenerate icons:

- renamed `box-select` to `square-dashed`

* build(deps): bump marked from 14.1.0 to 15.0.0

* build(deps): bump monaco-editor from 0.50.0 to 0.52.0

* build(deps): bump dumpurify from 3.1.6 to 3.2.0

* build(deps): make changes based on the dompurify upgrade where types are now an inherent part of the package

* build(deps): bump diff from 5.2.0 to 7.0.0

* build(deps): bump element-internals-polyfill from 1.3.11 to 1.3.12

* build(deps): bump lit from 3.2.0 to 3.2.1

* build(deps-dev): bump globals from 15.8.0 to 15.12.0 (eslint dependency)

* build(deps-dev): bump storybook dependencies

* build(deps-dev): bump @web/dev-server deps

* build(deps-dev): bump typescript from 5.5.3 to 5.6.3

* build(deps): bump uuid from 10.0.0 to 11.0.3 thereby eliminating the @types/uuid module

* build(deps): bump tinymce-i18n from 24.7.15 to 24.11.11

* build(deps): bump all deps to latest and use backoffice global types for extension manifests

* chore: change import path

* build(deps-dev): bump rollup/plugin-commonjs to 26.0.3 for compatibility reasons

* feat: replace outdated 'webworker-loader' with manual paths to monaco's web workers since they are esmodules anyway

* build(deps-dev): bump storybook from 8.4.4 to 8.4.5

* build(deps): bump tiptap from 2.9.1 to 2.10.2

* build(deps): bump dompurify from 3.2.0 to 3.2.1

* build(deps): bump tinymce-i18n from 24.11.11 to 24.11.25

* build(deps): bump static icons

* build(deps): bump marked from 15.0.0 to 15.0.2

* build(deps-dev): bump eslint + deps

* build(deps-dev): bump vite + rollup dependencies

* build(deps-dev): bump @playwright/test from 1.48.2 to 1.49.0

* build(deps-dev): bump @hey-api/openapi-ts from 0.55.3 to 0.57.1

generated new services

* build(deps-dev): bump @types/mocha

* build(deps): bump typescript from 5.6.3 to 5.7.2
2024-11-25 16:47:13 +00:00
Jacob Overgaard
28b8729ccc serve all images through vite 2024-04-08 10:10:09 +02:00
Jacob Overgaard
e0a609fcbe update vite 2024-02-14 12:50:08 +01:00
Niels Lyngsø
d21564482a viteStaticCopy 2023-12-01 12:53:04 +01:00
Jacob Overgaard
af737300e0 load msw from local to avoid storybook failures 2023-11-03 09:35:55 +01:00
Niels Lyngsø
6587865f31 custom bundle package 2023-08-28 20:02:07 +02:00
Jacob Overgaard
12230b8d85 copy tinymce langs in dev server 2023-06-23 08:46:02 +02:00
Jacob Overgaard
405e758bb8 use vite static assets to handle tiny on the dev server and copy tinymce to the right folder on cms build 2023-06-22 15:46:32 +02:00
Mads Rasmussen
37dbaf62d5 add correct path to vite copy 2023-05-24 22:00:19 +02:00
Mads Rasmussen
e7bf4dc340 copy assets 2023-05-24 21:27:30 +02:00
Mads Rasmussen
1a6758b368 update copy path for icons in Vite 2023-05-24 19:17:36 +02:00
Mads Rasmussen
fb23ff05ca copy static App_Plugin files to public folder to trick Vite 2023-04-20 17:26:39 +02:00
Jacob Overgaard
a35d4d19f3 update vite configs to copy JSON schema to executable 2023-03-06 15:53:26 +01:00
Mads Rasmussen
ae46d45064 move demo manifests to public assets 2022-10-18 14:47:10 +02:00
Mads Rasmussen
68c94b7abd add import aliases 2022-10-17 11:15:26 +02:00
Mads Rasmussen
bf63dc9699 update vite icon copy src 2022-09-27 14:43:53 +02:00
Mads Rasmussen
a960bd5ee2 add backoffice icons and generate js files from svgs. 2022-09-20 14:47:05 +02:00
Jacob Overgaard
fef8e2c3b1 add source maps to build output 2022-05-23 15:18:39 +02:00
JesmoDev
d74d1c9f03 ESLint and prettier 2022-05-17 11:10:20 +02:00
JesmoDev
5f25328b4e build 2022-05-17 09:47:24 +02:00
JesmoDev
57618cfb7e moved files 2022-05-17 09:29:31 +02:00