@trayio/cdk-cli 0.0.3 → 0.0.5-beta

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.
Files changed (54) hide show
  1. package/INTRODUCTION.md +54 -0
  2. package/LICENSE.txt +22 -0
  3. package/README.md +150 -46
  4. package/bin/dev +0 -0
  5. package/dist/commands/add-operation.d.ts +11 -0
  6. package/dist/commands/add-operation.d.ts.map +1 -0
  7. package/dist/commands/add-operation.js +102 -0
  8. package/dist/commands/add-operation.unit.test.d.ts +2 -0
  9. package/dist/commands/add-operation.unit.test.d.ts.map +1 -0
  10. package/dist/commands/add-operation.unit.test.js +119 -0
  11. package/dist/commands/build.d.ts +8 -0
  12. package/dist/commands/build.d.ts.map +1 -0
  13. package/dist/commands/build.js +34 -0
  14. package/dist/commands/deploy.d.ts +8 -0
  15. package/dist/commands/deploy.d.ts.map +1 -0
  16. package/dist/commands/deploy.js +90 -0
  17. package/dist/commands/deployment-status.d.ts +12 -0
  18. package/dist/commands/deployment-status.d.ts.map +1 -0
  19. package/dist/commands/deployment-status.js +78 -0
  20. package/dist/commands/deployment-status.unit.test.d.ts +2 -0
  21. package/dist/commands/deployment-status.unit.test.d.ts.map +1 -0
  22. package/dist/commands/deployment-status.unit.test.js +82 -0
  23. package/dist/commands/import-openapi-spec-tst.d.ts +10 -0
  24. package/dist/commands/import-openapi-spec-tst.d.ts.map +1 -0
  25. package/dist/commands/import-openapi-spec-tst.js +101 -0
  26. package/dist/commands/import-openapi-spec.d.ts +10 -0
  27. package/dist/commands/import-openapi-spec.d.ts.map +1 -0
  28. package/dist/commands/import-openapi-spec.js +101 -0
  29. package/dist/commands/index.d.ts +2 -0
  30. package/dist/commands/index.d.ts.map +1 -0
  31. package/dist/commands/index.js +5 -0
  32. package/dist/commands/init.d.ts +13 -0
  33. package/dist/commands/init.d.ts.map +1 -0
  34. package/dist/commands/init.js +85 -0
  35. package/dist/commands/init.unit.test.d.ts +2 -0
  36. package/dist/commands/init.unit.test.d.ts.map +1 -0
  37. package/dist/commands/init.unit.test.js +127 -0
  38. package/dist/commands/test.d.ts +12 -0
  39. package/dist/commands/test.d.ts.map +1 -0
  40. package/dist/commands/test.js +55 -0
  41. package/dist/templates/composite-operation-template.zip +0 -0
  42. package/dist/templates/connector-template.zip +0 -0
  43. package/dist/templates/http-operation-template.zip +0 -0
  44. package/dist/utils/check-env.d.ts +2 -0
  45. package/dist/utils/check-env.d.ts.map +1 -0
  46. package/dist/utils/check-env.js +35 -0
  47. package/dist/utils/check-env.unit.test.d.ts +2 -0
  48. package/dist/utils/check-env.unit.test.d.ts.map +1 -0
  49. package/dist/utils/check-env.unit.test.js +46 -0
  50. package/dist/utils/colorizeString.d.ts +5 -0
  51. package/dist/utils/colorizeString.d.ts.map +1 -0
  52. package/dist/utils/colorizeString.js +15 -0
  53. package/oclif.manifest.json +243 -16
  54. package/package.json +68 -53
package/package.json CHANGED
@@ -1,54 +1,69 @@
1
1
  {
2
- "name": "@trayio/cdk-cli",
3
- "version": "0.0.3",
4
- "description": "A collection of CLI commands for connector development.",
5
- "main": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
7
- "exports": {
8
- "./*": "./dist/*.js"
9
- },
10
- "license": "Proprietary",
11
- "dependencies": {
12
- "@oclif/core": "*",
13
- "@oclif/plugin-autocomplete": "*",
14
- "@oclif/plugin-help": "*",
15
- "@oclif/plugin-version": "*",
16
- "@oclif/test": "*"
17
- },
18
- "typesVersions": {
19
- "*": {
20
- "*": [
21
- "*",
22
- "dist/*"
23
- ]
24
- }
25
- },
26
- "files": [
27
- "/bin",
28
- "/dist",
29
- "/oclif.manifest.json"
30
- ],
31
- "bin": {
32
- "cdk": "./bin/run"
33
- },
34
- "oclif": {
35
- "commands": "./dist",
36
- "bin": "cdk",
37
- "plugins": [
38
- "@oclif/plugin-help",
39
- "@oclif/plugin-autocomplete",
40
- "@oclif/plugin-version"
41
- ],
42
- "additionalHelpFlags": [
43
- "-h"
44
- ],
45
- "additionalVersionFlags": [
46
- "-v"
47
- ]
48
- },
49
- "scripts": {
50
- "oclif:clean": "rm -f oclif.manifest.json",
51
- "postcompile": "oclif manifest && oclif readme"
52
- },
53
- "gitHead": "4376b62135c61c9a8942fb449c2fac08d41ad5b3"
54
- }
2
+ "name": "@trayio/cdk-cli",
3
+ "version": "0.0.5-beta",
4
+ "description": "A CLI for connector development",
5
+ "exports": {
6
+ "./*": "./dist/*.js"
7
+ },
8
+ "author": "Tray.io",
9
+ "license": "MIT",
10
+ "engines": {
11
+ "node": ">=18.x"
12
+ },
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "dependencies": {
17
+ "@oclif/core": "3.18.1",
18
+ "@oclif/plugin-autocomplete": "3.0.5",
19
+ "@oclif/plugin-help": "6.0.12",
20
+ "@oclif/plugin-version": "2.0.11",
21
+ "@oclif/test": "3.1.12",
22
+ "@trayio/axios": "0.0.5-beta",
23
+ "@trayio/cdk-build": "0.0.5-beta",
24
+ "@trayio/commons": "0.0.5-beta",
25
+ "@trayio/generator": "0.0.5-beta",
26
+ "@trayio/tray-client": "0.0.5-beta",
27
+ "@trayio/tray-openapi": "0.0.5-beta",
28
+ "@types/inquirer": "8.2.6",
29
+ "chalk": "4.1.2",
30
+ "inquirer": "8.2.5"
31
+ },
32
+ "typesVersions": {
33
+ "*": {
34
+ "*": [
35
+ "*",
36
+ "dist/*"
37
+ ]
38
+ }
39
+ },
40
+ "files": [
41
+ "/bin",
42
+ "/dist",
43
+ "/oclif.manifest.json",
44
+ "/INTRODUCTION.md"
45
+ ],
46
+ "bin": {
47
+ "tray-cdk": "./bin/run"
48
+ },
49
+ "oclif": {
50
+ "commands": "./dist/commands",
51
+ "bin": "tray-cdk",
52
+ "topicSeparator": " ",
53
+ "plugins": [
54
+ "@oclif/plugin-help",
55
+ "@oclif/plugin-autocomplete",
56
+ "@oclif/plugin-version"
57
+ ],
58
+ "additionalHelpFlags": [
59
+ "-h"
60
+ ],
61
+ "additionalVersionFlags": [
62
+ "-v"
63
+ ]
64
+ },
65
+ "scripts": {
66
+ "oclif:clean": "rm -f oclif.manifest.json",
67
+ "postcompile": "oclif manifest && oclif readme"
68
+ }
69
+ }