@budibase/worker 2.7.1-alpha.1 → 2.7.3

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 CHANGED
@@ -13,6 +13,7 @@ RUN yarn global add pm2
13
13
 
14
14
 
15
15
  COPY package.json .
16
+ COPY dist/yarn.lock .
16
17
  RUN yarn install --frozen-lockfile --production=true
17
18
  # Remove unneeded data from file system to reduce image size
18
19
  RUN apk del .gyp \
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/worker",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.7.1-alpha.1",
4
+ "version": "2.7.3",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -19,7 +19,7 @@
19
19
  "run:docker": "node dist/index.js",
20
20
  "debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js",
21
21
  "run:docker:cluster": "pm2-runtime start pm2.config.js",
22
- "predocker": "yarn build --configuration=production",
22
+ "predocker": "yarn build && cp ../../yarn.lock ./dist/",
23
23
  "build:docker": "yarn predocker && docker build . -t worker-service --label version=$BUDIBASE_RELEASE_VERSION",
24
24
  "dev:stack:init": "node ./scripts/dev/manage.js init",
25
25
  "dev:builder": "npm run dev:stack:init && rimraf dist/ && nodemon",
@@ -38,10 +38,10 @@
38
38
  "author": "Budibase",
39
39
  "license": "GPL-3.0",
40
40
  "dependencies": {
41
- "@budibase/backend-core": "2.7.1-alpha.1",
42
- "@budibase/pro": "2.7.1-alpha.1",
43
- "@budibase/string-templates": "2.7.1-alpha.1",
44
- "@budibase/types": "2.7.1-alpha.1",
41
+ "@budibase/backend-core": "2.7.3",
42
+ "@budibase/pro": "2.7.3",
43
+ "@budibase/string-templates": "2.7.3",
44
+ "@budibase/types": "2.7.3",
45
45
  "@koa/router": "8.0.8",
46
46
  "@sentry/node": "6.17.7",
47
47
  "@techpass/passport-openidconnect": "0.3.2",
@@ -103,5 +103,5 @@
103
103
  "typescript": "4.7.3",
104
104
  "update-dotenv": "1.1.1"
105
105
  },
106
- "gitHead": "9410112e6c12dafbf117bcf01d2a42189525bee1"
106
+ "gitHead": "50aea18058ceb6fffc0de08f36b6c814bba2dbd2"
107
107
  }
@@ -140,6 +140,7 @@ export const datasourcePreAuth = async (ctx: any, next: any) => {
140
140
  {
141
141
  provider,
142
142
  appId: ctx.query.appId,
143
+ datasourceId: ctx.query.datasourceId,
143
144
  },
144
145
  Cookie.DatasourceAuth
145
146
  )