hereya-cli 0.13.0 → 0.14.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/README.md +19 -19
- package/dist/commands/add/index.js +124 -67
- package/dist/commands/deploy/index.js +258 -95
- package/dist/commands/down/index.js +132 -58
- package/dist/commands/remove/index.js +114 -61
- package/dist/commands/undeploy/index.js +179 -51
- package/dist/commands/up/index.js +195 -103
- package/dist/infrastructure/index.d.ts +1 -0
- package/dist/lib/log.js +4 -20
- package/dist/lib/package/common.d.ts +2 -0
- package/dist/lib/package/github.d.ts +2 -1
- package/dist/lib/package/github.js +46 -17
- package/dist/lib/package/index.js +4 -19
- package/dist/lib/shell.d.ts +1 -0
- package/dist/lib/shell.js +8 -0
- package/oclif.manifest.json +71 -71
- package/package.json +3 -4
package/oclif.manifest.json
CHANGED
|
@@ -54,6 +54,45 @@
|
|
|
54
54
|
"index.js"
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
|
+
"bootstrap": {
|
|
58
|
+
"aliases": [],
|
|
59
|
+
"args": {
|
|
60
|
+
"infrastructureType": {
|
|
61
|
+
"description": "infrastructure to bootstrap. Options are local, aws",
|
|
62
|
+
"name": "infrastructureType",
|
|
63
|
+
"required": true
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"description": "Install necessary resources for hereya operations in an infrastructure.",
|
|
67
|
+
"examples": [
|
|
68
|
+
"<%= config.bin %> <%= command.id %> aws",
|
|
69
|
+
"<%= config.bin %> <%= command.id %> local"
|
|
70
|
+
],
|
|
71
|
+
"flags": {
|
|
72
|
+
"force": {
|
|
73
|
+
"char": "f",
|
|
74
|
+
"description": "redeploy hereya resources if already deployed",
|
|
75
|
+
"name": "force",
|
|
76
|
+
"allowNo": false,
|
|
77
|
+
"type": "boolean"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"hasDynamicHelp": false,
|
|
81
|
+
"hiddenAliases": [],
|
|
82
|
+
"id": "bootstrap",
|
|
83
|
+
"pluginAlias": "hereya-cli",
|
|
84
|
+
"pluginName": "hereya-cli",
|
|
85
|
+
"pluginType": "core",
|
|
86
|
+
"strict": true,
|
|
87
|
+
"enableJsonFlag": false,
|
|
88
|
+
"isESM": true,
|
|
89
|
+
"relativePath": [
|
|
90
|
+
"dist",
|
|
91
|
+
"commands",
|
|
92
|
+
"bootstrap",
|
|
93
|
+
"index.js"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
57
96
|
"deploy": {
|
|
58
97
|
"aliases": [],
|
|
59
98
|
"args": {},
|
|
@@ -102,45 +141,6 @@
|
|
|
102
141
|
"index.js"
|
|
103
142
|
]
|
|
104
143
|
},
|
|
105
|
-
"bootstrap": {
|
|
106
|
-
"aliases": [],
|
|
107
|
-
"args": {
|
|
108
|
-
"infrastructureType": {
|
|
109
|
-
"description": "infrastructure to bootstrap. Options are local, aws",
|
|
110
|
-
"name": "infrastructureType",
|
|
111
|
-
"required": true
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"description": "Install necessary resources for hereya operations in an infrastructure.",
|
|
115
|
-
"examples": [
|
|
116
|
-
"<%= config.bin %> <%= command.id %> aws",
|
|
117
|
-
"<%= config.bin %> <%= command.id %> local"
|
|
118
|
-
],
|
|
119
|
-
"flags": {
|
|
120
|
-
"force": {
|
|
121
|
-
"char": "f",
|
|
122
|
-
"description": "redeploy hereya resources if already deployed",
|
|
123
|
-
"name": "force",
|
|
124
|
-
"allowNo": false,
|
|
125
|
-
"type": "boolean"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"hasDynamicHelp": false,
|
|
129
|
-
"hiddenAliases": [],
|
|
130
|
-
"id": "bootstrap",
|
|
131
|
-
"pluginAlias": "hereya-cli",
|
|
132
|
-
"pluginName": "hereya-cli",
|
|
133
|
-
"pluginType": "core",
|
|
134
|
-
"strict": true,
|
|
135
|
-
"enableJsonFlag": false,
|
|
136
|
-
"isESM": true,
|
|
137
|
-
"relativePath": [
|
|
138
|
-
"dist",
|
|
139
|
-
"commands",
|
|
140
|
-
"bootstrap",
|
|
141
|
-
"index.js"
|
|
142
|
-
]
|
|
143
|
-
},
|
|
144
144
|
"down": {
|
|
145
145
|
"aliases": [],
|
|
146
146
|
"args": {},
|
|
@@ -571,6 +571,37 @@
|
|
|
571
571
|
"index.js"
|
|
572
572
|
]
|
|
573
573
|
},
|
|
574
|
+
"workspace:delete": {
|
|
575
|
+
"aliases": [],
|
|
576
|
+
"args": {
|
|
577
|
+
"name": {
|
|
578
|
+
"description": "name of the workspace to delete",
|
|
579
|
+
"name": "name",
|
|
580
|
+
"required": true
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"description": "Delete a workspace if it exists.",
|
|
584
|
+
"examples": [
|
|
585
|
+
"<%= config.bin %> <%= command.id %> dev"
|
|
586
|
+
],
|
|
587
|
+
"flags": {},
|
|
588
|
+
"hasDynamicHelp": false,
|
|
589
|
+
"hiddenAliases": [],
|
|
590
|
+
"id": "workspace:delete",
|
|
591
|
+
"pluginAlias": "hereya-cli",
|
|
592
|
+
"pluginName": "hereya-cli",
|
|
593
|
+
"pluginType": "core",
|
|
594
|
+
"strict": true,
|
|
595
|
+
"enableJsonFlag": false,
|
|
596
|
+
"isESM": true,
|
|
597
|
+
"relativePath": [
|
|
598
|
+
"dist",
|
|
599
|
+
"commands",
|
|
600
|
+
"workspace",
|
|
601
|
+
"delete",
|
|
602
|
+
"index.js"
|
|
603
|
+
]
|
|
604
|
+
},
|
|
574
605
|
"workspace:env": {
|
|
575
606
|
"aliases": [],
|
|
576
607
|
"args": {
|
|
@@ -621,37 +652,6 @@
|
|
|
621
652
|
"index.js"
|
|
622
653
|
]
|
|
623
654
|
},
|
|
624
|
-
"workspace:delete": {
|
|
625
|
-
"aliases": [],
|
|
626
|
-
"args": {
|
|
627
|
-
"name": {
|
|
628
|
-
"description": "name of the workspace to delete",
|
|
629
|
-
"name": "name",
|
|
630
|
-
"required": true
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
"description": "Delete a workspace if it exists.",
|
|
634
|
-
"examples": [
|
|
635
|
-
"<%= config.bin %> <%= command.id %> dev"
|
|
636
|
-
],
|
|
637
|
-
"flags": {},
|
|
638
|
-
"hasDynamicHelp": false,
|
|
639
|
-
"hiddenAliases": [],
|
|
640
|
-
"id": "workspace:delete",
|
|
641
|
-
"pluginAlias": "hereya-cli",
|
|
642
|
-
"pluginName": "hereya-cli",
|
|
643
|
-
"pluginType": "core",
|
|
644
|
-
"strict": true,
|
|
645
|
-
"enableJsonFlag": false,
|
|
646
|
-
"isESM": true,
|
|
647
|
-
"relativePath": [
|
|
648
|
-
"dist",
|
|
649
|
-
"commands",
|
|
650
|
-
"workspace",
|
|
651
|
-
"delete",
|
|
652
|
-
"index.js"
|
|
653
|
-
]
|
|
654
|
-
},
|
|
655
655
|
"workspace:install": {
|
|
656
656
|
"aliases": [],
|
|
657
657
|
"args": {
|
|
@@ -884,5 +884,5 @@
|
|
|
884
884
|
]
|
|
885
885
|
}
|
|
886
886
|
},
|
|
887
|
-
"version": "0.
|
|
887
|
+
"version": "0.14.0"
|
|
888
888
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hereya-cli",
|
|
3
3
|
"description": "Infrastructure as Package",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.14.0",
|
|
5
5
|
"author": "Hereya Developers",
|
|
6
6
|
"bin": {
|
|
7
7
|
"hereya": "./bin/run.js"
|
|
@@ -19,12 +19,11 @@
|
|
|
19
19
|
"@oclif/core": "^3",
|
|
20
20
|
"@oclif/plugin-help": "^6",
|
|
21
21
|
"@oclif/plugin-plugins": "^5",
|
|
22
|
-
"@octokit/rest": "^20.1.1",
|
|
23
|
-
"cli-spinners": "^3.2.0",
|
|
24
22
|
"glob": "^10.4.1",
|
|
25
23
|
"ignore": "^5.3.1",
|
|
26
|
-
"
|
|
24
|
+
"listr2": "^8.2.5",
|
|
27
25
|
"simple-git": "^3.24.0",
|
|
26
|
+
"typescript-retry-decorator": "^2.4.2",
|
|
28
27
|
"unzip-stream": "^0.3.4",
|
|
29
28
|
"yaml": "^2.4.2",
|
|
30
29
|
"zod": "^3.23.8"
|