@fdm-monster/server 1.5.0 → 1.5.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/README.md +2 -1
- package/package.json +33 -33
- package/src/index.ts +0 -19
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ Please join the discord, but stay professional and proactive!
|
|
|
61
61
|
These are the people involved in the project. Find the meaning of the emoji keys [here](https://allcontributors.org/docs/en/emoji-key).
|
|
62
62
|
|
|
63
63
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
64
|
-
[](#contributors-)
|
|
65
65
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
66
66
|
|
|
67
67
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
@@ -81,6 +81,7 @@ These are the people involved in the project. Find the meaning of the emoji keys
|
|
|
81
81
|
<tr>
|
|
82
82
|
<td align="center" valign="top" width="14.28%"><a href="http://www.tophattwaffle.com"><img src="https://avatars.githubusercontent.com/u/6774125?v=4?s=80" width="80px;" alt="tophattwaffle"/><br /><sub><b>tophattwaffle</b></sub></a><br /><a href="https://github.com/fdm-monster/fdm-monster/issues?q=author%3Atophattwaffle" title="Bug reports">🐛</a> <a href="#ideas-tophattwaffle" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
83
83
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rmhenn"><img src="https://avatars.githubusercontent.com/u/22482801?v=4?s=80" width="80px;" alt="rmhenn"/><br /><sub><b>rmhenn</b></sub></a><br /><a href="#ideas-rmhenn" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/fdm-monster/fdm-monster/issues?q=author%3Armhenn" title="Bug reports">🐛</a></td>
|
|
84
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/cyrixdx4"><img src="https://avatars.githubusercontent.com/u/62126724?v=4?s=80" width="80px;" alt="cyrixdx4"/><br /><sub><b>cyrixdx4</b></sub></a><br /><a href="https://github.com/fdm-monster/fdm-monster/issues?q=author%3Acyrixdx4" title="Bug reports">🐛</a></td>
|
|
84
85
|
</tr>
|
|
85
86
|
</tbody>
|
|
86
87
|
</table>
|
package/package.json
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"author": "David Zwart",
|
|
8
8
|
"license": "AGPL-3.0-or-later",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "1.5.
|
|
10
|
+
"version": "1.5.1",
|
|
11
11
|
"description": "FDM Monster is a bulk OctoPrint manager to set up, configure and monitor 3D printers. Our aim is to provide extremely optimized websocket performance and reliability.",
|
|
12
|
-
"main": "
|
|
12
|
+
"main": "dist/index.js",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"dev": "concurrently \"yarn build:watch\" \"yarn watch-dev\"",
|
|
15
15
|
"watch-dev": "cross-env NODE_ENV=development nodemon --watch \"dist/**/*\" -e js ./dist/index.js",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"vue"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@fdm-monster/client": "1.4.
|
|
42
|
+
"@fdm-monster/client": "1.4.1",
|
|
43
43
|
"@influxdata/influxdb-client": "1.33.2",
|
|
44
|
-
"@sentry/node": "7.
|
|
44
|
+
"@sentry/node": "7.77.0",
|
|
45
45
|
"adm-zip": "0.5.10",
|
|
46
46
|
"awilix": "9.0.0",
|
|
47
47
|
"awilix-express": "8.0.0",
|
|
48
|
-
"axios": "1.
|
|
48
|
+
"axios": "1.6.0",
|
|
49
49
|
"bcryptjs": "2.4.3",
|
|
50
50
|
"cache-manager": "4.1.0",
|
|
51
51
|
"class-validator": "0.14.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"lodash": "4.17.21",
|
|
66
66
|
"luxon": "3.4.3",
|
|
67
67
|
"migrate-mongo": "11.0.0",
|
|
68
|
-
"mongoose": "6.12.
|
|
69
|
-
"mqtt": "5.1.
|
|
68
|
+
"mongoose": "6.12.2",
|
|
69
|
+
"mqtt": "5.1.4",
|
|
70
70
|
"multer": "1.4.5-lts.1",
|
|
71
71
|
"node-input-validator": "4.5.1",
|
|
72
72
|
"nodemon": "3.0.1",
|
|
@@ -87,43 +87,43 @@
|
|
|
87
87
|
"@lcov-viewer/cli": "1.3.0",
|
|
88
88
|
"@lcov-viewer/istanbul-report": "1.4.0",
|
|
89
89
|
"@swc/cli": "0.1.62",
|
|
90
|
-
"@swc/core": "1.3.
|
|
90
|
+
"@swc/core": "1.3.95",
|
|
91
91
|
"@swc/jest": "0.2.29",
|
|
92
|
-
"@types/adm-zip": "0.5.
|
|
93
|
-
"@types/bcryptjs": "2.4.
|
|
94
|
-
"@types/cache-manager": "4.0.
|
|
95
|
-
"@types/connect-history-api-fallback": "1.5.
|
|
96
|
-
"@types/cookie-parser": "1.4.
|
|
97
|
-
"@types/express": "4.17.
|
|
98
|
-
"@types/express-session": "1.17.
|
|
99
|
-
"@types/ip": "1.1.
|
|
100
|
-
"@types/jest": "29.5.
|
|
101
|
-
"@types/js-yaml": "4.0.
|
|
102
|
-
"@types/lodash": "4.14.
|
|
103
|
-
"@types/luxon": "3.3.
|
|
104
|
-
"@types/migrate-mongo": "10.0.
|
|
105
|
-
"@types/multer": "1.4.
|
|
106
|
-
"@types/node": "20.8.
|
|
107
|
-
"@types/passport-anonymous": "1.0.
|
|
108
|
-
"@types/passport-jwt": "3.0.
|
|
109
|
-
"@types/semver": "7.5.
|
|
110
|
-
"@types/supertest": "2.0.
|
|
111
|
-
"@types/uuid": "9.0.
|
|
92
|
+
"@types/adm-zip": "0.5.3",
|
|
93
|
+
"@types/bcryptjs": "2.4.5",
|
|
94
|
+
"@types/cache-manager": "4.0.4",
|
|
95
|
+
"@types/connect-history-api-fallback": "1.5.2",
|
|
96
|
+
"@types/cookie-parser": "1.4.5",
|
|
97
|
+
"@types/express": "4.17.20",
|
|
98
|
+
"@types/express-session": "1.17.9",
|
|
99
|
+
"@types/ip": "1.1.2",
|
|
100
|
+
"@types/jest": "29.5.7",
|
|
101
|
+
"@types/js-yaml": "4.0.8",
|
|
102
|
+
"@types/lodash": "4.14.200",
|
|
103
|
+
"@types/luxon": "3.3.3",
|
|
104
|
+
"@types/migrate-mongo": "10.0.3",
|
|
105
|
+
"@types/multer": "1.4.9",
|
|
106
|
+
"@types/node": "20.8.10",
|
|
107
|
+
"@types/passport-anonymous": "1.0.4",
|
|
108
|
+
"@types/passport-jwt": "3.0.12",
|
|
109
|
+
"@types/semver": "7.5.4",
|
|
110
|
+
"@types/supertest": "2.0.15",
|
|
111
|
+
"@types/uuid": "9.0.6",
|
|
112
112
|
"chokidar": "3.5.3",
|
|
113
|
-
"concurrently": "8.2.
|
|
114
|
-
"eslint": "8.
|
|
113
|
+
"concurrently": "8.2.2",
|
|
114
|
+
"eslint": "8.53.0",
|
|
115
115
|
"eslint-config-airbnb-base": "15.0.0",
|
|
116
116
|
"eslint-config-prettier": "9.0.0",
|
|
117
117
|
"eslint-config-standard": "17.1.0",
|
|
118
|
-
"eslint-plugin-import": "2.
|
|
118
|
+
"eslint-plugin-import": "2.29.0",
|
|
119
119
|
"eslint-plugin-node": "11.1.0",
|
|
120
120
|
"eslint-plugin-prettier": "4.2.1",
|
|
121
121
|
"eslint-plugin-promise": "6.1.1",
|
|
122
|
-
"express-list-routes": "1.1.
|
|
122
|
+
"express-list-routes": "1.1.9",
|
|
123
123
|
"jest": "29.7.0",
|
|
124
124
|
"jest-27-expect-message": "1.1.0",
|
|
125
125
|
"mongodb-memory-server": "9.0.1",
|
|
126
|
-
"nock": "13.3.
|
|
126
|
+
"nock": "13.3.8",
|
|
127
127
|
"prettier": "2.8.8",
|
|
128
128
|
"supertest": "6.3.3",
|
|
129
129
|
"ts-node": "10.9.1",
|
package/src/index.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { captureException, flush } from "@sentry/node";
|
|
2
|
-
import { setupEnvConfig } from "./server.env";
|
|
3
|
-
import { setupServer } from "./server.core";
|
|
4
|
-
import { DITokens } from "./container.tokens";
|
|
5
|
-
|
|
6
|
-
setupEnvConfig();
|
|
7
|
-
|
|
8
|
-
setupServer().then(({ httpServer, container }) => {
|
|
9
|
-
container
|
|
10
|
-
.resolve(DITokens.serverHost)
|
|
11
|
-
.boot(httpServer)
|
|
12
|
-
.catch(async (e: any | Error) => {
|
|
13
|
-
console.error("Server has crashed unintentionally - please report this", e);
|
|
14
|
-
|
|
15
|
-
captureException(e);
|
|
16
|
-
await flush(0);
|
|
17
|
-
process.exit(1);
|
|
18
|
-
});
|
|
19
|
-
});
|