Commit Graph

4978 Commits

Author SHA1 Message Date
Nathan Woulfe
4a4674b7f2 use public rather than public-assets 2023-03-29 15:45:11 +10:00
Nathan Woulfe
7718b07f77 ignore public assets - copied on postinstall 2023-03-29 12:56:22 +10:00
Nathan Woulfe
a0cfea8f4d improve plugin loading 2023-03-28 17:51:39 +10:00
Nathan Woulfe
b72effb6fc move global declaration to libs/utils 2023-03-28 15:53:26 +10:00
Nathan Woulfe
7472421399 Merge branch 'main' into feature/rich-text-editor 2023-03-28 15:43:52 +10:00
Nathan Woulfe
5a22318f63 null-check module 2023-03-28 14:54:32 +10:00
Nathan Woulfe
8999ba02d5 refactors plugin registration - using js path and exportName to instantiate 2023-03-28 14:52:07 +10:00
Nathan Woulfe
f4ab5e62f9 highlighting selected macro/embed 2023-03-28 12:31:46 +10:00
Jacob Overgaard
c29390d3f5 add plugin node-resolve to ensure build is not failing 2023-03-27 16:10:19 +02:00
Nathan Woulfe
a30be4cd21 fix build 2023-03-27 14:26:36 +10:00
Nathan Woulfe
5c63b54b0b integrate code editor in modal 2023-03-27 12:26:44 +10:00
Nathan Woulfe
b6c501f9a5 integrate embedded media picker 2023-03-27 12:05:46 +10:00
Nathan Woulfe
d3bdba9e2b move media-helper to utils 2023-03-27 10:57:11 +10:00
Nathan Woulfe
ccce90150a Merge branch 'main' into feature/rich-text-editor 2023-03-27 10:22:30 +10:00
Jacob Overgaard
a57cad4ad3 include any .md and .json files in backoffice package 2023-03-24 12:52:27 +01:00
Jacob Overgaard
38e64ad91e always run wca for backoffice build 2023-03-24 12:48:19 +01: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
Warren Buckley
e41712ad94 Merge pull request #615 from umbraco/feature/upload-to-gpr
add npm workflow
2023-03-23 10:49:59 +00:00
Warren Buckley
c2f6e25d72 Update libs/README.md 2023-03-23 09:46:23 +00:00
Warren Buckley
e1d41d1f58 Update libs/README.md 2023-03-23 09:45:16 +00:00
Warren Buckley
6cf65d8c4d Update libs/README.md 2023-03-23 09:41:22 +00:00
Jacob Overgaard
1591f9eef2 Merge branch 'main' into feature/upload-to-gpr 2023-03-23 10:36:36 +01:00
Jacob Overgaard
6a3a452239 Update libs/README.md
Co-authored-by: Warren Buckley <warren@umbraco.com>
2023-03-23 10:32:41 +01:00
Warren Buckley
f8e1b074dd Update libs/README.md 2023-03-23 09:19:56 +00:00
Nathan Woulfe
a89b9daa64 Merge branch 'main' into feature/rich-text-editor 2023-03-23 12:31:23 +10:00
Jacob Overgaard
4b6774b8bb Revert "bump engines.node so all actions run with the same version"
This reverts commit 2584917d47.
2023-03-22 15:56:37 +01:00
Jacob Overgaard
e71ed09b90 adjust node version 2023-03-22 15:56:07 +01:00
Jacob Overgaard
2584917d47 bump engines.node so all actions run with the same version 2023-03-22 15:53:27 +01:00
Jacob Overgaard
f062d5cabb add max_old_space_size to azure jobs 2023-03-22 15:49:41 +01:00
Nathan Woulfe
aeed4071e8 Adds modal layout for embedded media picker in RTE (#582)
* adds modal for embedded media in rte

* make it pretty

* moves modal to shared/modals
updates with token
fixes story
clean up data handling to only pass required

* lib import paths

* add default export

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 13:58:11 +01:00
Jacob Overgaard
d9d0899d52 Merge remote-tracking branch 'origin/main' into feature/upload-to-gpr 2023-03-22 11:12:54 +01:00
Jacob Overgaard
a5a80cadb7 insert condition to publish 2023-03-22 11:11:53 +01:00
Jacob Overgaard
620a9b5b03 comment 2023-03-22 11:07:56 +01:00
Jacob Overgaard
15dc08f74e set token 2023-03-22 11:01:31 +01:00
Julia Gru
ef243ef933 Feature/code editor (#607)
* create component

* import styles correctly

* import component

* show code editor element on the template workspace

* wire input event

* sync code property with editor value

* move workers to a separate file

* create class for code editor

* add very simple insert method

* focus after insert

* make scroll bar bit nicer

* add markdown example and fancier template

* make insert work with multiple cursors and selections

* now really make it works with selections and multiple cursors

* map options

* add hack to fix the jumpy cursor

* Observe themes

* add own model for range, return array of ranges from find

* add backoffice-fit dark mode

* add theme story

* add themes folder

* add new methods

insertAtPosition
getValueInRange
select

* add documentation to editor class

* add docs

* rename file

* rename donut files

* cleanup

* add some more imports

* test heap size fix

* heap error test 2

* fix imports

* node fail error test

* rename

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 10:56:28 +01:00
Jacob Overgaard
254a07e6c3 authenticate 2023-03-22 10:41:27 +01:00
Łukasz
0c2ca89962 #579 Drop lit-html as direct dependency (#609)
* Drop lit-html as direct dependency

* remove lit-html imports after merge

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 10:34:19 +01:00
Jacob Overgaard
e4e41466a0 npm token 2023-03-22 10:16:13 +01:00
Nathan Woulfe
9f36a7f43f Fixes broken workspace scroll (#616)
* float to remove from document flow

* consistent scroll behaviour in all slots
clean up redundant css

* register data type workspace action in the correct workspace

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 10:06:03 +01:00
Jacob Overgaard
c0483a47c8 remove scope option 2023-03-22 10:05:01 +01:00
Jacob Overgaard
e4d6a14c0d Merge remote-tracking branch 'origin/main' into feature/upload-to-gpr 2023-03-22 10:03:03 +01:00
Jacob Overgaard
60dbf19c9b publish v1-next 2023-03-22 10:01:44 +01:00
Jacob Overgaard
e5f21ab21c add README 2023-03-22 10:01:07 +01:00
Niels Lyngsø
a84f3568d4 Merge pull request #614 from umbraco/feature/test-extension-registry-distincts 2023-03-22 09:31:35 +01:00
Mads Rasmussen
06a8c2e0c9 Merge branch 'main' into feature/test-extension-registry-distincts 2023-03-22 09:20:54 +01:00
Jacob Overgaard
8e1c2ebaf7 Merge remote-tracking branch 'origin/main' into feature/upload-to-gpr 2023-03-22 09:01:54 +01:00
Jacob Overgaard
2db7ff555b download artifact v3 2023-03-22 08:59:24 +01:00
Jacob Overgaard
c458796f81 add concurrency rules 2023-03-22 08:58:06 +01:00
Jacob Overgaard
b0771db733 set access to public 2023-03-22 08:56:51 +01:00
Jacob Overgaard
f9cf3d4a5f rename job to publish-npm 2023-03-22 08:54:35 +01:00