oclif 4.22.4 → 4.22.6

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.
@@ -42,6 +42,7 @@ const node_child_process_1 = require("node:child_process");
42
42
  const fsPromises = __importStar(require("node:fs/promises"));
43
43
  const node_path_1 = __importDefault(require("node:path"));
44
44
  const node_util_1 = require("node:util");
45
+ const semver_1 = require("semver");
45
46
  const Tarballs = __importStar(require("../../tarballs"));
46
47
  const upload_util_1 = require("../../upload-util");
47
48
  const util_1 = require("../../util");
@@ -155,7 +156,16 @@ class PackDeb extends core_1.Command {
155
156
  await exec(`${dpkgDeb} "${workspace}" "${node_path_1.default.join(dist, versionedDebBase)}"`);
156
157
  this.log(`finished building debian / ${arch}`);
157
158
  };
158
- const arches = (0, util_1.uniq)(buildConfig.targets.filter((t) => t.platform === 'linux').map((t) => t.arch));
159
+ const arches = (0, util_1.uniq)(buildConfig.targets
160
+ .filter((t) => t.platform === 'linux')
161
+ .filter((t) => {
162
+ // Skip 32-bit Arm for Node.js 24+
163
+ if (t.arch === 'arm' && (0, semver_1.gt)(buildConfig.nodeVersion, '24.0.0')) {
164
+ return false;
165
+ }
166
+ return true;
167
+ })
168
+ .map((t) => t.arch));
159
169
  await Promise.all(arches.map((a) => build(a)));
160
170
  await exec('apt-ftparchive packages . > Packages', { cwd: dist });
161
171
  this.log('debian packages created');
@@ -106,7 +106,9 @@ class UploadTarballs extends core_1.Command {
106
106
  const manifest = (0, upload_util_1.templateShortKey)('manifest', shortKeyInputs);
107
107
  const cloudKey = `${(0, upload_util_1.commitAWSDir)(config.version, buildConfig.gitSha, s3Config)}/${manifest}`;
108
108
  const local = dist(manifest);
109
+ (0, log_1.log)(`checking for buildmanifest at ${local}`);
109
110
  if (fs.existsSync(local)) {
111
+ (0, log_1.log)(`uploading buildmanifest ${manifest}`);
110
112
  return aws_1.default.s3.uploadFile(dist(manifest), {
111
113
  ...S3Options,
112
114
  CacheControl: 'max-age=86400',
@@ -12,7 +12,6 @@ const node_fs_1 = require("node:fs");
12
12
  const promises_1 = require("node:fs/promises");
13
13
  const node_path_1 = __importDefault(require("node:path"));
14
14
  const node_util_1 = require("node:util");
15
- const semver_1 = require("semver");
16
15
  const log_1 = require("../log");
17
16
  const upload_util_1 = require("../upload-util");
18
17
  const util_1 = require("../util");
@@ -191,10 +190,6 @@ const extractCLI = async (tarball, c) => {
191
190
  ]);
192
191
  };
193
192
  const buildTarget = async (target, c, options) => {
194
- if (target.platform === 'win32' && target.arch === 'arm64' && (0, semver_1.lt)(c.nodeVersion, '20.0.0')) {
195
- core_1.ux.warn('win32-arm64 is only supported for node >=20.0.0. Skipping...');
196
- return;
197
- }
198
193
  const workspace = c.workspace(target);
199
194
  const { arch, platform } = target;
200
195
  const { bin, version } = c.config;
@@ -85,6 +85,18 @@ async function buildConfig(root, options = {}) {
85
85
  core_1.ux.warn('darwin-arm64 is only supported for node >=16.0.0. Skipping...');
86
86
  return false;
87
87
  }
88
+ if (t === 'linux-arm' && semver.gt(nodeVersion, '24.0.0')) {
89
+ core_1.ux.warn('linux-arm is not supported for Node.js 24 and later. Skipping...');
90
+ return false;
91
+ }
92
+ if (t === 'win32-x86' && semver.gt(nodeVersion, '24.0.0')) {
93
+ core_1.ux.warn('win32-x86 is not supported for Node.js 24 and later. Skipping...');
94
+ return false;
95
+ }
96
+ if (t === 'win32-arm64' && semver.lt(nodeVersion, '20.0.0')) {
97
+ core_1.ux.warn('win32-arm64 is only supported for node >=20.0.0. Skipping...');
98
+ return false;
99
+ }
88
100
  return true;
89
101
  })
90
102
  .map((t) => {
@@ -660,14 +660,32 @@
660
660
  "hook.js"
661
661
  ]
662
662
  },
663
- "upload:deb": {
663
+ "pack:deb": {
664
664
  "aliases": [],
665
665
  "args": {},
666
- "description": "Upload deb package built with `pack deb`.",
666
+ "description": "Add a pretarball script to your package.json if you need to run any scripts before the tarball is created.",
667
667
  "flags": {
668
- "dry-run": {
669
- "description": "Run the command without uploading to S3.",
670
- "name": "dry-run",
668
+ "compression": {
669
+ "char": "z",
670
+ "description": "For more details see the `-Zcompress-type` section at https://man7.org/linux/man-pages/man1/dpkg-deb.1.html",
671
+ "name": "compression",
672
+ "summary": "Override the default compression used by dpkg-deb.",
673
+ "hasDynamicHelp": false,
674
+ "multiple": false,
675
+ "options": [
676
+ "gzip",
677
+ "none",
678
+ "xz",
679
+ "zstd"
680
+ ],
681
+ "type": "option"
682
+ },
683
+ "prune-lockfiles": {
684
+ "description": "remove lockfiles in the tarball.",
685
+ "exclusive": [
686
+ "tarball"
687
+ ],
688
+ "name": "prune-lockfiles",
671
689
  "allowNo": false,
672
690
  "type": "boolean"
673
691
  },
@@ -688,32 +706,56 @@
688
706
  "hasDynamicHelp": false,
689
707
  "multiple": false,
690
708
  "type": "option"
709
+ },
710
+ "tarball": {
711
+ "char": "t",
712
+ "description": "Optionally specify a path to a tarball already generated by NPM.",
713
+ "exclusive": [
714
+ "prune-lockfiles"
715
+ ],
716
+ "name": "tarball",
717
+ "required": false,
718
+ "hasDynamicHelp": false,
719
+ "multiple": false,
720
+ "type": "option"
691
721
  }
692
722
  },
693
723
  "hasDynamicHelp": false,
694
724
  "hiddenAliases": [],
695
- "id": "upload:deb",
725
+ "id": "pack:deb",
696
726
  "pluginAlias": "oclif",
697
727
  "pluginName": "oclif",
698
728
  "pluginType": "core",
699
729
  "strict": true,
730
+ "summary": "Pack CLI into debian package.",
700
731
  "enableJsonFlag": false,
701
732
  "isESM": false,
702
733
  "relativePath": [
703
734
  "lib",
704
735
  "commands",
705
- "upload",
736
+ "pack",
706
737
  "deb.js"
707
738
  ]
708
739
  },
709
- "upload:macos": {
740
+ "pack:macos": {
710
741
  "aliases": [],
711
742
  "args": {},
712
- "description": "Upload macos installers built with `pack macos`.",
743
+ "description": "Add a pretarball script to your package.json if you need to run any scripts before the tarball is created.",
713
744
  "flags": {
714
- "dry-run": {
715
- "description": "Run the command without uploading to S3.",
716
- "name": "dry-run",
745
+ "additional-cli": {
746
+ "description": "An Oclif CLI other than the one listed in config.bin that should be made available to the user\nthe CLI should already exist in a directory named after the CLI that is the root of the tarball produced by \"oclif pack:tarballs\"",
747
+ "hidden": true,
748
+ "name": "additional-cli",
749
+ "hasDynamicHelp": false,
750
+ "multiple": false,
751
+ "type": "option"
752
+ },
753
+ "prune-lockfiles": {
754
+ "description": "remove lockfiles in the tarball.",
755
+ "exclusive": [
756
+ "tarball"
757
+ ],
758
+ "name": "prune-lockfiles",
717
759
  "allowNo": false,
718
760
  "type": "boolean"
719
761
  },
@@ -735,9 +777,20 @@
735
777
  "multiple": false,
736
778
  "type": "option"
737
779
  },
738
- "targets": {
780
+ "tarball": {
739
781
  "char": "t",
740
- "description": "Comma-separated targets to upload (e.g.: darwin-x64,darwin-arm64).",
782
+ "description": "Optionally specify a path to a tarball already generated by NPM.",
783
+ "exclusive": [
784
+ "prune-lockfiles"
785
+ ],
786
+ "name": "tarball",
787
+ "required": false,
788
+ "hasDynamicHelp": false,
789
+ "multiple": false,
790
+ "type": "option"
791
+ },
792
+ "targets": {
793
+ "description": "Comma-separated targets to pack (e.g.: darwin-x64,darwin-arm64).",
741
794
  "name": "targets",
742
795
  "hasDynamicHelp": false,
743
796
  "multiple": false,
@@ -746,28 +799,35 @@
746
799
  },
747
800
  "hasDynamicHelp": false,
748
801
  "hiddenAliases": [],
749
- "id": "upload:macos",
802
+ "id": "pack:macos",
750
803
  "pluginAlias": "oclif",
751
804
  "pluginName": "oclif",
752
805
  "pluginType": "core",
753
806
  "strict": true,
807
+ "summary": "Pack CLI into macOS .pkg",
754
808
  "enableJsonFlag": false,
755
809
  "isESM": false,
756
810
  "relativePath": [
757
811
  "lib",
758
812
  "commands",
759
- "upload",
813
+ "pack",
760
814
  "macos.js"
761
815
  ]
762
816
  },
763
- "upload:tarballs": {
817
+ "pack:tarballs": {
764
818
  "aliases": [],
765
819
  "args": {},
766
- "description": "Upload an oclif CLI to S3.",
820
+ "description": "This can be used to create oclif CLIs that use the system node or that come preloaded with a node binary.\n\nAdd a pretarball script to your package.json if you need to run any scripts before the tarball is created.",
767
821
  "flags": {
768
- "dry-run": {
769
- "description": "Run the command without uploading to S3.",
770
- "name": "dry-run",
822
+ "parallel": {
823
+ "description": "Build tarballs in parallel.",
824
+ "name": "parallel",
825
+ "allowNo": false,
826
+ "type": "boolean"
827
+ },
828
+ "prune-lockfiles": {
829
+ "description": "remove lockfiles in the tarball.",
830
+ "name": "prune-lockfiles",
771
831
  "allowNo": false,
772
832
  "type": "boolean"
773
833
  },
@@ -789,16 +849,25 @@
789
849
  "multiple": false,
790
850
  "type": "option"
791
851
  },
852
+ "tarball": {
853
+ "char": "l",
854
+ "description": "Optionally specify a path to a tarball already generated by NPM.",
855
+ "name": "tarball",
856
+ "required": false,
857
+ "hasDynamicHelp": false,
858
+ "multiple": false,
859
+ "type": "option"
860
+ },
792
861
  "targets": {
793
862
  "char": "t",
794
- "description": "Comma-separated targets to upload (e.g.: linux-arm,win32-x64).",
863
+ "description": "Comma-separated targets to pack (e.g.: linux-arm,win32-x64).",
795
864
  "name": "targets",
796
865
  "hasDynamicHelp": false,
797
866
  "multiple": false,
798
867
  "type": "option"
799
868
  },
800
869
  "xz": {
801
- "description": "Also upload xz.",
870
+ "description": "Also build xz.",
802
871
  "name": "xz",
803
872
  "allowNo": true,
804
873
  "type": "boolean"
@@ -806,28 +875,54 @@
806
875
  },
807
876
  "hasDynamicHelp": false,
808
877
  "hiddenAliases": [],
809
- "id": "upload:tarballs",
878
+ "id": "pack:tarballs",
810
879
  "pluginAlias": "oclif",
811
880
  "pluginName": "oclif",
812
881
  "pluginType": "core",
813
882
  "strict": true,
883
+ "summary": "Package oclif CLI into tarballs.",
814
884
  "enableJsonFlag": false,
815
885
  "isESM": false,
816
886
  "relativePath": [
817
887
  "lib",
818
888
  "commands",
819
- "upload",
889
+ "pack",
820
890
  "tarballs.js"
821
891
  ]
822
892
  },
823
- "upload:win": {
893
+ "pack:win": {
824
894
  "aliases": [],
825
895
  "args": {},
826
- "description": "Upload windows installers built with `pack win`.",
896
+ "description": "You need to have 7zip, nsis (makensis), and grep installed on your machine in order to run this command.\n\nThis command will produce unsigned installers unless you supply WINDOWS_SIGNING_PASS (prefixed with the name of your executable, e.g. OCLIF_WINDOWS_SIGNING_PASS) in the environment and have set the windows.name and windows.keypath properties in your package.json's oclif property.\n\nAdd a pretarball script to your package.json if you need to run any scripts before the tarball is created.",
827
897
  "flags": {
828
- "dry-run": {
829
- "description": "Run the command without uploading to S3.",
830
- "name": "dry-run",
898
+ "additional-cli": {
899
+ "description": "An Oclif CLI other than the one listed in config.bin that should be made available to the user\nthe CLI should already exist in a directory named after the CLI that is the root of the tarball produced by \"oclif pack:tarballs\".",
900
+ "hidden": true,
901
+ "name": "additional-cli",
902
+ "hasDynamicHelp": false,
903
+ "multiple": false,
904
+ "type": "option"
905
+ },
906
+ "defender-exclusion": {
907
+ "description": "There is no way to set a hidden checkbox with \"true\" as a default...the user can always allow full security",
908
+ "name": "defender-exclusion",
909
+ "summary": "Set to \"checked\" or \"unchecked\" to set the default value for the checkbox. Set to \"hidden\" to hide the option (will let defender do its thing).",
910
+ "default": "checked",
911
+ "hasDynamicHelp": false,
912
+ "multiple": false,
913
+ "options": [
914
+ "checked",
915
+ "unchecked",
916
+ "hidden"
917
+ ],
918
+ "type": "option"
919
+ },
920
+ "prune-lockfiles": {
921
+ "description": "remove lockfiles in the tarball.",
922
+ "exclusive": [
923
+ "tarball"
924
+ ],
925
+ "name": "prune-lockfiles",
831
926
  "allowNo": false,
832
927
  "type": "boolean"
833
928
  },
@@ -849,6 +944,18 @@
849
944
  "multiple": false,
850
945
  "type": "option"
851
946
  },
947
+ "tarball": {
948
+ "char": "t",
949
+ "description": "Optionally specify a path to a tarball already generated by NPM.",
950
+ "exclusive": [
951
+ "prune-lockfiles"
952
+ ],
953
+ "name": "tarball",
954
+ "required": false,
955
+ "hasDynamicHelp": false,
956
+ "multiple": false,
957
+ "type": "option"
958
+ },
852
959
  "targets": {
853
960
  "description": "Comma-separated targets to pack (e.g.: win32-x64,win32-x86,win32-arm64).",
854
961
  "name": "targets",
@@ -859,46 +966,29 @@
859
966
  },
860
967
  "hasDynamicHelp": false,
861
968
  "hiddenAliases": [],
862
- "id": "upload:win",
969
+ "id": "pack:win",
863
970
  "pluginAlias": "oclif",
864
971
  "pluginName": "oclif",
865
972
  "pluginType": "core",
866
973
  "strict": true,
974
+ "summary": "Create windows installer from oclif CLI",
867
975
  "enableJsonFlag": false,
868
976
  "isESM": false,
869
977
  "relativePath": [
870
978
  "lib",
871
979
  "commands",
872
- "upload",
980
+ "pack",
873
981
  "win.js"
874
982
  ]
875
983
  },
876
- "pack:deb": {
984
+ "upload:deb": {
877
985
  "aliases": [],
878
986
  "args": {},
879
- "description": "Add a pretarball script to your package.json if you need to run any scripts before the tarball is created.",
987
+ "description": "Upload deb package built with `pack deb`.",
880
988
  "flags": {
881
- "compression": {
882
- "char": "z",
883
- "description": "For more details see the `-Zcompress-type` section at https://man7.org/linux/man-pages/man1/dpkg-deb.1.html",
884
- "name": "compression",
885
- "summary": "Override the default compression used by dpkg-deb.",
886
- "hasDynamicHelp": false,
887
- "multiple": false,
888
- "options": [
889
- "gzip",
890
- "none",
891
- "xz",
892
- "zstd"
893
- ],
894
- "type": "option"
895
- },
896
- "prune-lockfiles": {
897
- "description": "remove lockfiles in the tarball.",
898
- "exclusive": [
899
- "tarball"
900
- ],
901
- "name": "prune-lockfiles",
989
+ "dry-run": {
990
+ "description": "Run the command without uploading to S3.",
991
+ "name": "dry-run",
902
992
  "allowNo": false,
903
993
  "type": "boolean"
904
994
  },
@@ -919,56 +1009,32 @@
919
1009
  "hasDynamicHelp": false,
920
1010
  "multiple": false,
921
1011
  "type": "option"
922
- },
923
- "tarball": {
924
- "char": "t",
925
- "description": "Optionally specify a path to a tarball already generated by NPM.",
926
- "exclusive": [
927
- "prune-lockfiles"
928
- ],
929
- "name": "tarball",
930
- "required": false,
931
- "hasDynamicHelp": false,
932
- "multiple": false,
933
- "type": "option"
934
1012
  }
935
1013
  },
936
1014
  "hasDynamicHelp": false,
937
1015
  "hiddenAliases": [],
938
- "id": "pack:deb",
1016
+ "id": "upload:deb",
939
1017
  "pluginAlias": "oclif",
940
1018
  "pluginName": "oclif",
941
1019
  "pluginType": "core",
942
1020
  "strict": true,
943
- "summary": "Pack CLI into debian package.",
944
1021
  "enableJsonFlag": false,
945
1022
  "isESM": false,
946
1023
  "relativePath": [
947
1024
  "lib",
948
1025
  "commands",
949
- "pack",
1026
+ "upload",
950
1027
  "deb.js"
951
1028
  ]
952
1029
  },
953
- "pack:macos": {
1030
+ "upload:macos": {
954
1031
  "aliases": [],
955
1032
  "args": {},
956
- "description": "Add a pretarball script to your package.json if you need to run any scripts before the tarball is created.",
1033
+ "description": "Upload macos installers built with `pack macos`.",
957
1034
  "flags": {
958
- "additional-cli": {
959
- "description": "An Oclif CLI other than the one listed in config.bin that should be made available to the user\nthe CLI should already exist in a directory named after the CLI that is the root of the tarball produced by \"oclif pack:tarballs\"",
960
- "hidden": true,
961
- "name": "additional-cli",
962
- "hasDynamicHelp": false,
963
- "multiple": false,
964
- "type": "option"
965
- },
966
- "prune-lockfiles": {
967
- "description": "remove lockfiles in the tarball.",
968
- "exclusive": [
969
- "tarball"
970
- ],
971
- "name": "prune-lockfiles",
1035
+ "dry-run": {
1036
+ "description": "Run the command without uploading to S3.",
1037
+ "name": "dry-run",
972
1038
  "allowNo": false,
973
1039
  "type": "boolean"
974
1040
  },
@@ -990,20 +1056,9 @@
990
1056
  "multiple": false,
991
1057
  "type": "option"
992
1058
  },
993
- "tarball": {
994
- "char": "t",
995
- "description": "Optionally specify a path to a tarball already generated by NPM.",
996
- "exclusive": [
997
- "prune-lockfiles"
998
- ],
999
- "name": "tarball",
1000
- "required": false,
1001
- "hasDynamicHelp": false,
1002
- "multiple": false,
1003
- "type": "option"
1004
- },
1005
1059
  "targets": {
1006
- "description": "Comma-separated targets to pack (e.g.: darwin-x64,darwin-arm64).",
1060
+ "char": "t",
1061
+ "description": "Comma-separated targets to upload (e.g.: darwin-x64,darwin-arm64).",
1007
1062
  "name": "targets",
1008
1063
  "hasDynamicHelp": false,
1009
1064
  "multiple": false,
@@ -1012,35 +1067,28 @@
1012
1067
  },
1013
1068
  "hasDynamicHelp": false,
1014
1069
  "hiddenAliases": [],
1015
- "id": "pack:macos",
1070
+ "id": "upload:macos",
1016
1071
  "pluginAlias": "oclif",
1017
1072
  "pluginName": "oclif",
1018
1073
  "pluginType": "core",
1019
1074
  "strict": true,
1020
- "summary": "Pack CLI into macOS .pkg",
1021
1075
  "enableJsonFlag": false,
1022
1076
  "isESM": false,
1023
1077
  "relativePath": [
1024
1078
  "lib",
1025
1079
  "commands",
1026
- "pack",
1080
+ "upload",
1027
1081
  "macos.js"
1028
1082
  ]
1029
1083
  },
1030
- "pack:tarballs": {
1084
+ "upload:tarballs": {
1031
1085
  "aliases": [],
1032
1086
  "args": {},
1033
- "description": "This can be used to create oclif CLIs that use the system node or that come preloaded with a node binary.\n\nAdd a pretarball script to your package.json if you need to run any scripts before the tarball is created.",
1087
+ "description": "Upload an oclif CLI to S3.",
1034
1088
  "flags": {
1035
- "parallel": {
1036
- "description": "Build tarballs in parallel.",
1037
- "name": "parallel",
1038
- "allowNo": false,
1039
- "type": "boolean"
1040
- },
1041
- "prune-lockfiles": {
1042
- "description": "remove lockfiles in the tarball.",
1043
- "name": "prune-lockfiles",
1089
+ "dry-run": {
1090
+ "description": "Run the command without uploading to S3.",
1091
+ "name": "dry-run",
1044
1092
  "allowNo": false,
1045
1093
  "type": "boolean"
1046
1094
  },
@@ -1062,25 +1110,16 @@
1062
1110
  "multiple": false,
1063
1111
  "type": "option"
1064
1112
  },
1065
- "tarball": {
1066
- "char": "l",
1067
- "description": "Optionally specify a path to a tarball already generated by NPM.",
1068
- "name": "tarball",
1069
- "required": false,
1070
- "hasDynamicHelp": false,
1071
- "multiple": false,
1072
- "type": "option"
1073
- },
1074
1113
  "targets": {
1075
1114
  "char": "t",
1076
- "description": "Comma-separated targets to pack (e.g.: linux-arm,win32-x64).",
1115
+ "description": "Comma-separated targets to upload (e.g.: linux-arm,win32-x64).",
1077
1116
  "name": "targets",
1078
1117
  "hasDynamicHelp": false,
1079
1118
  "multiple": false,
1080
1119
  "type": "option"
1081
1120
  },
1082
1121
  "xz": {
1083
- "description": "Also build xz.",
1122
+ "description": "Also upload xz.",
1084
1123
  "name": "xz",
1085
1124
  "allowNo": true,
1086
1125
  "type": "boolean"
@@ -1088,54 +1127,28 @@
1088
1127
  },
1089
1128
  "hasDynamicHelp": false,
1090
1129
  "hiddenAliases": [],
1091
- "id": "pack:tarballs",
1130
+ "id": "upload:tarballs",
1092
1131
  "pluginAlias": "oclif",
1093
1132
  "pluginName": "oclif",
1094
1133
  "pluginType": "core",
1095
1134
  "strict": true,
1096
- "summary": "Package oclif CLI into tarballs.",
1097
1135
  "enableJsonFlag": false,
1098
1136
  "isESM": false,
1099
1137
  "relativePath": [
1100
1138
  "lib",
1101
1139
  "commands",
1102
- "pack",
1140
+ "upload",
1103
1141
  "tarballs.js"
1104
1142
  ]
1105
1143
  },
1106
- "pack:win": {
1144
+ "upload:win": {
1107
1145
  "aliases": [],
1108
1146
  "args": {},
1109
- "description": "You need to have 7zip, nsis (makensis), and grep installed on your machine in order to run this command.\n\nThis command will produce unsigned installers unless you supply WINDOWS_SIGNING_PASS (prefixed with the name of your executable, e.g. OCLIF_WINDOWS_SIGNING_PASS) in the environment and have set the windows.name and windows.keypath properties in your package.json's oclif property.\n\nAdd a pretarball script to your package.json if you need to run any scripts before the tarball is created.",
1147
+ "description": "Upload windows installers built with `pack win`.",
1110
1148
  "flags": {
1111
- "additional-cli": {
1112
- "description": "An Oclif CLI other than the one listed in config.bin that should be made available to the user\nthe CLI should already exist in a directory named after the CLI that is the root of the tarball produced by \"oclif pack:tarballs\".",
1113
- "hidden": true,
1114
- "name": "additional-cli",
1115
- "hasDynamicHelp": false,
1116
- "multiple": false,
1117
- "type": "option"
1118
- },
1119
- "defender-exclusion": {
1120
- "description": "There is no way to set a hidden checkbox with \"true\" as a default...the user can always allow full security",
1121
- "name": "defender-exclusion",
1122
- "summary": "Set to \"checked\" or \"unchecked\" to set the default value for the checkbox. Set to \"hidden\" to hide the option (will let defender do its thing).",
1123
- "default": "checked",
1124
- "hasDynamicHelp": false,
1125
- "multiple": false,
1126
- "options": [
1127
- "checked",
1128
- "unchecked",
1129
- "hidden"
1130
- ],
1131
- "type": "option"
1132
- },
1133
- "prune-lockfiles": {
1134
- "description": "remove lockfiles in the tarball.",
1135
- "exclusive": [
1136
- "tarball"
1137
- ],
1138
- "name": "prune-lockfiles",
1149
+ "dry-run": {
1150
+ "description": "Run the command without uploading to S3.",
1151
+ "name": "dry-run",
1139
1152
  "allowNo": false,
1140
1153
  "type": "boolean"
1141
1154
  },
@@ -1157,18 +1170,6 @@
1157
1170
  "multiple": false,
1158
1171
  "type": "option"
1159
1172
  },
1160
- "tarball": {
1161
- "char": "t",
1162
- "description": "Optionally specify a path to a tarball already generated by NPM.",
1163
- "exclusive": [
1164
- "prune-lockfiles"
1165
- ],
1166
- "name": "tarball",
1167
- "required": false,
1168
- "hasDynamicHelp": false,
1169
- "multiple": false,
1170
- "type": "option"
1171
- },
1172
1173
  "targets": {
1173
1174
  "description": "Comma-separated targets to pack (e.g.: win32-x64,win32-x86,win32-arm64).",
1174
1175
  "name": "targets",
@@ -1179,21 +1180,20 @@
1179
1180
  },
1180
1181
  "hasDynamicHelp": false,
1181
1182
  "hiddenAliases": [],
1182
- "id": "pack:win",
1183
+ "id": "upload:win",
1183
1184
  "pluginAlias": "oclif",
1184
1185
  "pluginName": "oclif",
1185
1186
  "pluginType": "core",
1186
1187
  "strict": true,
1187
- "summary": "Create windows installer from oclif CLI",
1188
1188
  "enableJsonFlag": false,
1189
1189
  "isESM": false,
1190
1190
  "relativePath": [
1191
1191
  "lib",
1192
1192
  "commands",
1193
- "pack",
1193
+ "upload",
1194
1194
  "win.js"
1195
1195
  ]
1196
1196
  }
1197
1197
  },
1198
- "version": "4.22.4"
1198
+ "version": "4.22.6"
1199
1199
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oclif",
3
3
  "description": "oclif: create your own CLI",
4
- "version": "4.22.4",
4
+ "version": "4.22.6",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "oclif": "bin/run.js"
@@ -13,7 +13,7 @@
13
13
  "@inquirer/confirm": "^3.1.22",
14
14
  "@inquirer/input": "^2.2.4",
15
15
  "@inquirer/select": "^2.5.0",
16
- "@oclif/core": "^4.5.1",
16
+ "@oclif/core": "^4.5.2",
17
17
  "@oclif/plugin-help": "^6.2.29",
18
18
  "@oclif/plugin-not-found": "^3.2.61",
19
19
  "@oclif/plugin-warn-if-update-available": "^3.1.44",
@@ -60,7 +60,7 @@
60
60
  "eslint-plugin-perfectionist": "^4",
61
61
  "husky": "^9.1.7",
62
62
  "lint-staged": "^15",
63
- "mocha": "^10.8.2",
63
+ "mocha": "^11",
64
64
  "nyc": "^15.1.0",
65
65
  "prettier": "^3.6.2",
66
66
  "shelljs": "^0.10.0",