@wocker/ws 1.0.27 → 1.0.28-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.
@@ -29,6 +29,7 @@ let DnsController = class DnsController {
29
29
  exports.DnsController = DnsController;
30
30
  __decorate([
31
31
  (0, core_1.Command)("dns:start"),
32
+ (0, core_1.Description)("Starting DNS service"),
32
33
  __param(0, (0, core_1.Option)("restart", "r")),
33
34
  __param(1, (0, core_1.Option)("rebuild", "b")),
34
35
  __metadata("design:type", Function),
@@ -37,11 +38,13 @@ __decorate([
37
38
  ], DnsController.prototype, "start", null);
38
39
  __decorate([
39
40
  (0, core_1.Command)("dns:stop"),
41
+ (0, core_1.Description)("Stopping DNS service"),
40
42
  __metadata("design:type", Function),
41
43
  __metadata("design:paramtypes", []),
42
44
  __metadata("design:returntype", Promise)
43
45
  ], DnsController.prototype, "stop", null);
44
46
  exports.DnsController = DnsController = __decorate([
45
47
  (0, core_1.Controller)(),
48
+ (0, core_1.Description)("DNS commands"),
46
49
  __metadata("design:paramtypes", [DnsService_1.DnsService])
47
50
  ], DnsController);
@@ -679,6 +679,7 @@ __decorate([
679
679
  ], ProjectController.prototype, "buildArgsList", null);
680
680
  __decorate([
681
681
  (0, core_1.Command)("build-args:get [...buildArgs]"),
682
+ (0, core_1.Description)("Get build args"),
682
683
  __param(0, (0, core_1.Param)("buildArgs")),
683
684
  __param(1, (0, core_1.Option)("name", "n")),
684
685
  __param(1, (0, core_1.Description)("The name of the project")),
@@ -760,6 +761,7 @@ __decorate([
760
761
  ], ProjectController.prototype, "clearDomain", null);
761
762
  __decorate([
762
763
  (0, core_1.Command)("ports"),
764
+ (0, core_1.Description)("List of ports"),
763
765
  __param(0, (0, core_1.Option)("name", "n")),
764
766
  __param(0, (0, core_1.Description)("The name of the project")),
765
767
  __param(1, (0, core_1.Option)("service", "s")),
@@ -769,6 +771,7 @@ __decorate([
769
771
  ], ProjectController.prototype, "ports", null);
770
772
  __decorate([
771
773
  (0, core_1.Command)("port:add <host-port>:<container-port>"),
774
+ (0, core_1.Description)("Add port"),
772
775
  __param(0, (0, core_1.Param)("host-port")),
773
776
  __param(1, (0, core_1.Param)("container-port")),
774
777
  __param(2, (0, core_1.Option)("name", {
@@ -782,6 +785,7 @@ __decorate([
782
785
  ], ProjectController.prototype, "addPort", null);
783
786
  __decorate([
784
787
  (0, core_1.Command)("port:remove <host-port>:<container-port>"),
788
+ (0, core_1.Description)("Remove port"),
785
789
  __param(0, (0, core_1.Param)("host-port")),
786
790
  __param(1, (0, core_1.Param)("container-port")),
787
791
  __param(2, (0, core_1.Option)("name", {
@@ -795,6 +799,7 @@ __decorate([
795
799
  ], ProjectController.prototype, "removePort", null);
796
800
  __decorate([
797
801
  (0, core_1.Command)("port:clear"),
802
+ (0, core_1.Description)("Clear ports"),
798
803
  __param(0, (0, core_1.Option)("name", "n")),
799
804
  __param(0, (0, core_1.Description)("The name of the project")),
800
805
  __metadata("design:type", Function),
@@ -803,6 +808,7 @@ __decorate([
803
808
  ], ProjectController.prototype, "clearPorts", null);
804
809
  __decorate([
805
810
  (0, core_1.Command)("config"),
811
+ (0, core_1.Description)("List of environment variables"),
806
812
  __param(0, (0, core_1.Option)("name", "n")),
807
813
  __param(0, (0, core_1.Description)("The name of the project")),
808
814
  __param(1, (0, core_1.Option)("global", "g")),
@@ -814,6 +820,7 @@ __decorate([
814
820
  ], ProjectController.prototype, "configList", null);
815
821
  __decorate([
816
822
  (0, core_1.Command)("config:get [...key]"),
823
+ (0, core_1.Description)("Get environment variable"),
817
824
  __param(0, (0, core_1.Param)("key")),
818
825
  __param(1, (0, core_1.Option)("name", "n")),
819
826
  __param(1, (0, core_1.Description)("The name of the project")),
@@ -837,6 +844,7 @@ __decorate([
837
844
  ], ProjectController.prototype, "configSet", null);
838
845
  __decorate([
839
846
  (0, core_1.Command)("config:unset [...configs]"),
847
+ (0, core_1.Description)("Unset environment variable"),
840
848
  __param(0, (0, core_1.Param)("configs")),
841
849
  __param(1, (0, core_1.Option)("global", "g")),
842
850
  __param(2, (0, core_1.Option)("name", "n")),
@@ -849,6 +857,7 @@ __decorate([
849
857
  ], ProjectController.prototype, "configUnset", null);
850
858
  __decorate([
851
859
  (0, core_1.Command)("volumes"),
860
+ (0, core_1.Description)("List of volumes"),
852
861
  __param(0, (0, core_1.Option)("name", "n")),
853
862
  __param(0, (0, core_1.Description)("The name of the project")),
854
863
  __metadata("design:type", Function),
@@ -857,6 +866,7 @@ __decorate([
857
866
  ], ProjectController.prototype, "volumeList", null);
858
867
  __decorate([
859
868
  (0, core_1.Command)("volume:mount [...volumes]"),
869
+ (0, core_1.Description)("Mount volume"),
860
870
  __param(0, (0, core_1.Param)("volumes")),
861
871
  __param(1, (0, core_1.Option)("name", "n")),
862
872
  __param(1, (0, core_1.Description)("The name of the project")),
@@ -866,6 +876,7 @@ __decorate([
866
876
  ], ProjectController.prototype, "volumeMount", null);
867
877
  __decorate([
868
878
  (0, core_1.Command)("volume:unmount [...volumes]"),
879
+ (0, core_1.Description)("Unmount volume"),
869
880
  __param(0, (0, core_1.Param)("volumes")),
870
881
  __param(1, (0, core_1.Option)("name", "n")),
871
882
  __param(1, (0, core_1.Description)("The name of the project")),
@@ -923,6 +934,7 @@ __decorate([
923
934
  ], ProjectController.prototype, "attach", null);
924
935
  __decorate([
925
936
  (0, core_1.Command)("run <script> [...args]"),
937
+ (0, core_1.Description)("Run script"),
926
938
  __param(0, (0, core_1.Param)("script")),
927
939
  __param(1, (0, core_1.Param)("args")),
928
940
  __param(2, (0, core_1.Option)("name", "n")),
@@ -935,6 +947,7 @@ __decorate([
935
947
  ], ProjectController.prototype, "run", null);
936
948
  __decorate([
937
949
  (0, core_1.Command)("exec [...command]"),
950
+ (0, core_1.Description)("Execute command"),
938
951
  __param(0, (0, core_1.Param)("command")),
939
952
  __param(1, (0, core_1.Option)("name", "n")),
940
953
  __param(1, (0, core_1.Description)("The name of the project")),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wocker/ws",
3
3
  "type": "commonjs",
4
- "version": "1.0.27",
4
+ "version": "1.0.28-beta.0",
5
5
  "author": "Kris Papercut <krispcut@gmail.com>",
6
6
  "description": "Docker workspace for web projects",
7
7
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  "make-coverage-badge": "make-coverage-badge"
36
36
  },
37
37
  "dependencies": {
38
- "@wocker/core": "1.0.27",
38
+ "@wocker/core": "^1.0.28-beta.0",
39
39
  "@wocker/docker-module": "^0.0.1",
40
40
  "@wocker/utils": "^2.0.6",
41
41
  "async-mutex": "^0.4.0",
@@ -58,7 +58,7 @@
58
58
  "@types/node": "^24.5.2",
59
59
  "@types/unzipper": "^0.10.10",
60
60
  "@wocker/docker-mock-module": "^0.0.1",
61
- "@wocker/testing": "^1.0.4",
61
+ "@wocker/testing": "^1.0.4-beta.1",
62
62
  "jest": "^30.1.3",
63
63
  "make-coverage-badge": "^1.2.0",
64
64
  "memfs": "^4.49.0",
@@ -66,5 +66,13 @@
66
66
  "ts-node": "^10.9.2",
67
67
  "typescript": "^5.9.3",
68
68
  "unionfs": "^4.5.4"
69
+ },
70
+ "overrides": {
71
+ "@wocker/testing": {
72
+ "@wocker/core": "^1.0.28-beta.0"
73
+ },
74
+ "@wocker/docker-mock-module": {
75
+ "@wocker/core": "^1.0.28-beta.0"
76
+ }
69
77
  }
70
78
  }