Skip to content

Commit

Permalink
UI build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
richturner committed Jun 21, 2024
1 parent a07d2db commit e40b3ac
Show file tree
Hide file tree
Showing 7 changed files with 237 additions and 328 deletions.
6 changes: 3 additions & 3 deletions ui/app/custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@openremote/custom-model": "workspace:*",
"@openremote/custom-rest": "workspace:*",
"@openremote/manager": "^1.2.0-snapshot"
"@openremote/manager": "1.2.0-snapshot.20240616202404",
"model": "workspace:*",
"rest": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.16.0",
Expand Down
4 changes: 2 additions & 2 deletions ui/app/custom/src/pages/page-custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import {css, html, TemplateResult} from "lit";
import {customElement} from "lit/decorators.js";
import {AppStateKeyed, Page, PageProvider} from "@openremote/or-app";
import {EnhancedStore} from "@reduxjs/toolkit";
import {CustomData} from "@openremote/custom-model";
import rest from "@openremote/custom-rest";
import {CustomData} from "model";
import rest from "rest";

export function pageCustomProvider(store: EnhancedStore<AppStateKeyed>): PageProvider<AppStateKeyed> {
return {
Expand Down
34 changes: 0 additions & 34 deletions ui/component/model/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion ui/component/model/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openremote/custom-model",
"name": "model",
"version": "1.0.0",
"description": "Model Types",
"main": "dist/umd/index.bundle.js",
Expand Down
75 changes: 0 additions & 75 deletions ui/component/rest/README.md

This file was deleted.

4 changes: 2 additions & 2 deletions ui/component/rest/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openremote/custom-rest",
"name": "rest",
"version": "1.0.0",
"description": "REST API",
"main": "dist/umd/index.bundle.js",
Expand All @@ -22,9 +22,9 @@
"author": "OpenRemote",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@openremote/model": "^1.2.0-snapshot",
"@openremote/rest": "^1.2.0-snapshot",
"axios": "0.24.0",
"model": "workspace:*",
"qs": "^6.8.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit e40b3ac

Please sign in to comment.