Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[no-issue] upgrade to version 1018 of WebSDK #149

Merged
merged 9 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM nodered/node-red:3.0.2-14-minimal
RUN cd /data && npm install @c8y/client@1016.0.214 && npm install node-red-dashboard@3.3.1
FROM nodered/node-red:3.1.0-18-minimal
RUN cd /data && npm install @c8y/client@1018.0.143 && npm install node-red-dashboard@3.6.0
COPY ./data /data
USER root
# compile typescript to javascript and afterwards remove node_modules to reduce container size
Expand All @@ -8,5 +8,9 @@ RUN cd /data/node-red-c8y-storage-plugin && npm install && npm run build && npx
RUN cd /data && npm init -y
RUN cd /data && npm install ./node-red-contrib-c8y-client
RUN cd /data && npm install ./node-red-c8y-storage-plugin

# https://github.com/npm/cli/issues/4095
RUN chown -R root:root /usr/src/node-red

EXPOSE 80/tcp
ENTRYPOINT ["npm", "start", "--cache", "/data/.npm", "--", "--userDir", "/data"]
4 changes: 2 additions & 2 deletions backend/cumulocity.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"apiVersion": "v1",
"version": "2.0.4",
"apiVersion": "v2",
"version": "2.1.0",
"name": "node-red",
"provider": {
"name": "Tristan Bastian",
Expand Down
2 changes: 1 addition & 1 deletion backend/data/node-red-c8y-storage-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "Tristan Bastian",
"license": "Apache-2.0",
"dependencies": {
"@c8y/client": "^1016.0.214",
"@c8y/client": "^1018.0.143",
"when": "^3.7.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion backend/data/node-red-contrib-c8y-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"dependencies": {
"@c8y/client": "^1016.0.214"
"@c8y/client": "^1018.0.143"
},
"author": "Tristan Bastian",
"license": "Apache-2.0"
Expand Down
Loading