@budibase/worker 2.6.19-alpha.16 → 2.6.19-alpha.18

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/.dockerignore CHANGED
@@ -1,3 +1,4 @@
1
1
  *
2
2
  !/dist/
3
- !/docker_run.sh
3
+ !/docker_run.sh
4
+ !/package.json
package/Dockerfile CHANGED
@@ -12,7 +12,7 @@ RUN apk add --no-cache --virtual .gyp python3 make g++
12
12
  RUN yarn global add pm2
13
13
 
14
14
 
15
- COPY dist/package.json .
15
+ COPY package.json .
16
16
  RUN yarn install --frozen-lockfile --production=true
17
17
  # Remove unneeded data from file system to reduce image size
18
18
  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.6.19-alpha.16",
4
+ "version": "2.6.19-alpha.18",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -13,7 +13,8 @@
13
13
  ],
14
14
  "scripts": {
15
15
  "prebuild": "rimraf dist/",
16
- "build": "cd ../.. && nx build @budibase/worker",
16
+ "build": "node ../../scripts/build.js",
17
+ "check:types": "tsc -p tsconfig.build.json --noEmit",
17
18
  "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
18
19
  "run:docker": "node dist/index.js",
19
20
  "debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js",
@@ -37,10 +38,10 @@
37
38
  "author": "Budibase",
38
39
  "license": "GPL-3.0",
39
40
  "dependencies": {
40
- "@budibase/backend-core": "2.6.19-alpha.16",
41
- "@budibase/pro": "2.6.19-alpha.16",
42
- "@budibase/string-templates": "2.6.19-alpha.16",
43
- "@budibase/types": "2.6.19-alpha.16",
41
+ "@budibase/backend-core": "2.6.19-alpha.18",
42
+ "@budibase/pro": "2.6.19-alpha.18",
43
+ "@budibase/string-templates": "2.6.19-alpha.18",
44
+ "@budibase/types": "2.6.19-alpha.18",
44
45
  "@koa/router": "8.0.8",
45
46
  "@sentry/node": "6.17.7",
46
47
  "@techpass/passport-openidconnect": "0.3.2",
@@ -102,5 +103,5 @@
102
103
  "typescript": "4.7.3",
103
104
  "update-dotenv": "1.1.1"
104
105
  },
105
- "gitHead": "baf630481417d5d67531fc1ce2e37e5f71f4a490"
106
+ "gitHead": "7eb8e132099f0c4f480fbe20fb7a3e729f40e7d6"
106
107
  }
package/project.json DELETED
@@ -1,48 +0,0 @@
1
- {
2
- "name": "@budibase/worker",
3
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
4
- "targets": {
5
- "build": {
6
- "executor": "@nx/esbuild:esbuild",
7
- "outputs": ["{options.outputPath}"],
8
- "options": {
9
- "main": "packages/worker/src/index.ts",
10
- "outputPath": "packages/worker/dist",
11
- "outputFileName": "index.js",
12
- "tsConfig": "packages/worker/tsconfig.build.json",
13
- "assets": [
14
- {
15
- "glob": "**/*.hbs",
16
- "input": "packages/worker/src/constants/templates",
17
- "output": "."
18
- }
19
- ],
20
- "external": ["graphql/*", "deasync", "mock-aws-s3", "nock"],
21
- "format": ["cjs"],
22
- "esbuildOptions": {
23
- "outExtension": {
24
- ".js": ".js"
25
- },
26
- "sourcemap": true
27
- },
28
- "minify": true,
29
- "generatePackageJson": true,
30
- "skipTypeCheck": true
31
- },
32
- "configurations": {
33
- "production": {
34
- "skipTypeCheck": false,
35
- "esbuildOptions": {
36
- "sourcemap": false
37
- }
38
- }
39
- },
40
- "dependsOn": [
41
- {
42
- "projects": ["@budibase/types", "@budibase/string-templates"],
43
- "target": "build"
44
- }
45
- ]
46
- }
47
- }
48
- }