@dcupl/cli 1.4.0-beta.0 → 1.4.0-beta.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.
- package/README.md +45 -0
- package/dist/cli.js +136 -18
- package/dist/cli.js.map +1 -1
- package/dist/functions/app/commands/fn/_fn-helpers.d.ts +13 -0
- package/dist/functions/app/commands/fn/_fn-helpers.js +56 -0
- package/dist/functions/app/commands/fn/_fn-helpers.js.map +1 -1
- package/dist/functions/app/commands/fn/aggregate.d.ts +8 -1
- package/dist/functions/app/commands/fn/aggregate.js +29 -3
- package/dist/functions/app/commands/fn/aggregate.js.map +1 -1
- package/dist/functions/app/commands/fn/facets.d.ts +1 -0
- package/dist/functions/app/commands/fn/facets.js +2 -0
- package/dist/functions/app/commands/fn/facets.js.map +1 -1
- package/dist/functions/app/commands/fn/group-by.d.ts +6 -0
- package/dist/functions/app/commands/fn/group-by.js +13 -22
- package/dist/functions/app/commands/fn/group-by.js.map +1 -1
- package/dist/functions/app/commands/fn/pivot.d.ts +14 -0
- package/dist/functions/app/commands/fn/pivot.js +72 -0
- package/dist/functions/app/commands/fn/pivot.js.map +1 -0
- package/dist/functions/app/commands/fn/suggest.d.ts +17 -0
- package/dist/functions/app/commands/fn/suggest.js +34 -0
- package/dist/functions/app/commands/fn/suggest.js.map +1 -0
- package/dist/functions/app/commands/resolve-source.js +13 -5
- package/dist/functions/app/commands/resolve-source.js.map +1 -1
- package/dist/functions/app/commands/validate.js +1 -4
- package/dist/functions/app/commands/validate.js.map +1 -1
- package/dist/functions/app/daemon/controllers/fn.controller.d.ts +8 -0
- package/dist/functions/app/daemon/controllers/fn.controller.js +20 -0
- package/dist/functions/app/daemon/controllers/fn.controller.js.map +1 -1
- package/dist/functions/app/daemon/services/attribute-validation.d.ts +21 -0
- package/dist/functions/app/daemon/services/attribute-validation.js +161 -0
- package/dist/functions/app/daemon/services/attribute-validation.js.map +1 -0
- package/dist/functions/app/daemon/services/dcupl-host.service.d.ts +7 -0
- package/dist/functions/app/daemon/services/dcupl-host.service.js +87 -6
- package/dist/functions/app/daemon/services/dcupl-host.service.js.map +1 -1
- package/dist/functions/app/e2e/port-lock.d.ts +8 -0
- package/dist/functions/app/e2e/port-lock.js +50 -0
- package/dist/functions/app/e2e/port-lock.js.map +1 -1
- package/dist/functions/config/commands/get.d.ts +3 -3
- package/dist/functions/config/commands/get.js +34 -16
- package/dist/functions/config/commands/get.js.map +1 -1
- package/dist/functions/config/commands/set.js +7 -2
- package/dist/functions/config/commands/set.js.map +1 -1
- package/dist/functions/config/io.d.ts +4 -1
- package/dist/functions/config/io.js +43 -8
- package/dist/functions/config/io.js.map +1 -1
- package/dist/functions/files/commands/copy.js +1 -1
- package/dist/functions/files/commands/copy.js.map +1 -1
- package/dist/functions/files/commands/delete.js +1 -1
- package/dist/functions/files/commands/delete.js.map +1 -1
- package/dist/functions/files/commands/list.js +6 -3
- package/dist/functions/files/commands/list.js.map +1 -1
- package/dist/functions/files/commands/move.js +1 -1
- package/dist/functions/files/commands/move.js.map +1 -1
- package/dist/functions/files/commands/pull.d.ts +14 -1
- package/dist/functions/files/commands/pull.js +110 -1
- package/dist/functions/files/commands/pull.js.map +1 -1
- package/dist/functions/files/commands/push.js +5 -3
- package/dist/functions/files/commands/push.js.map +1 -1
- package/dist/functions/files/commands/read.js +1 -1
- package/dist/functions/files/commands/read.js.map +1 -1
- package/dist/functions/files/commands/render.d.ts +29 -0
- package/dist/functions/files/commands/render.js +8 -4
- package/dist/functions/files/commands/render.js.map +1 -1
- package/dist/functions/files/commands/status.js +1 -0
- package/dist/functions/files/commands/status.js.map +1 -1
- package/dist/functions/files/commands/versions/copy.js +1 -1
- package/dist/functions/files/commands/versions/copy.js.map +1 -1
- package/dist/functions/files/commands/versions/delete.js +1 -1
- package/dist/functions/files/commands/versions/delete.js.map +1 -1
- package/dist/functions/files/commands/versions/list.js +4 -0
- package/dist/functions/files/commands/versions/list.js.map +1 -1
- package/dist/functions/files/commands/write.js +1 -1
- package/dist/functions/files/commands/write.js.map +1 -1
- package/dist/functions/files/files-pull.js +10 -7
- package/dist/functions/files/files-pull.js.map +1 -1
- package/dist/functions/files/files-push.js +11 -8
- package/dist/functions/files/files-push.js.map +1 -1
- package/dist/functions/files/test-helpers.d.ts +11 -0
- package/dist/functions/files/test-helpers.js +28 -0
- package/dist/functions/files/test-helpers.js.map +1 -1
- package/dist/functions/generate/files/generate-code.d.ts +1 -1
- package/dist/functions/generate/files/generate-files.d.ts +7 -1
- package/dist/functions/generate/files/generate-files.js +63 -15
- package/dist/functions/generate/files/generate-files.js.map +1 -1
- package/dist/functions/generate/files/workflow-presets.d.ts +6 -0
- package/dist/functions/generate/files/workflow-presets.js +158 -0
- package/dist/functions/generate/files/workflow-presets.js.map +1 -0
- package/dist/functions/generate/model-from-data/generate-model-from-data.js +4 -3
- package/dist/functions/generate/model-from-data/generate-model-from-data.js.map +1 -1
- package/dist/functions/generate/model-from-data/infer-to-model.js +5 -1
- package/dist/functions/generate/model-from-data/infer-to-model.js.map +1 -1
- package/dist/functions/generate/projects/generate-project.d.ts +5 -0
- package/dist/functions/generate/projects/generate-project.js +20 -6
- package/dist/functions/generate/projects/generate-project.js.map +1 -1
- package/dist/functions/helper/api-client.js +9 -14
- package/dist/functions/helper/api-client.js.map +1 -1
- package/dist/functions/helper/credentials.helper.d.ts +21 -0
- package/dist/functions/helper/credentials.helper.js +39 -0
- package/dist/functions/helper/credentials.helper.js.map +1 -0
- package/dist/functions/helper/load-env.d.ts +1 -0
- package/dist/functions/helper/load-env.js +10 -0
- package/dist/functions/helper/load-env.js.map +1 -0
- package/dist/functions/helper/output.d.ts +1 -1
- package/dist/functions/helper/output.js +7 -11
- package/dist/functions/helper/output.js.map +1 -1
- package/dist/functions/schemas/examples/AttributeQualityConfig.example.json +10 -0
- package/dist/functions/schemas/examples/ModelDefinition.example.json +21 -2
- package/dist/functions/schemas/examples/ScriptStepConfig.example.json +1 -1
- package/dist/functions/schemas/registry.d.ts +14 -0
- package/dist/functions/schemas/registry.js +40 -0
- package/dist/functions/schemas/registry.js.map +1 -1
- package/dist/functions/schemas/validate.d.ts +22 -0
- package/dist/functions/schemas/validate.js +67 -0
- package/dist/functions/schemas/validate.js.map +1 -0
- package/dist/functions/serve/main.js +6 -5
- package/dist/functions/serve/main.js.map +1 -1
- package/dist/functions/version/command.d.ts +12 -1
- package/dist/functions/version/command.js +54 -1
- package/dist/functions/version/command.js.map +1 -1
- package/dist/functions/workflow/commands/deploy.d.ts +8 -1
- package/dist/functions/workflow/commands/deploy.js +24 -0
- package/dist/functions/workflow/commands/deploy.js.map +1 -1
- package/dist/functions/workflow/commands/run.d.ts +26 -0
- package/dist/functions/workflow/commands/run.js +85 -0
- package/dist/functions/workflow/commands/run.js.map +1 -0
- package/dist/functions/workflow/commands/runners.d.ts +2 -0
- package/dist/functions/workflow/commands/runners.js +10 -1
- package/dist/functions/workflow/commands/runners.js.map +1 -1
- package/dist/functions/workflow/commands/test.d.ts +3 -0
- package/dist/functions/workflow/commands/test.js +8 -64
- package/dist/functions/workflow/commands/test.js.map +1 -1
- package/dist/functions/workflow/commands/trace.d.ts +4 -2
- package/dist/functions/workflow/commands/trace.js +22 -1
- package/dist/functions/workflow/commands/trace.js.map +1 -1
- package/dist/functions/workflow/commands/validate.js +8 -1
- package/dist/functions/workflow/commands/validate.js.map +1 -1
- package/dist/functions/workflow/run-failure.d.ts +11 -0
- package/dist/functions/workflow/run-failure.js +74 -0
- package/dist/functions/workflow/run-failure.js.map +1 -0
- package/dist/functions/workflow/runner-health.d.ts +16 -0
- package/dist/functions/workflow/runner-health.js +36 -0
- package/dist/functions/workflow/runner-health.js.map +1 -0
- package/dist/functions/workflow/script-lint.d.ts +10 -0
- package/dist/functions/workflow/script-lint.js +488 -0
- package/dist/functions/workflow/script-lint.js.map +1 -0
- package/dist/functions/workflow/template-io.js +1 -1
- package/dist/functions/workflow/template-io.js.map +1 -1
- package/dist/functions/workflow/validate.js +4 -1
- package/dist/functions/workflow/validate.js.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/files/common/.env.example +4 -0
- package/files/common/_gitignore +3 -1
- package/package.json +35 -37
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcupl/cli",
|
|
3
|
-
"version": "1.4.0-beta.
|
|
3
|
+
"version": "1.4.0-beta.2",
|
|
4
4
|
"description": "The official dcupl CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "npm run clean && tsc && npm run build:copy-examples",
|
|
11
|
-
"build:copy-examples": "node -
|
|
11
|
+
"build:copy-examples": "node scripts/copy-examples.js",
|
|
12
12
|
"build:watch": "npm run clean && tsc -w",
|
|
13
13
|
"clean": "rm -rf dist",
|
|
14
14
|
"global": "npm i -g && dcupl",
|
|
@@ -35,63 +35,61 @@
|
|
|
35
35
|
"license": "ISC",
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@changesets/cli": "^2.31.0",
|
|
38
|
-
"@eslint/js": "^
|
|
39
|
-
"@nestjs/cli": "^11.0.7",
|
|
40
|
-
"@types/adm-zip": "^0.5.7",
|
|
38
|
+
"@eslint/js": "^10.0.1",
|
|
41
39
|
"@types/chai": "^5.2.1",
|
|
42
40
|
"@types/compression": "^1.7.5",
|
|
43
41
|
"@types/fs-extra": "^11.0.4",
|
|
44
|
-
"@types/glob": "^8.1.0",
|
|
45
|
-
"@types/inquirer": "^9.0.7",
|
|
46
42
|
"@types/lodash": "^4.17.16",
|
|
47
43
|
"@types/mocha": "^10.0.10",
|
|
48
|
-
"@types/
|
|
44
|
+
"@types/semver": "^7.7.1",
|
|
49
45
|
"@types/serve-favicon": "^2.5.7",
|
|
50
46
|
"@types/yargs": "^17.0.33",
|
|
51
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
52
|
-
"@typescript-eslint/parser": "^8.
|
|
53
|
-
"@vitest/coverage-v8": "^4.1.
|
|
54
|
-
"eslint": "^
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^8.61.1",
|
|
48
|
+
"@typescript-eslint/parser": "^8.61.1",
|
|
49
|
+
"@vitest/coverage-v8": "^4.1.9",
|
|
50
|
+
"eslint": "^10.5.0",
|
|
55
51
|
"eslint-config-prettier": "^10.1.8",
|
|
56
52
|
"globals": "^17.6.0",
|
|
57
53
|
"tsx": "^4.21.0",
|
|
58
|
-
"typescript": "^
|
|
59
|
-
"vitest": "^4.1.
|
|
54
|
+
"typescript": "^6.0.3",
|
|
55
|
+
"vitest": "^4.1.9"
|
|
60
56
|
},
|
|
61
57
|
"dependencies": {
|
|
62
|
-
"@dcupl/common": "2.0.0-beta.
|
|
63
|
-
"@dcupl/common-internal": "2.0.0-beta.
|
|
64
|
-
"@dcupl/core": "2.0.0-beta.
|
|
65
|
-
"@dcupl/loader": "2.0.0-beta.
|
|
66
|
-
"@nestjs/common": "^11.
|
|
67
|
-
"@nestjs/core": "^11.
|
|
68
|
-
"@nestjs/platform-express": "^11.
|
|
58
|
+
"@dcupl/common": "2.0.0-beta.7",
|
|
59
|
+
"@dcupl/common-internal": "2.0.0-beta.7",
|
|
60
|
+
"@dcupl/core": "2.0.0-beta.7",
|
|
61
|
+
"@dcupl/loader": "2.0.0-beta.7",
|
|
62
|
+
"@nestjs/common": "^11.1.27",
|
|
63
|
+
"@nestjs/core": "^11.1.27",
|
|
64
|
+
"@nestjs/platform-express": "^11.1.27",
|
|
69
65
|
"@nestjs/serve-static": "^5.0.3",
|
|
70
|
-
"adm-zip": "^0.
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"comment-json": "^4.2.5",
|
|
66
|
+
"adm-zip": "^0.6.0",
|
|
67
|
+
"axios": "^1.18.0",
|
|
68
|
+
"chai": "^6.2.2",
|
|
69
|
+
"comment-json": "^5.0.0",
|
|
75
70
|
"compression": "^1.8.0",
|
|
76
|
-
"
|
|
71
|
+
"dotenv": "^17.4.2",
|
|
72
|
+
"express": "^5.2.1",
|
|
73
|
+
"form-data": "^4.0.6",
|
|
77
74
|
"fs-extra": "^11.3.0",
|
|
78
|
-
"glob": "^
|
|
79
|
-
"inquirer": "^
|
|
75
|
+
"glob": "^13.0.6",
|
|
76
|
+
"inquirer": "^14.0.2",
|
|
80
77
|
"json-schema": "^0.4.0",
|
|
81
78
|
"kleur": "^4.1.5",
|
|
82
79
|
"lodash": "^4.17.21",
|
|
83
|
-
"minimatch": "^
|
|
80
|
+
"minimatch": "^10.2.5",
|
|
84
81
|
"mocha": "^11.1.0",
|
|
85
|
-
"open": "^
|
|
86
|
-
"
|
|
87
|
-
"protobufjs": "^7.5.0",
|
|
88
|
-
"quicktype": "^23.0.171",
|
|
89
|
-
"quicktype-core": "^23.0.171",
|
|
82
|
+
"open": "^11.0.0",
|
|
83
|
+
"quicktype-core": "^26.0.0",
|
|
90
84
|
"reflect-metadata": "^0.2.2",
|
|
91
85
|
"rxjs": "^7.8.2",
|
|
86
|
+
"semver": "^7.8.5",
|
|
92
87
|
"serve-favicon": "^2.5.0",
|
|
93
|
-
"serve-index": "^1.9.1",
|
|
94
88
|
"ts-morph": "^28.0.0",
|
|
95
|
-
"yargs": "^
|
|
89
|
+
"yargs": "^18.0.0"
|
|
90
|
+
},
|
|
91
|
+
"overrides": {
|
|
92
|
+
"diff": "^8.0.3",
|
|
93
|
+
"serialize-javascript": "^7.0.5"
|
|
96
94
|
}
|
|
97
95
|
}
|