@cubejs-backend/shared
Advanced tools
Comparing version 0.27.37 to 0.27.45
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.27.45](https://github.com/cube-js/cube.js/compare/v0.27.44...v0.27.45) (2021-06-30) | ||
### Features | ||
* Introduce CUBEJS_REFRESH_WORKER and CUBEJS_ROLLUP_ONLY ([68cb358](https://github.com/cube-js/cube.js/commit/68cb358d627d3ffcf5b73fecc687db66e44209db)) | ||
## [0.27.37](https://github.com/cube-js/cube.js/compare/v0.27.36...v0.27.37) (2021-06-21) | ||
@@ -8,0 +19,0 @@ |
@@ -71,2 +71,14 @@ "use strict"; | ||
.asBoolStrict(), | ||
rollupOnlyMode: () => env_var_1.get('CUBEJS_ROLLUP_ONLY') | ||
.default('false') | ||
.asBoolStrict(), | ||
refreshWorkerMode: () => { | ||
const refreshWorkerMode = env_var_1.get('CUBEJS_REFRESH_WORKER').asBool(); | ||
if (refreshWorkerMode !== undefined) { | ||
return refreshWorkerMode; | ||
} | ||
// It's true by default for development | ||
return process.env.NODE_ENV !== 'production'; | ||
}, | ||
// @deprecated Please use CUBEJS_REFRESH_WORKER | ||
refreshTimer: () => { | ||
@@ -76,5 +88,6 @@ if (process.env.CUBEJS_SCHEDULED_REFRESH_TIMER) { | ||
} | ||
// Refresh timer is true by default for development | ||
// It's true by default for development | ||
return process.env.NODE_ENV !== 'production'; | ||
}, | ||
// @deprecated Please use CUBEJS_REFRESH_WORKER | ||
scheduledRefresh: () => env_var_1.get('CUBEJS_SCHEDULED_REFRESH') | ||
@@ -81,0 +94,0 @@ .asBool(), |
{ | ||
"name": "@cubejs-backend/shared", | ||
"version": "0.27.37", | ||
"version": "0.27.45", | ||
"description": "Shared code for Cube.js backend packages", | ||
@@ -66,3 +66,3 @@ "main": "dist/src/index.js", | ||
}, | ||
"gitHead": "16bd41dc6a7e8c9564b0d2525c780ac97e6a18da" | ||
"gitHead": "ba447a830088f6f7b80399d9ee4e5b4dc642d474" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119665
1283
18