@grnsft/if 0.7.1 → 1.0.0-beta.0
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/CONTRIBUTING.md +19 -6
- package/ENABLEMENT.md +115 -0
- package/README.md +0 -6
- package/SECURITY.md +100 -0
- package/adopters.md +9 -0
- package/build/common/config/strings.d.ts +2 -0
- package/build/common/config/strings.js +5 -3
- package/build/common/util/logger.js +3 -3
- package/build/common/util/yaml.js +19 -7
- package/build/if-check/util/npm.js +55 -9
- package/build/if-run/builtins/divide/index.js +2 -4
- package/build/if-run/builtins/exponent/index.js +3 -5
- package/build/if-run/builtins/interpolation/index.js +18 -10
- package/build/if-run/builtins/shell/index.js +2 -2
- package/build/if-run/lib/compute.js +8 -10
- package/build/if-run/lib/explain.js +69 -44
- package/build/if-run/lib/initialize.js +2 -2
- package/build/if-run/lib/regroup.d.ts +1 -1
- package/build/if-run/lib/regroup.js +41 -49
- package/build/if-run/types/explain.d.ts +3 -7
- package/build/if-run/types/explain.js +1 -1
- package/build/if-run/util/aggregation-helper.js +3 -3
- package/manifests/examples/builtins/interpolation/success-with-off.yml +24 -0
- package/manifests/outputs/bugs/package.json +24 -0
- package/manifests/outputs/builtins/coefficient/package.json +24 -0
- package/manifests/outputs/builtins/csv-lookup/cloud-metadata/package.json +24 -0
- package/manifests/outputs/builtins/csv-lookup/region-metadata/package.json +24 -0
- package/manifests/outputs/builtins/csv-lookup/tdp-finder/package.json +24 -0
- package/manifests/outputs/builtins/divide/package.json +24 -0
- package/manifests/outputs/builtins/exponent/package.json +24 -0
- package/manifests/outputs/builtins/interpolation/package.json +24 -0
- package/manifests/outputs/builtins/mock-observations/package.json +24 -0
- package/manifests/outputs/builtins/multiply/package.json +24 -0
- package/manifests/outputs/builtins/regex/package.json +24 -0
- package/manifests/outputs/builtins/sci/package.json +24 -0
- package/manifests/outputs/builtins/sci-embodied/package.json +24 -0
- package/manifests/outputs/builtins/shell/package.json +24 -0
- package/manifests/outputs/builtins/subtract/package.json +24 -0
- package/manifests/outputs/builtins/sum/package.json +24 -0
- package/manifests/outputs/builtins/time-converter/package.json +24 -0
- package/manifests/outputs/builtins/time-sync/package.json +24 -0
- package/manifests/outputs/features/package.json +24 -0
- package/manifests/outputs/features/regroup/package.json +24 -0
- package/manifests/outputs/pipelines/package.json +24 -0
- package/okrs.md +14 -0
- package/package.json +2 -2
- package/src/if-run/builtins/interpolation/README.md +1 -1
- package/.env +0 -5
- package/coverage/clover.xml +0 -2045
- package/coverage/coverage-final.json +0 -55
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/builtins/coefficient/index.html +0 -116
- package/coverage/lcov-report/builtins/coefficient/index.ts.html +0 -298
- package/coverage/lcov-report/builtins/csv-lookup/index.html +0 -116
- package/coverage/lcov-report/builtins/csv-lookup/index.ts.html +0 -826
- package/coverage/lcov-report/builtins/divide/index.html +0 -116
- package/coverage/lcov-report/builtins/divide/index.ts.html +0 -358
- package/coverage/lcov-report/builtins/exponent/index.html +0 -116
- package/coverage/lcov-report/builtins/exponent/index.ts.html +0 -361
- package/coverage/lcov-report/builtins/export-csv-raw.ts.html +0 -553
- package/coverage/lcov-report/builtins/export-csv.ts.html +0 -436
- package/coverage/lcov-report/builtins/export-log.ts.html +0 -148
- package/coverage/lcov-report/builtins/export-yaml.ts.html +0 -193
- package/coverage/lcov-report/builtins/group-by.ts.html +0 -370
- package/coverage/lcov-report/builtins/index.html +0 -206
- package/coverage/lcov-report/builtins/index.ts.html +0 -130
- package/coverage/lcov-report/builtins/interpolation/index.html +0 -116
- package/coverage/lcov-report/builtins/interpolation/index.ts.html +0 -676
- package/coverage/lcov-report/builtins/interpolation/types.ts.html +0 -100
- package/coverage/lcov-report/builtins/mock-observations/helpers/common-generator.ts.html +0 -184
- package/coverage/lcov-report/builtins/mock-observations/helpers/index.html +0 -131
- package/coverage/lcov-report/builtins/mock-observations/helpers/rand-int-generator.ts.html +0 -289
- package/coverage/lcov-report/builtins/mock-observations/index.html +0 -116
- package/coverage/lcov-report/builtins/mock-observations/index.ts.html +0 -619
- package/coverage/lcov-report/builtins/multiply/index.html +0 -116
- package/coverage/lcov-report/builtins/multiply/index.ts.html +0 -343
- package/coverage/lcov-report/builtins/regex/index.html +0 -116
- package/coverage/lcov-report/builtins/regex/index.ts.html +0 -373
- package/coverage/lcov-report/builtins/sci/config.ts.html +0 -205
- package/coverage/lcov-report/builtins/sci/index.html +0 -116
- package/coverage/lcov-report/builtins/sci/index.ts.html +0 -325
- package/coverage/lcov-report/builtins/sci-embodied/index.html +0 -116
- package/coverage/lcov-report/builtins/sci-embodied/index.ts.html +0 -478
- package/coverage/lcov-report/builtins/shell/index.html +0 -116
- package/coverage/lcov-report/builtins/shell/index.ts.html +0 -280
- package/coverage/lcov-report/builtins/subtract/index.html +0 -116
- package/coverage/lcov-report/builtins/subtract/index.ts.html +0 -379
- package/coverage/lcov-report/builtins/sum/index.html +0 -116
- package/coverage/lcov-report/builtins/sum/index.ts.html +0 -334
- package/coverage/lcov-report/builtins/time-sync.ts.html +0 -1462
- package/coverage/lcov-report/common/config/index.html +0 -131
- package/coverage/lcov-report/common/config/index.ts.html +0 -88
- package/coverage/lcov-report/common/config/strings.ts.html +0 -121
- package/coverage/lcov-report/common/lib/index.html +0 -116
- package/coverage/lcov-report/common/lib/load.ts.html +0 -139
- package/coverage/lcov-report/common/util/debug-logger.ts.html +0 -511
- package/coverage/lcov-report/common/util/fs.ts.html +0 -289
- package/coverage/lcov-report/common/util/helpers.ts.html +0 -280
- package/coverage/lcov-report/common/util/index.html +0 -191
- package/coverage/lcov-report/common/util/logger.ts.html +0 -151
- package/coverage/lcov-report/common/util/validations.ts.html +0 -613
- package/coverage/lcov-report/common/util/yaml.ts.html +0 -193
- package/coverage/lcov-report/config/config.ts.html +0 -463
- package/coverage/lcov-report/config/index.html +0 -161
- package/coverage/lcov-report/config/index.ts.html +0 -94
- package/coverage/lcov-report/config/params.ts.html +0 -697
- package/coverage/lcov-report/config/strings.ts.html +0 -490
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/if-check/config/config.ts.html +0 -184
- package/coverage/lcov-report/if-check/config/index.html +0 -146
- package/coverage/lcov-report/if-check/config/index.ts.html +0 -91
- package/coverage/lcov-report/if-check/config/strings.ts.html +0 -142
- package/coverage/lcov-report/if-check/util/args.ts.html +0 -304
- package/coverage/lcov-report/if-check/util/helpers.ts.html +0 -136
- package/coverage/lcov-report/if-check/util/index.html +0 -146
- package/coverage/lcov-report/if-check/util/npm.ts.html +0 -232
- package/coverage/lcov-report/if-csv/util/helpers.ts.html +0 -346
- package/coverage/lcov-report/if-csv/util/index.html +0 -116
- package/coverage/lcov-report/if-diff/config/config.ts.html +0 -184
- package/coverage/lcov-report/if-diff/config/index.html +0 -146
- package/coverage/lcov-report/if-diff/config/index.ts.html +0 -91
- package/coverage/lcov-report/if-diff/config/strings.ts.html +0 -100
- package/coverage/lcov-report/if-diff/lib/compare.ts.html +0 -286
- package/coverage/lcov-report/if-diff/lib/index.html +0 -131
- package/coverage/lcov-report/if-diff/lib/load.ts.html +0 -199
- package/coverage/lcov-report/if-diff/util/args.ts.html +0 -268
- package/coverage/lcov-report/if-diff/util/helpers.ts.html +0 -337
- package/coverage/lcov-report/if-diff/util/index.html +0 -131
- package/coverage/lcov-report/if-env/config/config.ts.html +0 -211
- package/coverage/lcov-report/if-env/config/index.html +0 -146
- package/coverage/lcov-report/if-env/config/index.ts.html +0 -91
- package/coverage/lcov-report/if-env/config/strings.ts.html +0 -109
- package/coverage/lcov-report/if-env/util/args.ts.html +0 -250
- package/coverage/lcov-report/if-env/util/index.html +0 -131
- package/coverage/lcov-report/if-env/util/npm.ts.html +0 -526
- package/coverage/lcov-report/if-merge/util/args.ts.html +0 -295
- package/coverage/lcov-report/if-merge/util/helpers.ts.html +0 -301
- package/coverage/lcov-report/if-merge/util/index.html +0 -131
- package/coverage/lcov-report/if-run/builtins/coefficient/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/coefficient/index.ts.html +0 -382
- package/coverage/lcov-report/if-run/builtins/copy-param/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/copy-param/index.ts.html +0 -415
- package/coverage/lcov-report/if-run/builtins/csv-lookup/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/csv-lookup/index.ts.html +0 -868
- package/coverage/lcov-report/if-run/builtins/divide/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/divide/index.ts.html +0 -469
- package/coverage/lcov-report/if-run/builtins/exponent/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/exponent/index.ts.html +0 -394
- package/coverage/lcov-report/if-run/builtins/export-csv-raw.ts.html +0 -553
- package/coverage/lcov-report/if-run/builtins/export-csv.ts.html +0 -436
- package/coverage/lcov-report/if-run/builtins/export-log.ts.html +0 -148
- package/coverage/lcov-report/if-run/builtins/export-yaml.ts.html +0 -193
- package/coverage/lcov-report/if-run/builtins/group-by.ts.html +0 -370
- package/coverage/lcov-report/if-run/builtins/index.html +0 -146
- package/coverage/lcov-report/if-run/builtins/index.ts.html +0 -133
- package/coverage/lcov-report/if-run/builtins/interpolation/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/interpolation/index.ts.html +0 -709
- package/coverage/lcov-report/if-run/builtins/mock-observations/helpers/common-generator.ts.html +0 -184
- package/coverage/lcov-report/if-run/builtins/mock-observations/helpers/index.html +0 -131
- package/coverage/lcov-report/if-run/builtins/mock-observations/helpers/rand-int-generator.ts.html +0 -289
- package/coverage/lcov-report/if-run/builtins/mock-observations/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/mock-observations/index.ts.html +0 -709
- package/coverage/lcov-report/if-run/builtins/multiply/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/multiply/index.ts.html +0 -406
- package/coverage/lcov-report/if-run/builtins/regex/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/regex/index.ts.html +0 -433
- package/coverage/lcov-report/if-run/builtins/sci/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/sci/index.ts.html +0 -502
- package/coverage/lcov-report/if-run/builtins/sci-embodied/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/sci-embodied/index.ts.html +0 -577
- package/coverage/lcov-report/if-run/builtins/shell/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/shell/index.ts.html +0 -343
- package/coverage/lcov-report/if-run/builtins/subtract/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/subtract/index.ts.html +0 -418
- package/coverage/lcov-report/if-run/builtins/sum/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/sum/index.ts.html +0 -400
- package/coverage/lcov-report/if-run/builtins/time-converter/config.ts.html +0 -205
- package/coverage/lcov-report/if-run/builtins/time-converter/index.html +0 -131
- package/coverage/lcov-report/if-run/builtins/time-converter/index.ts.html +0 -412
- package/coverage/lcov-report/if-run/builtins/time-sync/index.html +0 -116
- package/coverage/lcov-report/if-run/builtins/time-sync/index.ts.html +0 -1651
- package/coverage/lcov-report/if-run/builtins/time-sync.ts.html +0 -1462
- package/coverage/lcov-report/if-run/config/config.ts.html +0 -271
- package/coverage/lcov-report/if-run/config/index.html +0 -161
- package/coverage/lcov-report/if-run/config/index.ts.html +0 -94
- package/coverage/lcov-report/if-run/config/params.ts.html +0 -679
- package/coverage/lcov-report/if-run/config/strings.ts.html +0 -460
- package/coverage/lcov-report/if-run/lib/aggregate.ts.html +0 -580
- package/coverage/lcov-report/if-run/lib/compute.ts.html +0 -709
- package/coverage/lcov-report/if-run/lib/environment.ts.html +0 -373
- package/coverage/lcov-report/if-run/lib/exhaust.ts.html +0 -193
- package/coverage/lcov-report/if-run/lib/explain.ts.html +0 -217
- package/coverage/lcov-report/if-run/lib/index.html +0 -206
- package/coverage/lcov-report/if-run/lib/initialize.ts.html +0 -475
- package/coverage/lcov-report/if-run/lib/parameterize.ts.html +0 -322
- package/coverage/lcov-report/if-run/lib/regroup.ts.html +0 -325
- package/coverage/lcov-report/if-run/lib/time-sync.ts.html +0 -1510
- package/coverage/lcov-report/if-run/types/aggregation.ts.html +0 -94
- package/coverage/lcov-report/if-run/types/index.html +0 -146
- package/coverage/lcov-report/if-run/types/interface.ts.html +0 -112
- package/coverage/lcov-report/if-run/types/parameters.ts.html +0 -106
- package/coverage/lcov-report/if-run/util/aggregation-helper.ts.html +0 -280
- package/coverage/lcov-report/if-run/util/args.ts.html +0 -313
- package/coverage/lcov-report/if-run/util/helpers.ts.html +0 -304
- package/coverage/lcov-report/if-run/util/index.html +0 -191
- package/coverage/lcov-report/if-run/util/json.ts.html +0 -115
- package/coverage/lcov-report/if-run/util/log-memoize.ts.html +0 -145
- package/coverage/lcov-report/if-run/util/os-checker.ts.html +0 -421
- package/coverage/lcov-report/if-run/util/plugin-storage.ts.html +0 -202
- package/coverage/lcov-report/index.html +0 -521
- package/coverage/lcov-report/lib/aggregate.ts.html +0 -358
- package/coverage/lcov-report/lib/compare.ts.html +0 -286
- package/coverage/lcov-report/lib/compute.ts.html +0 -436
- package/coverage/lcov-report/lib/environment.ts.html +0 -376
- package/coverage/lcov-report/lib/exhaust.ts.html +0 -289
- package/coverage/lcov-report/lib/index.html +0 -221
- package/coverage/lcov-report/lib/initialize.ts.html +0 -430
- package/coverage/lcov-report/lib/load.ts.html +0 -268
- package/coverage/lcov-report/lib/parameterize.ts.html +0 -316
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov-report/types/aggregation.ts.html +0 -94
- package/coverage/lcov-report/types/index.html +0 -146
- package/coverage/lcov-report/types/interface.ts.html +0 -112
- package/coverage/lcov-report/types/parameters.ts.html +0 -106
- package/coverage/lcov-report/util/aggregation-helper.ts.html +0 -289
- package/coverage/lcov-report/util/args.ts.html +0 -649
- package/coverage/lcov-report/util/debug-logger.ts.html +0 -481
- package/coverage/lcov-report/util/errors.ts.html +0 -232
- package/coverage/lcov-report/util/fs.ts.html +0 -124
- package/coverage/lcov-report/util/helpers.ts.html +0 -895
- package/coverage/lcov-report/util/index.html +0 -296
- package/coverage/lcov-report/util/json.ts.html +0 -115
- package/coverage/lcov-report/util/log-memoize.ts.html +0 -145
- package/coverage/lcov-report/util/logger.ts.html +0 -151
- package/coverage/lcov-report/util/npm.ts.html +0 -499
- package/coverage/lcov-report/util/os-checker.ts.html +0 -421
- package/coverage/lcov-report/util/plugin-storage.ts.html +0 -202
- package/coverage/lcov-report/util/validations.ts.html +0 -544
- package/coverage/lcov-report/util/yaml.ts.html +0 -193
- package/coverage/lcov.info +0 -3392
- package/manifests/outputs/features/regroup/test.yml +0 -92
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
name: regroup
|
|
2
|
-
description: successful path
|
|
3
|
-
initialize:
|
|
4
|
-
plugins: {}
|
|
5
|
-
execution:
|
|
6
|
-
command: >-
|
|
7
|
-
/Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
8
|
-
/Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m
|
|
9
|
-
manifests/examples/features/regroup/success.yml -o
|
|
10
|
-
manifests/outputs/features/regroup/success.yml
|
|
11
|
-
environment:
|
|
12
|
-
if-version: 0.6.0
|
|
13
|
-
os: macOS
|
|
14
|
-
os-version: 14.6.1
|
|
15
|
-
node-version: 18.20.4
|
|
16
|
-
date-time: 2024-09-12T06:13:12.222Z (UTC)
|
|
17
|
-
dependencies:
|
|
18
|
-
- '@babel/core@7.22.10'
|
|
19
|
-
- '@babel/preset-typescript@7.23.3'
|
|
20
|
-
- '@commitlint/cli@18.6.0'
|
|
21
|
-
- '@commitlint/config-conventional@18.6.0'
|
|
22
|
-
- '@grnsft/if-core@0.0.22'
|
|
23
|
-
- '@jest/globals@29.7.0'
|
|
24
|
-
- '@types/jest@29.5.8'
|
|
25
|
-
- '@types/js-yaml@4.0.9'
|
|
26
|
-
- '@types/luxon@3.4.2'
|
|
27
|
-
- '@types/node@20.9.0'
|
|
28
|
-
- axios-mock-adapter@1.22.0
|
|
29
|
-
- axios@1.7.2
|
|
30
|
-
- cross-env@7.0.3
|
|
31
|
-
- csv-parse@5.5.6
|
|
32
|
-
- csv-stringify@6.4.6
|
|
33
|
-
- fixpack@4.0.0
|
|
34
|
-
- gts@5.2.0
|
|
35
|
-
- husky@8.0.3
|
|
36
|
-
- jest@29.7.0
|
|
37
|
-
- js-yaml@4.1.0
|
|
38
|
-
- lint-staged@15.2.2
|
|
39
|
-
- luxon@3.4.4
|
|
40
|
-
- release-it@16.3.0
|
|
41
|
-
- rimraf@5.0.5
|
|
42
|
-
- ts-command-line-args@2.5.1
|
|
43
|
-
- ts-jest@29.1.1
|
|
44
|
-
- typescript-cubic-spline@1.0.1
|
|
45
|
-
- typescript@5.2.2
|
|
46
|
-
- winston@3.11.0
|
|
47
|
-
- zod@3.23.8
|
|
48
|
-
status: success
|
|
49
|
-
tree:
|
|
50
|
-
children:
|
|
51
|
-
my-app:
|
|
52
|
-
pipeline:
|
|
53
|
-
regroup:
|
|
54
|
-
- cloud/region
|
|
55
|
-
- cloud/instance-type
|
|
56
|
-
children:
|
|
57
|
-
uk-west:
|
|
58
|
-
children:
|
|
59
|
-
A1:
|
|
60
|
-
inputs:
|
|
61
|
-
- timestamp: 2023-07-06T00:00
|
|
62
|
-
duration: 300
|
|
63
|
-
cloud/instance-type: A1
|
|
64
|
-
cloud/region: uk-west
|
|
65
|
-
cpu/utilization: 99
|
|
66
|
-
- timestamp: 2023-07-06T05:00
|
|
67
|
-
duration: 300
|
|
68
|
-
cloud/instance-type: A1
|
|
69
|
-
cloud/region: uk-west
|
|
70
|
-
cpu/utilization: 23
|
|
71
|
-
- timestamp: 2023-07-06T10:00
|
|
72
|
-
duration: 300
|
|
73
|
-
cloud/instance-type: A1
|
|
74
|
-
cloud/region: uk-west
|
|
75
|
-
cpu/utilization: 12
|
|
76
|
-
B1:
|
|
77
|
-
inputs:
|
|
78
|
-
- timestamp: 2023-07-06T00:00
|
|
79
|
-
duration: 300
|
|
80
|
-
cloud/instance-type: B1
|
|
81
|
-
cloud/region: uk-west
|
|
82
|
-
cpu/utilization: 11
|
|
83
|
-
- timestamp: 2023-07-06T05:00
|
|
84
|
-
duration: 300
|
|
85
|
-
cloud/instance-type: B1
|
|
86
|
-
cloud/region: uk-west
|
|
87
|
-
cpu/utilization: 67
|
|
88
|
-
- timestamp: 2023-07-06T10:00
|
|
89
|
-
duration: 300
|
|
90
|
-
cloud/instance-type: B1
|
|
91
|
-
cloud/region: uk-west
|
|
92
|
-
cpu/utilization: 1
|