@things-factory/operato-board 9.1.18 → 10.0.0-beta.1
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 +19 -22
- package/_index.html +1 -2
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-client/viewparts/menu-tools.d.ts +4 -12
- package/dist-client/viewparts/menu-tools.js +18 -22
- package/dist-client/viewparts/menu-tools.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +83 -83
- package/schema.graphql +338 -34
- package/views/auth-page.html +1 -1
- package/views/public/home.html +1 -1
package/Dockerfile
CHANGED
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v10 모노레포 Dockerfile — 로컬 빌드 아티팩트 사용
|
|
2
|
+
# 사전 조건: 로컬에서 yarn build + build:app 완료
|
|
3
|
+
# 빌드 컨텍스트: ~/Documents/GitHub/
|
|
4
|
+
# 빌드: cd ~/Documents/GitHub && docker compose build operato-board
|
|
2
5
|
FROM hatiolab/operato-env:latest
|
|
3
6
|
|
|
4
|
-
|
|
5
|
-
WORKDIR /app
|
|
7
|
+
WORKDIR /workspace
|
|
6
8
|
|
|
7
|
-
#
|
|
8
|
-
COPY . .
|
|
9
|
+
# 외부 의존 레포 복사 (로컬에서 빌드된 dist/ 포함)
|
|
10
|
+
COPY things-scene/hatiolab-things-scene-10.0.0-beta.1.tgz ./things-scene.tgz
|
|
11
|
+
COPY operato/ operato/
|
|
12
|
+
COPY operato-scene/ operato-scene/
|
|
9
13
|
|
|
10
|
-
#
|
|
11
|
-
|
|
14
|
+
# things-factory 모노레포 복사 (dist-server/, dist-client/, dist-app/ 포함)
|
|
15
|
+
COPY things-factory/package.json things-factory/yarn.lock things-factory/lerna.json things-factory/babel.config.js ./things-factory/
|
|
16
|
+
COPY things-factory/packages/ things-factory/packages/
|
|
12
17
|
|
|
13
|
-
|
|
14
|
-
RUN apt-get update && apt-get install -y locales tzdata
|
|
18
|
+
WORKDIR /workspace/things-factory
|
|
15
19
|
|
|
16
|
-
#
|
|
17
|
-
RUN
|
|
20
|
+
# Docker 환경에서는 link:../things-scene → tarball 참조로 치환
|
|
21
|
+
RUN sed -i 's|"link:../things-scene"|"file:../things-scene.tgz"|' package.json
|
|
18
22
|
|
|
19
|
-
#
|
|
20
|
-
|
|
21
|
-
ENV LANGUAGE=en_US:en
|
|
22
|
-
ENV LC_ALL=en_US.UTF-8
|
|
23
|
-
ENV TZ=UTC
|
|
23
|
+
# 런타임 의존성 설치 (네이티브 모듈은 linux용으로 빌드)
|
|
24
|
+
RUN yarn install --frozen-lockfile || yarn install
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo "UTC" > /etc/timezone
|
|
27
|
-
|
|
28
|
-
# Make port 3000 available to the world outside this container
|
|
26
|
+
WORKDIR /workspace/things-factory/packages/operato-board
|
|
29
27
|
EXPOSE 3000
|
|
30
|
-
|
|
31
|
-
CMD [ "yarn", "run", "serve" ]
|
|
28
|
+
CMD ["yarn", "run", "serve"]
|
package/_index.html
CHANGED
|
@@ -63,8 +63,7 @@
|
|
|
63
63
|
<noscript> Please enable JavaScript to view this website. </noscript>
|
|
64
64
|
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
|
|
65
65
|
<script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
|
|
66
|
-
|
|
67
|
-
<script src="/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
|
|
66
|
+
|
|
68
67
|
<!-- Built with love using PWA Starter Kit -->
|
|
69
68
|
</body>
|
|
70
69
|
</html>
|