oclif 4.16.5 → 4.17.1
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/lib/commands/pack/tarballs.js +1 -2
- package/lib/tarballs/build.js +2 -2
- package/oclif.manifest.json +173 -173
- package/package.json +2 -2
|
@@ -53,8 +53,6 @@ Add a pretarball script to your package.json if you need to run any scripts befo
|
|
|
53
53
|
};
|
|
54
54
|
static summary = 'Package oclif CLI into tarballs.';
|
|
55
55
|
async run() {
|
|
56
|
-
if (process.platform === 'win32')
|
|
57
|
-
throw new Error('pack does not function on windows');
|
|
58
56
|
const { flags } = await this.parse(PackTarballs);
|
|
59
57
|
const buildConfig = await Tarballs.buildConfig(flags.root, { targets: flags?.targets?.split(','), xz: flags.xz });
|
|
60
58
|
if (buildConfig.targets.length === 0) {
|
|
@@ -62,6 +60,7 @@ Add a pretarball script to your package.json if you need to run any scripts befo
|
|
|
62
60
|
}
|
|
63
61
|
await Tarballs.build(buildConfig, {
|
|
64
62
|
parallel: flags.parallel,
|
|
63
|
+
...(process.platform === 'win32' ? { platform: 'win32' } : {}),
|
|
65
64
|
pruneLockfiles: flags['prune-lockfiles'],
|
|
66
65
|
tarball: flags.tarball,
|
|
67
66
|
});
|
package/lib/tarballs/build.js
CHANGED
|
@@ -57,8 +57,8 @@ const pack = async (from, to) => {
|
|
|
57
57
|
await (0, promises_1.mkdir)(path.dirname(to), { recursive: true });
|
|
58
58
|
(0, log_1.log)(`packing tarball from ${(0, util_1.prettifyPaths)(path.dirname(from))} to ${(0, util_1.prettifyPaths)(to)}`);
|
|
59
59
|
to.endsWith('gz')
|
|
60
|
-
? await exec(`tar czf ${to} ${path.basename(from)}`, { cwd })
|
|
61
|
-
: await exec(`tar cfJ ${to} ${path.basename(from)}`, { cwd });
|
|
60
|
+
? await exec(`tar czf ${to} ${path.basename(from)}${process.platform === 'win32' ? ' --force-local' : ''}`, { cwd })
|
|
61
|
+
: await exec(`tar cfJ ${to} ${path.basename(from)}${process.platform === 'win32' ? ' --force-local' : ''}`, { cwd });
|
|
62
62
|
};
|
|
63
63
|
const isYarnProject = (yarnRootPath) => {
|
|
64
64
|
const yarnLockFileName = 'yarn.lock';
|
package/oclif.manifest.json
CHANGED
|
@@ -660,14 +660,32 @@
|
|
|
660
660
|
"hook.js"
|
|
661
661
|
]
|
|
662
662
|
},
|
|
663
|
-
"
|
|
663
|
+
"pack:deb": {
|
|
664
664
|
"aliases": [],
|
|
665
665
|
"args": {},
|
|
666
|
-
"description": "
|
|
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
|
-
"
|
|
669
|
-
"
|
|
670
|
-
"
|
|
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
|
},
|
|
@@ -680,32 +698,56 @@
|
|
|
680
698
|
"hasDynamicHelp": false,
|
|
681
699
|
"multiple": false,
|
|
682
700
|
"type": "option"
|
|
701
|
+
},
|
|
702
|
+
"tarball": {
|
|
703
|
+
"char": "t",
|
|
704
|
+
"description": "Optionally specify a path to a tarball already generated by NPM.",
|
|
705
|
+
"exclusive": [
|
|
706
|
+
"prune-lockfiles"
|
|
707
|
+
],
|
|
708
|
+
"name": "tarball",
|
|
709
|
+
"required": false,
|
|
710
|
+
"hasDynamicHelp": false,
|
|
711
|
+
"multiple": false,
|
|
712
|
+
"type": "option"
|
|
683
713
|
}
|
|
684
714
|
},
|
|
685
715
|
"hasDynamicHelp": false,
|
|
686
716
|
"hiddenAliases": [],
|
|
687
|
-
"id": "
|
|
717
|
+
"id": "pack:deb",
|
|
688
718
|
"pluginAlias": "oclif",
|
|
689
719
|
"pluginName": "oclif",
|
|
690
720
|
"pluginType": "core",
|
|
691
721
|
"strict": true,
|
|
722
|
+
"summary": "Pack CLI into debian package.",
|
|
692
723
|
"enableJsonFlag": false,
|
|
693
724
|
"isESM": false,
|
|
694
725
|
"relativePath": [
|
|
695
726
|
"lib",
|
|
696
727
|
"commands",
|
|
697
|
-
"
|
|
728
|
+
"pack",
|
|
698
729
|
"deb.js"
|
|
699
730
|
]
|
|
700
731
|
},
|
|
701
|
-
"
|
|
732
|
+
"pack:macos": {
|
|
702
733
|
"aliases": [],
|
|
703
734
|
"args": {},
|
|
704
|
-
"description": "
|
|
735
|
+
"description": "Add a pretarball script to your package.json if you need to run any scripts before the tarball is created.",
|
|
705
736
|
"flags": {
|
|
706
|
-
"
|
|
707
|
-
"description": "
|
|
708
|
-
"
|
|
737
|
+
"additional-cli": {
|
|
738
|
+
"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\"",
|
|
739
|
+
"hidden": true,
|
|
740
|
+
"name": "additional-cli",
|
|
741
|
+
"hasDynamicHelp": false,
|
|
742
|
+
"multiple": false,
|
|
743
|
+
"type": "option"
|
|
744
|
+
},
|
|
745
|
+
"prune-lockfiles": {
|
|
746
|
+
"description": "remove lockfiles in the tarball.",
|
|
747
|
+
"exclusive": [
|
|
748
|
+
"tarball"
|
|
749
|
+
],
|
|
750
|
+
"name": "prune-lockfiles",
|
|
709
751
|
"allowNo": false,
|
|
710
752
|
"type": "boolean"
|
|
711
753
|
},
|
|
@@ -719,9 +761,20 @@
|
|
|
719
761
|
"multiple": false,
|
|
720
762
|
"type": "option"
|
|
721
763
|
},
|
|
722
|
-
"
|
|
764
|
+
"tarball": {
|
|
723
765
|
"char": "t",
|
|
724
|
-
"description": "
|
|
766
|
+
"description": "Optionally specify a path to a tarball already generated by NPM.",
|
|
767
|
+
"exclusive": [
|
|
768
|
+
"prune-lockfiles"
|
|
769
|
+
],
|
|
770
|
+
"name": "tarball",
|
|
771
|
+
"required": false,
|
|
772
|
+
"hasDynamicHelp": false,
|
|
773
|
+
"multiple": false,
|
|
774
|
+
"type": "option"
|
|
775
|
+
},
|
|
776
|
+
"targets": {
|
|
777
|
+
"description": "Comma-separated targets to pack (e.g.: darwin-x64,darwin-arm64).",
|
|
725
778
|
"name": "targets",
|
|
726
779
|
"hasDynamicHelp": false,
|
|
727
780
|
"multiple": false,
|
|
@@ -730,28 +783,35 @@
|
|
|
730
783
|
},
|
|
731
784
|
"hasDynamicHelp": false,
|
|
732
785
|
"hiddenAliases": [],
|
|
733
|
-
"id": "
|
|
786
|
+
"id": "pack:macos",
|
|
734
787
|
"pluginAlias": "oclif",
|
|
735
788
|
"pluginName": "oclif",
|
|
736
789
|
"pluginType": "core",
|
|
737
790
|
"strict": true,
|
|
791
|
+
"summary": "Pack CLI into macOS .pkg",
|
|
738
792
|
"enableJsonFlag": false,
|
|
739
793
|
"isESM": false,
|
|
740
794
|
"relativePath": [
|
|
741
795
|
"lib",
|
|
742
796
|
"commands",
|
|
743
|
-
"
|
|
797
|
+
"pack",
|
|
744
798
|
"macos.js"
|
|
745
799
|
]
|
|
746
800
|
},
|
|
747
|
-
"
|
|
801
|
+
"pack:tarballs": {
|
|
748
802
|
"aliases": [],
|
|
749
803
|
"args": {},
|
|
750
|
-
"description": "
|
|
804
|
+
"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.",
|
|
751
805
|
"flags": {
|
|
752
|
-
"
|
|
753
|
-
"description": "
|
|
754
|
-
"name": "
|
|
806
|
+
"parallel": {
|
|
807
|
+
"description": "Build tarballs in parallel.",
|
|
808
|
+
"name": "parallel",
|
|
809
|
+
"allowNo": false,
|
|
810
|
+
"type": "boolean"
|
|
811
|
+
},
|
|
812
|
+
"prune-lockfiles": {
|
|
813
|
+
"description": "remove lockfiles in the tarball.",
|
|
814
|
+
"name": "prune-lockfiles",
|
|
755
815
|
"allowNo": false,
|
|
756
816
|
"type": "boolean"
|
|
757
817
|
},
|
|
@@ -765,16 +825,25 @@
|
|
|
765
825
|
"multiple": false,
|
|
766
826
|
"type": "option"
|
|
767
827
|
},
|
|
828
|
+
"tarball": {
|
|
829
|
+
"char": "l",
|
|
830
|
+
"description": "Optionally specify a path to a tarball already generated by NPM.",
|
|
831
|
+
"name": "tarball",
|
|
832
|
+
"required": false,
|
|
833
|
+
"hasDynamicHelp": false,
|
|
834
|
+
"multiple": false,
|
|
835
|
+
"type": "option"
|
|
836
|
+
},
|
|
768
837
|
"targets": {
|
|
769
838
|
"char": "t",
|
|
770
|
-
"description": "Comma-separated targets to
|
|
839
|
+
"description": "Comma-separated targets to pack (e.g.: linux-arm,win32-x64).",
|
|
771
840
|
"name": "targets",
|
|
772
841
|
"hasDynamicHelp": false,
|
|
773
842
|
"multiple": false,
|
|
774
843
|
"type": "option"
|
|
775
844
|
},
|
|
776
845
|
"xz": {
|
|
777
|
-
"description": "Also
|
|
846
|
+
"description": "Also build xz.",
|
|
778
847
|
"name": "xz",
|
|
779
848
|
"allowNo": true,
|
|
780
849
|
"type": "boolean"
|
|
@@ -782,28 +851,54 @@
|
|
|
782
851
|
},
|
|
783
852
|
"hasDynamicHelp": false,
|
|
784
853
|
"hiddenAliases": [],
|
|
785
|
-
"id": "
|
|
854
|
+
"id": "pack:tarballs",
|
|
786
855
|
"pluginAlias": "oclif",
|
|
787
856
|
"pluginName": "oclif",
|
|
788
857
|
"pluginType": "core",
|
|
789
858
|
"strict": true,
|
|
859
|
+
"summary": "Package oclif CLI into tarballs.",
|
|
790
860
|
"enableJsonFlag": false,
|
|
791
861
|
"isESM": false,
|
|
792
862
|
"relativePath": [
|
|
793
863
|
"lib",
|
|
794
864
|
"commands",
|
|
795
|
-
"
|
|
865
|
+
"pack",
|
|
796
866
|
"tarballs.js"
|
|
797
867
|
]
|
|
798
868
|
},
|
|
799
|
-
"
|
|
869
|
+
"pack:win": {
|
|
800
870
|
"aliases": [],
|
|
801
871
|
"args": {},
|
|
802
|
-
"description": "
|
|
872
|
+
"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.",
|
|
803
873
|
"flags": {
|
|
804
|
-
"
|
|
805
|
-
"description": "
|
|
806
|
-
"
|
|
874
|
+
"additional-cli": {
|
|
875
|
+
"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\".",
|
|
876
|
+
"hidden": true,
|
|
877
|
+
"name": "additional-cli",
|
|
878
|
+
"hasDynamicHelp": false,
|
|
879
|
+
"multiple": false,
|
|
880
|
+
"type": "option"
|
|
881
|
+
},
|
|
882
|
+
"defender-exclusion": {
|
|
883
|
+
"description": "There is no way to set a hidden checkbox with \"true\" as a default...the user can always allow full security",
|
|
884
|
+
"name": "defender-exclusion",
|
|
885
|
+
"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).",
|
|
886
|
+
"default": "checked",
|
|
887
|
+
"hasDynamicHelp": false,
|
|
888
|
+
"multiple": false,
|
|
889
|
+
"options": [
|
|
890
|
+
"checked",
|
|
891
|
+
"unchecked",
|
|
892
|
+
"hidden"
|
|
893
|
+
],
|
|
894
|
+
"type": "option"
|
|
895
|
+
},
|
|
896
|
+
"prune-lockfiles": {
|
|
897
|
+
"description": "remove lockfiles in the tarball.",
|
|
898
|
+
"exclusive": [
|
|
899
|
+
"tarball"
|
|
900
|
+
],
|
|
901
|
+
"name": "prune-lockfiles",
|
|
807
902
|
"allowNo": false,
|
|
808
903
|
"type": "boolean"
|
|
809
904
|
},
|
|
@@ -817,6 +912,18 @@
|
|
|
817
912
|
"multiple": false,
|
|
818
913
|
"type": "option"
|
|
819
914
|
},
|
|
915
|
+
"tarball": {
|
|
916
|
+
"char": "t",
|
|
917
|
+
"description": "Optionally specify a path to a tarball already generated by NPM.",
|
|
918
|
+
"exclusive": [
|
|
919
|
+
"prune-lockfiles"
|
|
920
|
+
],
|
|
921
|
+
"name": "tarball",
|
|
922
|
+
"required": false,
|
|
923
|
+
"hasDynamicHelp": false,
|
|
924
|
+
"multiple": false,
|
|
925
|
+
"type": "option"
|
|
926
|
+
},
|
|
820
927
|
"targets": {
|
|
821
928
|
"description": "Comma-separated targets to pack (e.g.: win32-x64,win32-x86,win32-arm64).",
|
|
822
929
|
"name": "targets",
|
|
@@ -827,46 +934,29 @@
|
|
|
827
934
|
},
|
|
828
935
|
"hasDynamicHelp": false,
|
|
829
936
|
"hiddenAliases": [],
|
|
830
|
-
"id": "
|
|
937
|
+
"id": "pack:win",
|
|
831
938
|
"pluginAlias": "oclif",
|
|
832
939
|
"pluginName": "oclif",
|
|
833
940
|
"pluginType": "core",
|
|
834
941
|
"strict": true,
|
|
942
|
+
"summary": "Create windows installer from oclif CLI",
|
|
835
943
|
"enableJsonFlag": false,
|
|
836
944
|
"isESM": false,
|
|
837
945
|
"relativePath": [
|
|
838
946
|
"lib",
|
|
839
947
|
"commands",
|
|
840
|
-
"
|
|
948
|
+
"pack",
|
|
841
949
|
"win.js"
|
|
842
950
|
]
|
|
843
951
|
},
|
|
844
|
-
"
|
|
952
|
+
"upload:deb": {
|
|
845
953
|
"aliases": [],
|
|
846
954
|
"args": {},
|
|
847
|
-
"description": "
|
|
955
|
+
"description": "Upload deb package built with `pack deb`.",
|
|
848
956
|
"flags": {
|
|
849
|
-
"
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"name": "compression",
|
|
853
|
-
"summary": "Override the default compression used by dpkg-deb.",
|
|
854
|
-
"hasDynamicHelp": false,
|
|
855
|
-
"multiple": false,
|
|
856
|
-
"options": [
|
|
857
|
-
"gzip",
|
|
858
|
-
"none",
|
|
859
|
-
"xz",
|
|
860
|
-
"zstd"
|
|
861
|
-
],
|
|
862
|
-
"type": "option"
|
|
863
|
-
},
|
|
864
|
-
"prune-lockfiles": {
|
|
865
|
-
"description": "remove lockfiles in the tarball.",
|
|
866
|
-
"exclusive": [
|
|
867
|
-
"tarball"
|
|
868
|
-
],
|
|
869
|
-
"name": "prune-lockfiles",
|
|
957
|
+
"dry-run": {
|
|
958
|
+
"description": "Run the command without uploading to S3.",
|
|
959
|
+
"name": "dry-run",
|
|
870
960
|
"allowNo": false,
|
|
871
961
|
"type": "boolean"
|
|
872
962
|
},
|
|
@@ -879,56 +969,32 @@
|
|
|
879
969
|
"hasDynamicHelp": false,
|
|
880
970
|
"multiple": false,
|
|
881
971
|
"type": "option"
|
|
882
|
-
},
|
|
883
|
-
"tarball": {
|
|
884
|
-
"char": "t",
|
|
885
|
-
"description": "Optionally specify a path to a tarball already generated by NPM.",
|
|
886
|
-
"exclusive": [
|
|
887
|
-
"prune-lockfiles"
|
|
888
|
-
],
|
|
889
|
-
"name": "tarball",
|
|
890
|
-
"required": false,
|
|
891
|
-
"hasDynamicHelp": false,
|
|
892
|
-
"multiple": false,
|
|
893
|
-
"type": "option"
|
|
894
972
|
}
|
|
895
973
|
},
|
|
896
974
|
"hasDynamicHelp": false,
|
|
897
975
|
"hiddenAliases": [],
|
|
898
|
-
"id": "
|
|
976
|
+
"id": "upload:deb",
|
|
899
977
|
"pluginAlias": "oclif",
|
|
900
978
|
"pluginName": "oclif",
|
|
901
979
|
"pluginType": "core",
|
|
902
980
|
"strict": true,
|
|
903
|
-
"summary": "Pack CLI into debian package.",
|
|
904
981
|
"enableJsonFlag": false,
|
|
905
982
|
"isESM": false,
|
|
906
983
|
"relativePath": [
|
|
907
984
|
"lib",
|
|
908
985
|
"commands",
|
|
909
|
-
"
|
|
986
|
+
"upload",
|
|
910
987
|
"deb.js"
|
|
911
988
|
]
|
|
912
989
|
},
|
|
913
|
-
"
|
|
990
|
+
"upload:macos": {
|
|
914
991
|
"aliases": [],
|
|
915
992
|
"args": {},
|
|
916
|
-
"description": "
|
|
993
|
+
"description": "Upload macos installers built with `pack macos`.",
|
|
917
994
|
"flags": {
|
|
918
|
-
"
|
|
919
|
-
"description": "
|
|
920
|
-
"
|
|
921
|
-
"name": "additional-cli",
|
|
922
|
-
"hasDynamicHelp": false,
|
|
923
|
-
"multiple": false,
|
|
924
|
-
"type": "option"
|
|
925
|
-
},
|
|
926
|
-
"prune-lockfiles": {
|
|
927
|
-
"description": "remove lockfiles in the tarball.",
|
|
928
|
-
"exclusive": [
|
|
929
|
-
"tarball"
|
|
930
|
-
],
|
|
931
|
-
"name": "prune-lockfiles",
|
|
995
|
+
"dry-run": {
|
|
996
|
+
"description": "Run the command without uploading to S3.",
|
|
997
|
+
"name": "dry-run",
|
|
932
998
|
"allowNo": false,
|
|
933
999
|
"type": "boolean"
|
|
934
1000
|
},
|
|
@@ -942,20 +1008,9 @@
|
|
|
942
1008
|
"multiple": false,
|
|
943
1009
|
"type": "option"
|
|
944
1010
|
},
|
|
945
|
-
"tarball": {
|
|
946
|
-
"char": "t",
|
|
947
|
-
"description": "Optionally specify a path to a tarball already generated by NPM.",
|
|
948
|
-
"exclusive": [
|
|
949
|
-
"prune-lockfiles"
|
|
950
|
-
],
|
|
951
|
-
"name": "tarball",
|
|
952
|
-
"required": false,
|
|
953
|
-
"hasDynamicHelp": false,
|
|
954
|
-
"multiple": false,
|
|
955
|
-
"type": "option"
|
|
956
|
-
},
|
|
957
1011
|
"targets": {
|
|
958
|
-
"
|
|
1012
|
+
"char": "t",
|
|
1013
|
+
"description": "Comma-separated targets to upload (e.g.: darwin-x64,darwin-arm64).",
|
|
959
1014
|
"name": "targets",
|
|
960
1015
|
"hasDynamicHelp": false,
|
|
961
1016
|
"multiple": false,
|
|
@@ -964,35 +1019,28 @@
|
|
|
964
1019
|
},
|
|
965
1020
|
"hasDynamicHelp": false,
|
|
966
1021
|
"hiddenAliases": [],
|
|
967
|
-
"id": "
|
|
1022
|
+
"id": "upload:macos",
|
|
968
1023
|
"pluginAlias": "oclif",
|
|
969
1024
|
"pluginName": "oclif",
|
|
970
1025
|
"pluginType": "core",
|
|
971
1026
|
"strict": true,
|
|
972
|
-
"summary": "Pack CLI into macOS .pkg",
|
|
973
1027
|
"enableJsonFlag": false,
|
|
974
1028
|
"isESM": false,
|
|
975
1029
|
"relativePath": [
|
|
976
1030
|
"lib",
|
|
977
1031
|
"commands",
|
|
978
|
-
"
|
|
1032
|
+
"upload",
|
|
979
1033
|
"macos.js"
|
|
980
1034
|
]
|
|
981
1035
|
},
|
|
982
|
-
"
|
|
1036
|
+
"upload:tarballs": {
|
|
983
1037
|
"aliases": [],
|
|
984
1038
|
"args": {},
|
|
985
|
-
"description": "
|
|
1039
|
+
"description": "Upload an oclif CLI to S3.",
|
|
986
1040
|
"flags": {
|
|
987
|
-
"
|
|
988
|
-
"description": "
|
|
989
|
-
"name": "
|
|
990
|
-
"allowNo": false,
|
|
991
|
-
"type": "boolean"
|
|
992
|
-
},
|
|
993
|
-
"prune-lockfiles": {
|
|
994
|
-
"description": "remove lockfiles in the tarball.",
|
|
995
|
-
"name": "prune-lockfiles",
|
|
1041
|
+
"dry-run": {
|
|
1042
|
+
"description": "Run the command without uploading to S3.",
|
|
1043
|
+
"name": "dry-run",
|
|
996
1044
|
"allowNo": false,
|
|
997
1045
|
"type": "boolean"
|
|
998
1046
|
},
|
|
@@ -1006,25 +1054,16 @@
|
|
|
1006
1054
|
"multiple": false,
|
|
1007
1055
|
"type": "option"
|
|
1008
1056
|
},
|
|
1009
|
-
"tarball": {
|
|
1010
|
-
"char": "l",
|
|
1011
|
-
"description": "Optionally specify a path to a tarball already generated by NPM.",
|
|
1012
|
-
"name": "tarball",
|
|
1013
|
-
"required": false,
|
|
1014
|
-
"hasDynamicHelp": false,
|
|
1015
|
-
"multiple": false,
|
|
1016
|
-
"type": "option"
|
|
1017
|
-
},
|
|
1018
1057
|
"targets": {
|
|
1019
1058
|
"char": "t",
|
|
1020
|
-
"description": "Comma-separated targets to
|
|
1059
|
+
"description": "Comma-separated targets to upload (e.g.: linux-arm,win32-x64).",
|
|
1021
1060
|
"name": "targets",
|
|
1022
1061
|
"hasDynamicHelp": false,
|
|
1023
1062
|
"multiple": false,
|
|
1024
1063
|
"type": "option"
|
|
1025
1064
|
},
|
|
1026
1065
|
"xz": {
|
|
1027
|
-
"description": "Also
|
|
1066
|
+
"description": "Also upload xz.",
|
|
1028
1067
|
"name": "xz",
|
|
1029
1068
|
"allowNo": true,
|
|
1030
1069
|
"type": "boolean"
|
|
@@ -1032,54 +1071,28 @@
|
|
|
1032
1071
|
},
|
|
1033
1072
|
"hasDynamicHelp": false,
|
|
1034
1073
|
"hiddenAliases": [],
|
|
1035
|
-
"id": "
|
|
1074
|
+
"id": "upload:tarballs",
|
|
1036
1075
|
"pluginAlias": "oclif",
|
|
1037
1076
|
"pluginName": "oclif",
|
|
1038
1077
|
"pluginType": "core",
|
|
1039
1078
|
"strict": true,
|
|
1040
|
-
"summary": "Package oclif CLI into tarballs.",
|
|
1041
1079
|
"enableJsonFlag": false,
|
|
1042
1080
|
"isESM": false,
|
|
1043
1081
|
"relativePath": [
|
|
1044
1082
|
"lib",
|
|
1045
1083
|
"commands",
|
|
1046
|
-
"
|
|
1084
|
+
"upload",
|
|
1047
1085
|
"tarballs.js"
|
|
1048
1086
|
]
|
|
1049
1087
|
},
|
|
1050
|
-
"
|
|
1088
|
+
"upload:win": {
|
|
1051
1089
|
"aliases": [],
|
|
1052
1090
|
"args": {},
|
|
1053
|
-
"description": "
|
|
1091
|
+
"description": "Upload windows installers built with `pack win`.",
|
|
1054
1092
|
"flags": {
|
|
1055
|
-
"
|
|
1056
|
-
"description": "
|
|
1057
|
-
"
|
|
1058
|
-
"name": "additional-cli",
|
|
1059
|
-
"hasDynamicHelp": false,
|
|
1060
|
-
"multiple": false,
|
|
1061
|
-
"type": "option"
|
|
1062
|
-
},
|
|
1063
|
-
"defender-exclusion": {
|
|
1064
|
-
"description": "There is no way to set a hidden checkbox with \"true\" as a default...the user can always allow full security",
|
|
1065
|
-
"name": "defender-exclusion",
|
|
1066
|
-
"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).",
|
|
1067
|
-
"default": "checked",
|
|
1068
|
-
"hasDynamicHelp": false,
|
|
1069
|
-
"multiple": false,
|
|
1070
|
-
"options": [
|
|
1071
|
-
"checked",
|
|
1072
|
-
"unchecked",
|
|
1073
|
-
"hidden"
|
|
1074
|
-
],
|
|
1075
|
-
"type": "option"
|
|
1076
|
-
},
|
|
1077
|
-
"prune-lockfiles": {
|
|
1078
|
-
"description": "remove lockfiles in the tarball.",
|
|
1079
|
-
"exclusive": [
|
|
1080
|
-
"tarball"
|
|
1081
|
-
],
|
|
1082
|
-
"name": "prune-lockfiles",
|
|
1093
|
+
"dry-run": {
|
|
1094
|
+
"description": "Run the command without uploading to S3.",
|
|
1095
|
+
"name": "dry-run",
|
|
1083
1096
|
"allowNo": false,
|
|
1084
1097
|
"type": "boolean"
|
|
1085
1098
|
},
|
|
@@ -1093,18 +1106,6 @@
|
|
|
1093
1106
|
"multiple": false,
|
|
1094
1107
|
"type": "option"
|
|
1095
1108
|
},
|
|
1096
|
-
"tarball": {
|
|
1097
|
-
"char": "t",
|
|
1098
|
-
"description": "Optionally specify a path to a tarball already generated by NPM.",
|
|
1099
|
-
"exclusive": [
|
|
1100
|
-
"prune-lockfiles"
|
|
1101
|
-
],
|
|
1102
|
-
"name": "tarball",
|
|
1103
|
-
"required": false,
|
|
1104
|
-
"hasDynamicHelp": false,
|
|
1105
|
-
"multiple": false,
|
|
1106
|
-
"type": "option"
|
|
1107
|
-
},
|
|
1108
1109
|
"targets": {
|
|
1109
1110
|
"description": "Comma-separated targets to pack (e.g.: win32-x64,win32-x86,win32-arm64).",
|
|
1110
1111
|
"name": "targets",
|
|
@@ -1115,21 +1116,20 @@
|
|
|
1115
1116
|
},
|
|
1116
1117
|
"hasDynamicHelp": false,
|
|
1117
1118
|
"hiddenAliases": [],
|
|
1118
|
-
"id": "
|
|
1119
|
+
"id": "upload:win",
|
|
1119
1120
|
"pluginAlias": "oclif",
|
|
1120
1121
|
"pluginName": "oclif",
|
|
1121
1122
|
"pluginType": "core",
|
|
1122
1123
|
"strict": true,
|
|
1123
|
-
"summary": "Create windows installer from oclif CLI",
|
|
1124
1124
|
"enableJsonFlag": false,
|
|
1125
1125
|
"isESM": false,
|
|
1126
1126
|
"relativePath": [
|
|
1127
1127
|
"lib",
|
|
1128
1128
|
"commands",
|
|
1129
|
-
"
|
|
1129
|
+
"upload",
|
|
1130
1130
|
"win.js"
|
|
1131
1131
|
]
|
|
1132
1132
|
}
|
|
1133
1133
|
},
|
|
1134
|
-
"version": "4.
|
|
1134
|
+
"version": "4.17.1"
|
|
1135
1135
|
}
|
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.
|
|
4
|
+
"version": "4.17.1",
|
|
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.0
|
|
16
|
+
"@oclif/core": "^4.2.0",
|
|
17
17
|
"@oclif/plugin-help": "^6.2.17",
|
|
18
18
|
"@oclif/plugin-not-found": "^3.2.30",
|
|
19
19
|
"@oclif/plugin-warn-if-update-available": "^3.1.21",
|