@things-factory/operato-board 7.1.21 → 7.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile-arm64 +67 -0
- package/dist-client/pages/app-board-player-page.d.ts +0 -1
- package/dist-client/pages/app-board-player-page.js +1 -2
- package/dist-client/pages/app-board-player-page.js.map +1 -1
- package/dist-client/pages/app-board-viewer-page.js +0 -8
- package/dist-client/pages/app-board-viewer-page.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package copy.json +134 -0
- package/package.json +37 -36
package/Dockerfile-arm64
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Use an official ARM64 node image
|
|
2
|
+
FROM node:20.15-bullseye-slim
|
|
3
|
+
|
|
4
|
+
ARG DEBIAN_FRONTEND=noninteractive
|
|
5
|
+
|
|
6
|
+
# Install the required packages
|
|
7
|
+
RUN echo "deb http://ftp.de.debian.org/debian stable main" > /etc/apt/sources.list
|
|
8
|
+
|
|
9
|
+
RUN apt-get clean \
|
|
10
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
11
|
+
|
|
12
|
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
13
|
+
ca-certificates \
|
|
14
|
+
apt-utils \
|
|
15
|
+
chromium \
|
|
16
|
+
libcups2-dev \
|
|
17
|
+
libavahi-compat-libdnssd-dev \
|
|
18
|
+
gconf-service \
|
|
19
|
+
libasound2 \
|
|
20
|
+
libatk1.0-0 \
|
|
21
|
+
libcairo2 \
|
|
22
|
+
libcups2 \
|
|
23
|
+
libfontconfig1 \
|
|
24
|
+
libgdk-pixbuf2.0-0 \
|
|
25
|
+
libgtk-3-0 \
|
|
26
|
+
libnspr4 \
|
|
27
|
+
libpango-1.0-0 \
|
|
28
|
+
libxss1 \
|
|
29
|
+
fonts-liberation \
|
|
30
|
+
libnss3 \
|
|
31
|
+
lsb-release \
|
|
32
|
+
xdg-utils \
|
|
33
|
+
libaio1 \
|
|
34
|
+
ghostscript \
|
|
35
|
+
curl \
|
|
36
|
+
git \
|
|
37
|
+
wget \
|
|
38
|
+
unzip \
|
|
39
|
+
fonts-unfonts-core \
|
|
40
|
+
locales \
|
|
41
|
+
tzdata
|
|
42
|
+
|
|
43
|
+
# Generate the en_US.UTF-8 locale
|
|
44
|
+
RUN locale-gen en_US.UTF-8
|
|
45
|
+
|
|
46
|
+
# Set environment variables for locale and timezone
|
|
47
|
+
ENV LANG=en_US.UTF-8
|
|
48
|
+
ENV LANGUAGE=en_US:en
|
|
49
|
+
ENV LC_ALL=en_US.UTF-8
|
|
50
|
+
ENV TZ=UTC
|
|
51
|
+
|
|
52
|
+
# Set timezone to UTC (using tzdata)
|
|
53
|
+
RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo "UTC" > /etc/timezone
|
|
54
|
+
|
|
55
|
+
# Set the working directory to /app
|
|
56
|
+
WORKDIR /app
|
|
57
|
+
|
|
58
|
+
# copy application & configuration files
|
|
59
|
+
COPY . .
|
|
60
|
+
|
|
61
|
+
# run node install command
|
|
62
|
+
RUN yarn install
|
|
63
|
+
|
|
64
|
+
# Make port 3000 available to the world outside this container
|
|
65
|
+
EXPOSE 3000
|
|
66
|
+
|
|
67
|
+
CMD [ "yarn", "run", "serve" ]
|
|
@@ -4,8 +4,7 @@ import { BoardPlayerPage } from '@things-factory/board-ui/dist-client';
|
|
|
4
4
|
let AppBoardPlayerPage = class AppBoardPlayerPage extends BoardPlayerPage {
|
|
5
5
|
get context() {
|
|
6
6
|
return {
|
|
7
|
-
title: super.context.title
|
|
8
|
-
screencastable: true
|
|
7
|
+
title: super.context.title
|
|
9
8
|
};
|
|
10
9
|
}
|
|
11
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-board-player-page.js","sourceRoot":"","sources":["../../client/pages/app-board-player-page.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AAG/D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,eAAe;IACrD,IAAI,OAAO;QACT,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"app-board-player-page.js","sourceRoot":"","sources":["../../client/pages/app-board-player-page.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AAG/D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,eAAe;IACrD,IAAI,OAAO;QACT,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;SAC3B,CAAA;IACH,CAAC;CACF,CAAA;AANY,kBAAkB;IAD9B,aAAa,CAAC,uBAAuB,CAAC;GAC1B,kBAAkB,CAM9B","sourcesContent":["import { customElement } from 'lit/decorators.js'\nimport { BoardPlayerPage } from '@things-factory/board-ui/dist-client'\n\n@customElement('app-board-player-page')\nexport class AppBoardPlayerPage extends BoardPlayerPage {\n get context() {\n return {\n title: super.context.title\n }\n }\n}\n"]}
|
|
@@ -12,14 +12,6 @@ let AppBoardViewerPage = class AppBoardViewerPage extends BoardViewerPage {
|
|
|
12
12
|
// return this.getGrf()
|
|
13
13
|
// },
|
|
14
14
|
// options: {}
|
|
15
|
-
// },
|
|
16
|
-
// screencastable: true,
|
|
17
|
-
// exportable: {
|
|
18
|
-
// accept: ['json'],
|
|
19
|
-
// name: this._board && this._board.name,
|
|
20
|
-
// data: () => {
|
|
21
|
-
// return this._board.model
|
|
22
|
-
// }
|
|
23
15
|
// }
|
|
24
16
|
};
|
|
25
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-board-viewer-page.js","sourceRoot":"","sources":["../../client/pages/app-board-viewer-page.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AAG/D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,eAAe;IACrD,IAAI,OAAO;QACT,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;YAC1B,eAAe;YACf,qDAAqD;YACrD,2CAA2C;YAC3C,qBAAqB;YACrB,2BAA2B;YAC3B,OAAO;YACP,gBAAgB;YAChB,
|
|
1
|
+
{"version":3,"file":"app-board-viewer-page.js","sourceRoot":"","sources":["../../client/pages/app-board-viewer-page.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AAG/D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,eAAe;IACrD,IAAI,OAAO;QACT,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;YAC1B,eAAe;YACf,qDAAqD;YACrD,2CAA2C;YAC3C,qBAAqB;YACrB,2BAA2B;YAC3B,OAAO;YACP,gBAAgB;YAChB,IAAI;SACL,CAAA;IACH,CAAC;CACF,CAAA;AAdY,kBAAkB;IAD9B,aAAa,CAAC,uBAAuB,CAAC;GAC1B,kBAAkB,CAc9B","sourcesContent":["import { customElement } from 'lit/decorators.js'\nimport { BoardViewerPage } from '@things-factory/board-ui/dist-client'\n\n@customElement('app-board-viewer-page')\nexport class AppBoardViewerPage extends BoardViewerPage {\n get context() {\n return {\n title: super.context.title\n // printable: {\n // accept: ['label', 'usb', 'zebra-browser-print'],\n // name: this._board && this._board.name,\n // content: () => {\n // return this.getGrf()\n // },\n // options: {}\n // }\n }\n }\n}\n"]}
|