@budibase/server 2.3.18-alpha.3 → 2.3.18-alpha.4

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/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.3.18-alpha.3",
4
+ "version": "2.3.18-alpha.4",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -14,7 +14,7 @@
14
14
  "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
15
15
  "debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",
16
16
  "postbuild": "copyfiles -u 1 src/**/*.svelte dist/ && copyfiles -u 1 src/**/*.hbs dist/ && copyfiles -u 1 src/**/*.json dist/",
17
- "test": "jest --coverage --runInBand",
17
+ "test": "bash scripts/test.sh",
18
18
  "test:watch": "jest --watch",
19
19
  "predocker": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client",
20
20
  "build:docker": "yarn run predocker && docker build . -t app-service --label version=$BUDIBASE_RELEASE_VERSION",
@@ -43,11 +43,11 @@
43
43
  "license": "GPL-3.0",
44
44
  "dependencies": {
45
45
  "@apidevtools/swagger-parser": "10.0.3",
46
- "@budibase/backend-core": "2.3.18-alpha.3",
47
- "@budibase/client": "2.3.18-alpha.3",
48
- "@budibase/pro": "2.3.18-alpha.2",
49
- "@budibase/string-templates": "2.3.18-alpha.3",
50
- "@budibase/types": "2.3.18-alpha.3",
46
+ "@budibase/backend-core": "2.3.18-alpha.4",
47
+ "@budibase/client": "2.3.18-alpha.4",
48
+ "@budibase/pro": "2.3.18-alpha.3",
49
+ "@budibase/string-templates": "2.3.18-alpha.4",
50
+ "@budibase/types": "2.3.18-alpha.4",
51
51
  "@bull-board/api": "3.7.0",
52
52
  "@bull-board/koa": "3.9.4",
53
53
  "@elastic/elasticsearch": "7.10.0",
@@ -173,5 +173,5 @@
173
173
  "optionalDependencies": {
174
174
  "oracledb": "5.3.0"
175
175
  },
176
- "gitHead": "ee49637f6ff573832f699711c4d00557a50543b1"
176
+ "gitHead": "60cc87c306dffeb7f4fc5c390a4e26e6017863fd"
177
177
  }
@@ -0,0 +1,12 @@
1
+ #!/bin/bash
2
+
3
+ if [[ -n $CI ]]
4
+ then
5
+ # --runInBand performs better in ci where resources are limited
6
+ echo "jest --coverage --runInBand"
7
+ jest --coverage --runInBand
8
+ else
9
+ # --maxWorkers performs better in development
10
+ echo "jest --coverage --maxWorkers=2"
11
+ jest --coverage --maxWorkers=2
12
+ fi