@budibase/worker 3.34.4 → 3.34.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/worker",
3
3
  "email": "hi@budibase.com",
4
- "version": "3.34.4",
4
+ "version": "3.34.5",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -13,10 +13,9 @@
13
13
  ],
14
14
  "scripts": {
15
15
  "prebuild": "rimraf dist/",
16
- "build": "node ../../scripts/build.js",
16
+ "build": "node ./scripts/build.js",
17
17
  "postbuild": "copyfiles -f ../../yarn.lock ./dist/",
18
18
  "check:types": "tsc -p tsconfig.json --noEmit --paths null",
19
- "check:dependencies": "node ../../scripts/depcheck.js",
20
19
  "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
21
20
  "run:docker": "node --enable-source-maps dist/index.js",
22
21
  "debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js",
@@ -34,10 +33,8 @@
34
33
  "@budibase/shared-core": "*",
35
34
  "@budibase/string-templates": "*",
36
35
  "@budibase/types": "*",
37
- "@govtechsg/passport-openidconnect": "1.0.3",
38
36
  "@koa/router": "15.3.0",
39
37
  "@types/global-agent": "2.1.1",
40
- "aws-sdk": "2.1692.0",
41
38
  "bcrypt": "6.0.0",
42
39
  "bull": "4.10.1",
43
40
  "dd-trace": "5.63.0",
@@ -52,24 +49,16 @@
52
49
  "koa": "3.1.2",
53
50
  "koa-body": "7.0.1",
54
51
  "koa-compress": "4.0.1",
55
- "koa-passport": "4.1.4",
56
52
  "koa-redis": "^4.0.1",
57
- "koa-send": "5.0.1",
58
53
  "koa-session": "5.13.1",
59
- "koa-static": "5.0.0",
60
54
  "koa-useragent": "^4.1.0",
61
55
  "lodash": "4.17.23",
62
56
  "marked": "^15.0.11",
63
57
  "node-fetch": "2.6.7",
64
58
  "nodemailer": "7.0.11",
65
- "passport-google-oauth": "2.0.0",
66
- "passport-local": "1.0.0",
67
59
  "pouchdb": "9.0.0",
68
- "pouchdb-all-dbs": "1.1.1",
69
60
  "scim-patch": "^0.8.1",
70
61
  "scim2-parse-filter": "^0.2.8",
71
- "server-destroy": "1.0.1",
72
- "undici": "^7.16.0",
73
62
  "uuid": "^8.3.2",
74
63
  "yaml": "^2.8.2"
75
64
  },
@@ -79,7 +68,6 @@
79
68
  "@types/maildev": "^0.0.7",
80
69
  "@types/node-fetch": "2.6.4",
81
70
  "@types/nodemailer": "^6.4.17",
82
- "@types/server-destroy": "1.0.1",
83
71
  "@types/supertest": "2.0.14",
84
72
  "@types/uuid": "8.3.4",
85
73
  "cheerio": "^1.0.0",
@@ -91,5 +79,5 @@
91
79
  "supertest": "6.3.3",
92
80
  "timekeeper": "2.2.0"
93
81
  },
94
- "gitHead": "374da6efdde7455de279a8cdfda9d5662db9cb46"
82
+ "gitHead": "3cd6b13566b94f609768435eba58baec699ce040"
95
83
  }
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/node
2
+ const coreBuild = require("../../../scripts/build")
3
+
4
+ const externals = ["deasync", "graphql/*"]
5
+
6
+ coreBuild("./src/index.ts", "./dist/index.js", { external: externals })
package/src/index.ts CHANGED
@@ -1,7 +1,4 @@
1
- if (process.env.DD_APM_ENABLED) {
2
- require("./ddApm")
3
- }
4
-
1
+ import "./ddApm"
5
2
  // need to load environment first
6
3
  import {
7
4
  auth,