@platforma-sdk/workflow-tengo 2.15.0 → 2.15.2

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.
@@ -174,7 +174,7 @@ _loadRRunEnvironment := func(operationMode, descriptor, softName, softPkg) {
174
174
  "RENV_PATHS_SOURCE": _newArg(false, path.join(renvRootArg, "sources")),
175
175
  "RENV_PATHS_CACHE": _newArg(false, path.join(renvRootArg, "cache")),
176
176
  "RENV_PATHS_RENV": _newArg(false, path.join(_expr(_ARG_VAR_R_VENV), "renv")),
177
- "RENV_PATHS_LOCKFILE": _newArg(false, path.join(_expr(_ARG_VAR_PKG), descriptor.dependencies.lockFile))
177
+ "RENV_PATHS_LOCKFILE": _newArg(false, path.join(renvRootArg, "renv.lock"))
178
178
  }
179
179
 
180
180
  if (operationMode != "dev-local") {
@@ -241,7 +241,7 @@ makeTrace := func(input, ...steps) {
241
241
  return ll.toStrict({
242
242
  value: currentTrace,
243
243
  valueStr: currentTraceStr,
244
-
244
+
245
245
  inject: func(spec) {
246
246
  validation.assertType(spec, P_COLUMN_SPEC_SCHEMA)
247
247
  return maps.deepMerge(spec, {annotations: {"pl7.app/trace": currentTraceStr}})
@@ -15,7 +15,7 @@ waiterTpl := assets.importTemplate("@platforma-sdk/workflow-tengo:waiter.waiter"
15
15
  builder := func(pass) {
16
16
  self := undefined
17
17
 
18
-
18
+
19
19
  whatToWait := []
20
20
 
21
21
  self = ll.toStrict({
@@ -120,7 +120,7 @@ _getDirFillRule := func(dir) {
120
120
  _fill := func() {
121
121
  wd := smart.ephemeralBuilder(constants.RTYPE_WORKDIR_FILL)
122
122
 
123
-
123
+
124
124
  _allocation := undefined
125
125
  blobs := {}
126
126
  files := {}
@@ -254,7 +254,7 @@ _fill := func() {
254
254
  return self
255
255
  },
256
256
 
257
-
257
+
258
258
  mkDirs: func(dirs) {
259
259
  for _, dir in dirs {
260
260
  self.mkDir(dir)
@@ -17,15 +17,15 @@ _OPTIONS_SCHEME := {
17
17
 
18
18
 
19
19
  _DEFAULT_OPTIONS := {
20
-
20
+
21
21
  spec: true,
22
-
22
+
23
23
  data: true,
24
-
24
+
25
25
  single: false,
26
-
26
+
27
27
  first: false,
28
-
28
+
29
29
  errIfMissing: false
30
30
  }
31
31
 
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/workflow-tengo",
3
- "version": "2.15.0",
3
+ "version": "2.15.2",
4
4
  "description": "Tengo SDK library",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "@platforma-open/milaboratories.software-small-binaries": "^1.15.13"
21
21
  },
22
22
  "devDependencies": {
23
- "@platforma-sdk/tengo-builder": "^1.19.0"
23
+ "@platforma-sdk/tengo-builder": "^1.19.1"
24
24
  },
25
25
  "scripts": {
26
26
  "type-check": "pl-tengo check",