Commit Graph

89 Commits

Author SHA1 Message Date
Jacob Overgaard
617d1f7848 add support for workflow_dispatch 2023-05-15 16:43:33 +02:00
Jacob Overgaard
47a5df12b4 dont react on all labeled actions 2023-05-15 15:57:56 +02:00
Jacob Overgaard
1c75fe24ad add support for the 'labeled' type 2023-05-15 15:55:36 +02:00
Jacob Overgaard
6ea93fd047 add required option app_location 2023-05-15 15:52:23 +02:00
Jacob Overgaard
6813fbd272 reenable storybook build for labeled pull requests 2023-05-15 15:41:54 +02: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
Jacob Overgaard
1591f9eef2 Merge branch 'main' into feature/upload-to-gpr 2023-03-23 10:36:36 +01:00
Jacob Overgaard
f062d5cabb add max_old_space_size to azure jobs 2023-03-22 15:49:41 +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
Jacob Overgaard
e4e41466a0 npm token 2023-03-22 10:16:13 +01:00
Jacob Overgaard
c0483a47c8 remove scope option 2023-03-22 10:05:01 +01:00
Jacob Overgaard
60dbf19c9b publish v1-next 2023-03-22 10:01:44 +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
Jacob Overgaard
dcfbee0388 publish to npm 2023-03-22 08:52:12 +01:00
Jacob Overgaard
1f58d4504b create .npmrc file automatically 2023-03-21 16:33:29 +01:00
Jacob Overgaard
75f9f14ea3 auth type legacy 2023-03-21 16:25:20 +01:00
Jacob Overgaard
fd0f3f0704 login and tag gpr 2023-03-21 16:18:55 +01:00
Jacob Overgaard
b48c2c3385 set global node_options 2023-03-21 16:13:07 +01:00
Jacob Overgaard
7c308fdad9 set max-old-space-size 2023-03-21 16:08:27 +01:00
Jacob Overgaard
c295874ccf remove the if condition to test publish 2023-03-21 16:06:01 +01:00
Jacob Overgaard
e7161170f5 set NODE_OPTIONS for all tasks 2023-03-21 16:05:44 +01:00
Jacob Overgaard
838a3ba877 try and set NODE_OPTIONS with more memory 2023-03-21 16:02:13 +01:00
Jacob Overgaard
df9ac3ef36 allow workflow_dispatch 2023-03-21 16:01:34 +01:00
Jacob Overgaard
b90ca28023 add gpr workflow 2023-03-21 15:57:11 +01: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
2321fdfd47 Turn off e2e (#552)
* Turn off e2e

* remove empty workflow

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-02-24 14:21:58 +01:00
Jacob Overgaard
30189bc4ff Update to Node 18 (#550)
* update to Node 18 (latest LTS) and add .nvmrc for CLI instructions

* update vite to latest minor

* update github workflows to Node 18.x

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-02-24 14:13:23 +01:00
Jacob Overgaard
09d85f5b00 Revert "test workflow"
This reverts commit 57c2549dbf.
2023-02-21 09:35:15 +01:00
Jacob Overgaard
57c2549dbf test workflow 2023-02-21 09:24:48 +01:00
Jacob Overgaard
282b03fd1e remove node-fetch install 2023-02-21 09:23:18 +01:00
Jacob Overgaard
2d669627eb fix pr workflow 2023-02-21 09:20:41 +01:00
Jacob Overgaard
be979867ce allow build_test for merge queues 2023-02-13 11:12:08 +01:00
dependabot[bot]
c1dcb1b3aa Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 09:56:02 +01:00
Jacob Overgaard
92336fbc70 only run devskim on push to main 2023-01-31 11:01:10 +01:00
Jacob Overgaard
74ed37f2e8 disable storybook and static build for PRs 2023-01-31 11:01:10 +01:00
Jacob Overgaard
14f32c61fb remove lcov reporter since it's spammy and just uploading the report instead 2023-01-31 10:05:06 +01:00
dependabot[bot]
6651c03550 Bump zgosalvez/github-actions-report-lcov from 1 to 2
Bumps [zgosalvez/github-actions-report-lcov](https://github.com/zgosalvez/github-actions-report-lcov) from 1 to 2.
- [Release notes](https://github.com/zgosalvez/github-actions-report-lcov/releases)
- [Commits](https://github.com/zgosalvez/github-actions-report-lcov/compare/v1...v2)

---
updated-dependencies:
- dependency-name: zgosalvez/github-actions-report-lcov
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 18:14:07 +00:00
Jacob Overgaard
5c72411e63 adjust devskim scanner 2022-11-28 16:03:21 +01:00
dependabot[bot]
155244afb3 Bump actions/dependency-review-action from 2 to 3
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 18:10:27 +00:00
Jacob Overgaard
9ea6fdef59 remove conditions 2022-11-09 14:14:08 +01:00
dependabot[bot]
ca8783176d Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 18:48:18 +00:00