@budibase/server 2.9.30-alpha.8 → 2.9.30-alpha.9
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/dist/index.js.map +2 -2
- package/dist/index.js.meta.json +1 -1
- package/package.json +8 -8
- package/src/app.ts +2 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/server",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "2.9.30-alpha.
|
|
4
|
+
"version": "2.9.30-alpha.9",
|
|
5
5
|
"description": "Budibase Web Server",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"license": "GPL-3.0",
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@apidevtools/swagger-parser": "10.0.3",
|
|
49
|
-
"@budibase/backend-core": "2.9.30-alpha.
|
|
50
|
-
"@budibase/client": "2.9.30-alpha.
|
|
51
|
-
"@budibase/pro": "2.9.30-alpha.
|
|
52
|
-
"@budibase/shared-core": "2.9.30-alpha.
|
|
53
|
-
"@budibase/string-templates": "2.9.30-alpha.
|
|
54
|
-
"@budibase/types": "2.9.30-alpha.
|
|
49
|
+
"@budibase/backend-core": "2.9.30-alpha.9",
|
|
50
|
+
"@budibase/client": "2.9.30-alpha.9",
|
|
51
|
+
"@budibase/pro": "2.9.30-alpha.9",
|
|
52
|
+
"@budibase/shared-core": "2.9.30-alpha.9",
|
|
53
|
+
"@budibase/string-templates": "2.9.30-alpha.9",
|
|
54
|
+
"@budibase/types": "2.9.30-alpha.9",
|
|
55
55
|
"@bull-board/api": "3.7.0",
|
|
56
56
|
"@bull-board/koa": "3.9.4",
|
|
57
57
|
"@elastic/elasticsearch": "7.10.0",
|
|
@@ -195,5 +195,5 @@
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
},
|
|
198
|
-
"gitHead": "
|
|
198
|
+
"gitHead": "be503618ff210b1d359a7e2a691dd6ba5e153c58"
|
|
199
199
|
}
|
package/src/app.ts
CHANGED
|
@@ -20,11 +20,13 @@ import { startup } from "./startup"
|
|
|
20
20
|
let app: Koa, server: Server
|
|
21
21
|
|
|
22
22
|
async function start() {
|
|
23
|
+
// if API disabled, could run automations instead
|
|
23
24
|
if (apiEnabled()) {
|
|
24
25
|
const koa = createKoaApp()
|
|
25
26
|
app = koa.app
|
|
26
27
|
server = koa.server
|
|
27
28
|
}
|
|
29
|
+
// startup includes automation runner - if enabled
|
|
28
30
|
await startup(app, server)
|
|
29
31
|
if (env.isProd()) {
|
|
30
32
|
env._set("NODE_ENV", "production")
|