pnpm 7.0.1 → 7.1.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/dist/node_modules/.modules.yaml +2 -2
- package/dist/node_modules/.pnpm/lock.yaml +12 -3
- package/dist/node_modules/ip/lib/ip.js +106 -95
- package/dist/node_modules/ip/package.json +10 -6
- package/dist/pnpm.cjs +468 -214
- package/dist/pnpx.cjs +468 -214
- package/package.json +16 -17
- package/dist/node_modules/ip/.jscsrc +0 -46
package/dist/pnpx.cjs
CHANGED
|
@@ -10778,9 +10778,9 @@ var require_write_file_atomic = __commonJS({
|
|
|
10778
10778
|
}
|
|
10779
10779
|
});
|
|
10780
10780
|
|
|
10781
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
10781
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/common.js
|
|
10782
10782
|
var require_common = __commonJS({
|
|
10783
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
10783
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/common.js"(exports2, module2) {
|
|
10784
10784
|
"use strict";
|
|
10785
10785
|
function isNothing(subject) {
|
|
10786
10786
|
return typeof subject === "undefined" || subject === null;
|
|
@@ -10825,9 +10825,9 @@ var require_common = __commonJS({
|
|
|
10825
10825
|
}
|
|
10826
10826
|
});
|
|
10827
10827
|
|
|
10828
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
10828
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/exception.js
|
|
10829
10829
|
var require_exception = __commonJS({
|
|
10830
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
10830
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/exception.js"(exports2, module2) {
|
|
10831
10831
|
"use strict";
|
|
10832
10832
|
function formatError(exception, compact2) {
|
|
10833
10833
|
var where = "", message2 = exception.reason || "(unknown reason)";
|
|
@@ -10863,9 +10863,9 @@ var require_exception = __commonJS({
|
|
|
10863
10863
|
}
|
|
10864
10864
|
});
|
|
10865
10865
|
|
|
10866
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
10866
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/snippet.js
|
|
10867
10867
|
var require_snippet = __commonJS({
|
|
10868
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
10868
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/snippet.js"(exports2, module2) {
|
|
10869
10869
|
"use strict";
|
|
10870
10870
|
var common = require_common();
|
|
10871
10871
|
function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
|
|
@@ -10938,9 +10938,9 @@ var require_snippet = __commonJS({
|
|
|
10938
10938
|
}
|
|
10939
10939
|
});
|
|
10940
10940
|
|
|
10941
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
10941
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type.js
|
|
10942
10942
|
var require_type = __commonJS({
|
|
10943
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
10943
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type.js"(exports2, module2) {
|
|
10944
10944
|
"use strict";
|
|
10945
10945
|
var YAMLException = require_exception();
|
|
10946
10946
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
|
@@ -11001,9 +11001,9 @@ var require_type = __commonJS({
|
|
|
11001
11001
|
}
|
|
11002
11002
|
});
|
|
11003
11003
|
|
|
11004
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11004
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema.js
|
|
11005
11005
|
var require_schema = __commonJS({
|
|
11006
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11006
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema.js"(exports2, module2) {
|
|
11007
11007
|
"use strict";
|
|
11008
11008
|
var YAMLException = require_exception();
|
|
11009
11009
|
var Type = require_type();
|
|
@@ -11093,9 +11093,9 @@ var require_schema = __commonJS({
|
|
|
11093
11093
|
}
|
|
11094
11094
|
});
|
|
11095
11095
|
|
|
11096
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11096
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/str.js
|
|
11097
11097
|
var require_str = __commonJS({
|
|
11098
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11098
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/str.js"(exports2, module2) {
|
|
11099
11099
|
"use strict";
|
|
11100
11100
|
var Type = require_type();
|
|
11101
11101
|
module2.exports = new Type("tag:yaml.org,2002:str", {
|
|
@@ -11107,9 +11107,9 @@ var require_str = __commonJS({
|
|
|
11107
11107
|
}
|
|
11108
11108
|
});
|
|
11109
11109
|
|
|
11110
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11110
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/seq.js
|
|
11111
11111
|
var require_seq = __commonJS({
|
|
11112
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11112
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/seq.js"(exports2, module2) {
|
|
11113
11113
|
"use strict";
|
|
11114
11114
|
var Type = require_type();
|
|
11115
11115
|
module2.exports = new Type("tag:yaml.org,2002:seq", {
|
|
@@ -11121,9 +11121,9 @@ var require_seq = __commonJS({
|
|
|
11121
11121
|
}
|
|
11122
11122
|
});
|
|
11123
11123
|
|
|
11124
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11124
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/map.js
|
|
11125
11125
|
var require_map = __commonJS({
|
|
11126
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11126
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/map.js"(exports2, module2) {
|
|
11127
11127
|
"use strict";
|
|
11128
11128
|
var Type = require_type();
|
|
11129
11129
|
module2.exports = new Type("tag:yaml.org,2002:map", {
|
|
@@ -11135,9 +11135,9 @@ var require_map = __commonJS({
|
|
|
11135
11135
|
}
|
|
11136
11136
|
});
|
|
11137
11137
|
|
|
11138
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11138
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema/failsafe.js
|
|
11139
11139
|
var require_failsafe = __commonJS({
|
|
11140
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11140
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema/failsafe.js"(exports2, module2) {
|
|
11141
11141
|
"use strict";
|
|
11142
11142
|
var Schema = require_schema();
|
|
11143
11143
|
module2.exports = new Schema({
|
|
@@ -11150,9 +11150,9 @@ var require_failsafe = __commonJS({
|
|
|
11150
11150
|
}
|
|
11151
11151
|
});
|
|
11152
11152
|
|
|
11153
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11153
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/null.js
|
|
11154
11154
|
var require_null = __commonJS({
|
|
11155
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11155
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/null.js"(exports2, module2) {
|
|
11156
11156
|
"use strict";
|
|
11157
11157
|
var Type = require_type();
|
|
11158
11158
|
function resolveYamlNull(data) {
|
|
@@ -11194,9 +11194,9 @@ var require_null = __commonJS({
|
|
|
11194
11194
|
}
|
|
11195
11195
|
});
|
|
11196
11196
|
|
|
11197
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11197
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/bool.js
|
|
11198
11198
|
var require_bool = __commonJS({
|
|
11199
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11199
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/bool.js"(exports2, module2) {
|
|
11200
11200
|
"use strict";
|
|
11201
11201
|
var Type = require_type();
|
|
11202
11202
|
function resolveYamlBoolean(data) {
|
|
@@ -11232,9 +11232,9 @@ var require_bool = __commonJS({
|
|
|
11232
11232
|
}
|
|
11233
11233
|
});
|
|
11234
11234
|
|
|
11235
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11235
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/int.js
|
|
11236
11236
|
var require_int = __commonJS({
|
|
11237
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11237
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/int.js"(exports2, module2) {
|
|
11238
11238
|
"use strict";
|
|
11239
11239
|
var common = require_common();
|
|
11240
11240
|
var Type = require_type();
|
|
@@ -11370,9 +11370,9 @@ var require_int = __commonJS({
|
|
|
11370
11370
|
}
|
|
11371
11371
|
});
|
|
11372
11372
|
|
|
11373
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11373
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/float.js
|
|
11374
11374
|
var require_float = __commonJS({
|
|
11375
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11375
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/float.js"(exports2, module2) {
|
|
11376
11376
|
"use strict";
|
|
11377
11377
|
var common = require_common();
|
|
11378
11378
|
var Type = require_type();
|
|
@@ -11449,9 +11449,9 @@ var require_float = __commonJS({
|
|
|
11449
11449
|
}
|
|
11450
11450
|
});
|
|
11451
11451
|
|
|
11452
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11452
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema/json.js
|
|
11453
11453
|
var require_json = __commonJS({
|
|
11454
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11454
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema/json.js"(exports2, module2) {
|
|
11455
11455
|
"use strict";
|
|
11456
11456
|
module2.exports = require_failsafe().extend({
|
|
11457
11457
|
implicit: [
|
|
@@ -11464,17 +11464,17 @@ var require_json = __commonJS({
|
|
|
11464
11464
|
}
|
|
11465
11465
|
});
|
|
11466
11466
|
|
|
11467
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11467
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema/core.js
|
|
11468
11468
|
var require_core2 = __commonJS({
|
|
11469
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11469
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema/core.js"(exports2, module2) {
|
|
11470
11470
|
"use strict";
|
|
11471
11471
|
module2.exports = require_json();
|
|
11472
11472
|
}
|
|
11473
11473
|
});
|
|
11474
11474
|
|
|
11475
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11475
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/timestamp.js
|
|
11476
11476
|
var require_timestamp = __commonJS({
|
|
11477
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11477
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/timestamp.js"(exports2, module2) {
|
|
11478
11478
|
"use strict";
|
|
11479
11479
|
var Type = require_type();
|
|
11480
11480
|
var YAML_DATE_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
|
|
@@ -11536,9 +11536,9 @@ var require_timestamp = __commonJS({
|
|
|
11536
11536
|
}
|
|
11537
11537
|
});
|
|
11538
11538
|
|
|
11539
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11539
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/merge.js
|
|
11540
11540
|
var require_merge = __commonJS({
|
|
11541
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11541
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/merge.js"(exports2, module2) {
|
|
11542
11542
|
"use strict";
|
|
11543
11543
|
var Type = require_type();
|
|
11544
11544
|
function resolveYamlMerge(data) {
|
|
@@ -11551,9 +11551,9 @@ var require_merge = __commonJS({
|
|
|
11551
11551
|
}
|
|
11552
11552
|
});
|
|
11553
11553
|
|
|
11554
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11554
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/binary.js
|
|
11555
11555
|
var require_binary = __commonJS({
|
|
11556
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11556
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/binary.js"(exports2, module2) {
|
|
11557
11557
|
"use strict";
|
|
11558
11558
|
var Type = require_type();
|
|
11559
11559
|
var BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
|
@@ -11637,9 +11637,9 @@ var require_binary = __commonJS({
|
|
|
11637
11637
|
}
|
|
11638
11638
|
});
|
|
11639
11639
|
|
|
11640
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11640
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/omap.js
|
|
11641
11641
|
var require_omap = __commonJS({
|
|
11642
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11642
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/omap.js"(exports2, module2) {
|
|
11643
11643
|
"use strict";
|
|
11644
11644
|
var Type = require_type();
|
|
11645
11645
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -11681,9 +11681,9 @@ var require_omap = __commonJS({
|
|
|
11681
11681
|
}
|
|
11682
11682
|
});
|
|
11683
11683
|
|
|
11684
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11684
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/pairs.js
|
|
11685
11685
|
var require_pairs = __commonJS({
|
|
11686
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11686
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/pairs.js"(exports2, module2) {
|
|
11687
11687
|
"use strict";
|
|
11688
11688
|
var Type = require_type();
|
|
11689
11689
|
var _toString = Object.prototype.toString;
|
|
@@ -11723,9 +11723,9 @@ var require_pairs = __commonJS({
|
|
|
11723
11723
|
}
|
|
11724
11724
|
});
|
|
11725
11725
|
|
|
11726
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11726
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/set.js
|
|
11727
11727
|
var require_set = __commonJS({
|
|
11728
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11728
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/type/set.js"(exports2, module2) {
|
|
11729
11729
|
"use strict";
|
|
11730
11730
|
var Type = require_type();
|
|
11731
11731
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -11752,9 +11752,9 @@ var require_set = __commonJS({
|
|
|
11752
11752
|
}
|
|
11753
11753
|
});
|
|
11754
11754
|
|
|
11755
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11755
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema/default.js
|
|
11756
11756
|
var require_default = __commonJS({
|
|
11757
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11757
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/schema/default.js"(exports2, module2) {
|
|
11758
11758
|
"use strict";
|
|
11759
11759
|
module2.exports = require_core2().extend({
|
|
11760
11760
|
implicit: [
|
|
@@ -11771,9 +11771,9 @@ var require_default = __commonJS({
|
|
|
11771
11771
|
}
|
|
11772
11772
|
});
|
|
11773
11773
|
|
|
11774
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11774
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/loader.js
|
|
11775
11775
|
var require_loader = __commonJS({
|
|
11776
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
11776
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/loader.js"(exports2, module2) {
|
|
11777
11777
|
"use strict";
|
|
11778
11778
|
var common = require_common();
|
|
11779
11779
|
var YAMLException = require_exception();
|
|
@@ -12935,9 +12935,9 @@ var require_loader = __commonJS({
|
|
|
12935
12935
|
}
|
|
12936
12936
|
});
|
|
12937
12937
|
|
|
12938
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
12938
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/dumper.js
|
|
12939
12939
|
var require_dumper = __commonJS({
|
|
12940
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
12940
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/lib/dumper.js"(exports2, module2) {
|
|
12941
12941
|
"use strict";
|
|
12942
12942
|
var common = require_common();
|
|
12943
12943
|
var YAMLException = require_exception();
|
|
@@ -13008,7 +13008,8 @@ var require_dumper = __commonJS({
|
|
|
13008
13008
|
cpu: true,
|
|
13009
13009
|
engines: true,
|
|
13010
13010
|
os: true,
|
|
13011
|
-
resolution: true
|
|
13011
|
+
resolution: true,
|
|
13012
|
+
libc: true
|
|
13012
13013
|
};
|
|
13013
13014
|
function compileStyleMap(schema, map2) {
|
|
13014
13015
|
var result2, keys2, index, length, tag, style, type;
|
|
@@ -13567,9 +13568,9 @@ var require_dumper = __commonJS({
|
|
|
13567
13568
|
}
|
|
13568
13569
|
});
|
|
13569
13570
|
|
|
13570
|
-
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
13571
|
+
// ../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/index.js
|
|
13571
13572
|
var require_js_yaml = __commonJS({
|
|
13572
|
-
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.
|
|
13573
|
+
"../../node_modules/.pnpm/@zkochan+js-yaml@0.0.6/node_modules/@zkochan/js-yaml/index.js"(exports2, module2) {
|
|
13573
13574
|
"use strict";
|
|
13574
13575
|
var loader = require_loader();
|
|
13575
13576
|
var dumper = require_dumper();
|
|
@@ -35592,6 +35593,153 @@ var require_checkEngine = __commonJS({
|
|
|
35592
35593
|
}
|
|
35593
35594
|
});
|
|
35594
35595
|
|
|
35596
|
+
// ../../node_modules/.pnpm/detect-libc@2.0.1/node_modules/detect-libc/lib/process.js
|
|
35597
|
+
var require_process = __commonJS({
|
|
35598
|
+
"../../node_modules/.pnpm/detect-libc@2.0.1/node_modules/detect-libc/lib/process.js"(exports2, module2) {
|
|
35599
|
+
"use strict";
|
|
35600
|
+
var isLinux = () => process.platform === "linux";
|
|
35601
|
+
var report = null;
|
|
35602
|
+
var getReport = () => {
|
|
35603
|
+
if (!report) {
|
|
35604
|
+
report = isLinux() && process.report ? process.report.getReport() : {};
|
|
35605
|
+
}
|
|
35606
|
+
return report;
|
|
35607
|
+
};
|
|
35608
|
+
module2.exports = { isLinux, getReport };
|
|
35609
|
+
}
|
|
35610
|
+
});
|
|
35611
|
+
|
|
35612
|
+
// ../../node_modules/.pnpm/detect-libc@2.0.1/node_modules/detect-libc/lib/detect-libc.js
|
|
35613
|
+
var require_detect_libc = __commonJS({
|
|
35614
|
+
"../../node_modules/.pnpm/detect-libc@2.0.1/node_modules/detect-libc/lib/detect-libc.js"(exports2, module2) {
|
|
35615
|
+
"use strict";
|
|
35616
|
+
var childProcess = require("child_process");
|
|
35617
|
+
var { isLinux, getReport } = require_process();
|
|
35618
|
+
var command = "getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true";
|
|
35619
|
+
var commandOut = "";
|
|
35620
|
+
var safeCommand = () => {
|
|
35621
|
+
if (!commandOut) {
|
|
35622
|
+
return new Promise((resolve) => {
|
|
35623
|
+
childProcess.exec(command, (err, out) => {
|
|
35624
|
+
commandOut = err ? " " : out;
|
|
35625
|
+
resolve(commandOut);
|
|
35626
|
+
});
|
|
35627
|
+
});
|
|
35628
|
+
}
|
|
35629
|
+
return commandOut;
|
|
35630
|
+
};
|
|
35631
|
+
var safeCommandSync = () => {
|
|
35632
|
+
if (!commandOut) {
|
|
35633
|
+
try {
|
|
35634
|
+
commandOut = childProcess.execSync(command, { encoding: "utf8" });
|
|
35635
|
+
} catch (_err) {
|
|
35636
|
+
commandOut = " ";
|
|
35637
|
+
}
|
|
35638
|
+
}
|
|
35639
|
+
return commandOut;
|
|
35640
|
+
};
|
|
35641
|
+
var GLIBC = "glibc";
|
|
35642
|
+
var MUSL = "musl";
|
|
35643
|
+
var isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-");
|
|
35644
|
+
var familyFromReport = () => {
|
|
35645
|
+
const report = getReport();
|
|
35646
|
+
if (report.header && report.header.glibcVersionRuntime) {
|
|
35647
|
+
return GLIBC;
|
|
35648
|
+
}
|
|
35649
|
+
if (Array.isArray(report.sharedObjects)) {
|
|
35650
|
+
if (report.sharedObjects.some(isFileMusl)) {
|
|
35651
|
+
return MUSL;
|
|
35652
|
+
}
|
|
35653
|
+
}
|
|
35654
|
+
return null;
|
|
35655
|
+
};
|
|
35656
|
+
var familyFromCommand = (out) => {
|
|
35657
|
+
const [getconf, ldd1] = out.split(/[\r\n]+/);
|
|
35658
|
+
if (getconf && getconf.includes(GLIBC)) {
|
|
35659
|
+
return GLIBC;
|
|
35660
|
+
}
|
|
35661
|
+
if (ldd1 && ldd1.includes(MUSL)) {
|
|
35662
|
+
return MUSL;
|
|
35663
|
+
}
|
|
35664
|
+
return null;
|
|
35665
|
+
};
|
|
35666
|
+
var family = async () => {
|
|
35667
|
+
let family2 = null;
|
|
35668
|
+
if (isLinux()) {
|
|
35669
|
+
family2 = familyFromReport();
|
|
35670
|
+
if (!family2) {
|
|
35671
|
+
const out = await safeCommand();
|
|
35672
|
+
family2 = familyFromCommand(out);
|
|
35673
|
+
}
|
|
35674
|
+
}
|
|
35675
|
+
return family2;
|
|
35676
|
+
};
|
|
35677
|
+
var familySync = () => {
|
|
35678
|
+
let family2 = null;
|
|
35679
|
+
if (isLinux()) {
|
|
35680
|
+
family2 = familyFromReport();
|
|
35681
|
+
if (!family2) {
|
|
35682
|
+
const out = safeCommandSync();
|
|
35683
|
+
family2 = familyFromCommand(out);
|
|
35684
|
+
}
|
|
35685
|
+
}
|
|
35686
|
+
return family2;
|
|
35687
|
+
};
|
|
35688
|
+
var isNonGlibcLinux = async () => isLinux() && await family() !== GLIBC;
|
|
35689
|
+
var isNonGlibcLinuxSync = () => isLinux() && familySync() !== GLIBC;
|
|
35690
|
+
var versionFromReport = () => {
|
|
35691
|
+
const report = getReport();
|
|
35692
|
+
if (report.header && report.header.glibcVersionRuntime) {
|
|
35693
|
+
return report.header.glibcVersionRuntime;
|
|
35694
|
+
}
|
|
35695
|
+
return null;
|
|
35696
|
+
};
|
|
35697
|
+
var versionSuffix = (s) => s.trim().split(/\s+/)[1];
|
|
35698
|
+
var versionFromCommand = (out) => {
|
|
35699
|
+
const [getconf, ldd1, ldd2] = out.split(/[\r\n]+/);
|
|
35700
|
+
if (getconf && getconf.includes(GLIBC)) {
|
|
35701
|
+
return versionSuffix(getconf);
|
|
35702
|
+
}
|
|
35703
|
+
if (ldd1 && ldd2 && ldd1.includes(MUSL)) {
|
|
35704
|
+
return versionSuffix(ldd2);
|
|
35705
|
+
}
|
|
35706
|
+
return null;
|
|
35707
|
+
};
|
|
35708
|
+
var version = async () => {
|
|
35709
|
+
let version2 = null;
|
|
35710
|
+
if (isLinux()) {
|
|
35711
|
+
version2 = versionFromReport();
|
|
35712
|
+
if (!version2) {
|
|
35713
|
+
const out = await safeCommand();
|
|
35714
|
+
version2 = versionFromCommand(out);
|
|
35715
|
+
}
|
|
35716
|
+
}
|
|
35717
|
+
return version2;
|
|
35718
|
+
};
|
|
35719
|
+
var versionSync = () => {
|
|
35720
|
+
let version2 = null;
|
|
35721
|
+
if (isLinux()) {
|
|
35722
|
+
version2 = versionFromReport();
|
|
35723
|
+
if (!version2) {
|
|
35724
|
+
const out = safeCommandSync();
|
|
35725
|
+
version2 = versionFromCommand(out);
|
|
35726
|
+
}
|
|
35727
|
+
}
|
|
35728
|
+
return version2;
|
|
35729
|
+
};
|
|
35730
|
+
module2.exports = {
|
|
35731
|
+
GLIBC,
|
|
35732
|
+
MUSL,
|
|
35733
|
+
family,
|
|
35734
|
+
familySync,
|
|
35735
|
+
isNonGlibcLinux,
|
|
35736
|
+
isNonGlibcLinuxSync,
|
|
35737
|
+
version,
|
|
35738
|
+
versionSync
|
|
35739
|
+
};
|
|
35740
|
+
}
|
|
35741
|
+
});
|
|
35742
|
+
|
|
35595
35743
|
// ../package-is-installable/lib/checkPlatform.js
|
|
35596
35744
|
var require_checkPlatform = __commonJS({
|
|
35597
35745
|
"../package-is-installable/lib/checkPlatform.js"(exports2) {
|
|
@@ -35602,6 +35750,8 @@ var require_checkPlatform = __commonJS({
|
|
|
35602
35750
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
35603
35751
|
exports2.UnsupportedPlatformError = void 0;
|
|
35604
35752
|
var error_1 = __importDefault2(require_lib7());
|
|
35753
|
+
var detect_libc_1 = require_detect_libc();
|
|
35754
|
+
var currentLibc = (0, detect_libc_1.familySync)() ?? "unknown";
|
|
35605
35755
|
var UnsupportedPlatformError = class extends error_1.default {
|
|
35606
35756
|
constructor(packageId, wanted, current) {
|
|
35607
35757
|
super("UNSUPPORTED_PLATFORM", `Unsupported platform for ${packageId}: wanted ${JSON.stringify(wanted)} (current: ${JSON.stringify(current)})`);
|
|
@@ -35611,18 +35761,21 @@ var require_checkPlatform = __commonJS({
|
|
|
35611
35761
|
};
|
|
35612
35762
|
exports2.UnsupportedPlatformError = UnsupportedPlatformError;
|
|
35613
35763
|
function checkPlatform(packageId, wantedPlatform) {
|
|
35614
|
-
const platform = process
|
|
35615
|
-
const arch = process.arch;
|
|
35764
|
+
const { platform, arch } = process;
|
|
35616
35765
|
let osOk = true;
|
|
35617
35766
|
let cpuOk = true;
|
|
35767
|
+
let libcOk = true;
|
|
35618
35768
|
if (wantedPlatform.os) {
|
|
35619
35769
|
osOk = checkList(platform, wantedPlatform.os);
|
|
35620
35770
|
}
|
|
35621
35771
|
if (wantedPlatform.cpu) {
|
|
35622
35772
|
cpuOk = checkList(arch, wantedPlatform.cpu);
|
|
35623
35773
|
}
|
|
35624
|
-
if (
|
|
35625
|
-
|
|
35774
|
+
if (wantedPlatform.libc && currentLibc !== "unknown") {
|
|
35775
|
+
libcOk = checkList(currentLibc, wantedPlatform.libc);
|
|
35776
|
+
}
|
|
35777
|
+
if (!osOk || !cpuOk || !libcOk) {
|
|
35778
|
+
return new UnsupportedPlatformError(packageId, wantedPlatform, { os: platform, cpu: arch, libc: currentLibc });
|
|
35626
35779
|
}
|
|
35627
35780
|
return null;
|
|
35628
35781
|
}
|
|
@@ -37678,7 +37831,8 @@ var require_lib18 = __commonJS({
|
|
|
37678
37831
|
function checkPackage(pkgId, manifest, options) {
|
|
37679
37832
|
return (0, checkPlatform_1.default)(pkgId, {
|
|
37680
37833
|
cpu: manifest.cpu ?? ["any"],
|
|
37681
|
-
os: manifest.os ?? ["any"]
|
|
37834
|
+
os: manifest.os ?? ["any"],
|
|
37835
|
+
libc: manifest.libc ?? ["any"]
|
|
37682
37836
|
}) ?? (manifest.engines == null ? null : (0, checkEngine_1.default)(pkgId, manifest.engines, {
|
|
37683
37837
|
node: options.nodeVersion ?? (0, getSystemNodeVersion_1.getSystemNodeVersion)(),
|
|
37684
37838
|
pnpm: options.pnpmVersion
|
|
@@ -81851,18 +82005,19 @@ var require_sortLockfileKeys = __commonJS({
|
|
|
81851
82005
|
engines: 5,
|
|
81852
82006
|
cpu: 6,
|
|
81853
82007
|
os: 7,
|
|
81854
|
-
|
|
81855
|
-
|
|
81856
|
-
|
|
81857
|
-
|
|
81858
|
-
|
|
81859
|
-
|
|
81860
|
-
|
|
81861
|
-
|
|
81862
|
-
|
|
81863
|
-
|
|
81864
|
-
|
|
81865
|
-
|
|
82008
|
+
libc: 8,
|
|
82009
|
+
deprecated: 9,
|
|
82010
|
+
hasBin: 10,
|
|
82011
|
+
prepare: 11,
|
|
82012
|
+
requiresBuild: 12,
|
|
82013
|
+
bundleDependencies: 13,
|
|
82014
|
+
peerDependencies: 14,
|
|
82015
|
+
peerDependenciesMeta: 15,
|
|
82016
|
+
dependencies: 16,
|
|
82017
|
+
optionalDependencies: 17,
|
|
82018
|
+
transitivePeerDependencies: 18,
|
|
82019
|
+
dev: 19,
|
|
82020
|
+
optional: 20
|
|
81866
82021
|
};
|
|
81867
82022
|
var ROOT_KEYS_ORDER = {
|
|
81868
82023
|
lockfileVersion: 1,
|
|
@@ -104785,7 +104940,8 @@ var require_filterLockfileByImportersAndEngine = __commonJS({
|
|
|
104785
104940
|
...(0, lockfile_utils_1.nameVerFromPkgSnapshot)(depPath, pkgSnapshot),
|
|
104786
104941
|
cpu: pkgSnapshot.cpu,
|
|
104787
104942
|
engines: pkgSnapshot.engines,
|
|
104788
|
-
os: pkgSnapshot.os
|
|
104943
|
+
os: pkgSnapshot.os,
|
|
104944
|
+
libc: pkgSnapshot.libc
|
|
104789
104945
|
};
|
|
104790
104946
|
installable = opts.includeIncompatiblePackages || (0, package_is_installable_1.default)(pkgSnapshot.id ?? depPath, pkg, {
|
|
104791
104947
|
engineStrict: opts.engineStrict,
|
|
@@ -108298,7 +108454,8 @@ var require_lockfileToDepGraph = __commonJS({
|
|
|
108298
108454
|
version: pkgVersion,
|
|
108299
108455
|
engines: pkgSnapshot.engines,
|
|
108300
108456
|
cpu: pkgSnapshot.cpu,
|
|
108301
|
-
os: pkgSnapshot.os
|
|
108457
|
+
os: pkgSnapshot.os,
|
|
108458
|
+
libc: pkgSnapshot.libc
|
|
108302
108459
|
};
|
|
108303
108460
|
if (!opts.force && (0, package_is_installable_1.default)(packageId, pkg, {
|
|
108304
108461
|
engineStrict: opts.engineStrict,
|
|
@@ -109398,7 +109555,8 @@ var require_lockfileToHoistedDepGraph = __commonJS({
|
|
|
109398
109555
|
version: pkgVersion,
|
|
109399
109556
|
engines: pkgSnapshot.engines,
|
|
109400
109557
|
cpu: pkgSnapshot.cpu,
|
|
109401
|
-
os: pkgSnapshot.os
|
|
109558
|
+
os: pkgSnapshot.os,
|
|
109559
|
+
libc: pkgSnapshot.libc
|
|
109402
109560
|
};
|
|
109403
109561
|
if (!opts.force && (0, package_is_installable_1.default)(packageId, pkg, {
|
|
109404
109562
|
engineStrict: opts.engineStrict,
|
|
@@ -110801,7 +110959,8 @@ var require_resolveDependencies = __commonJS({
|
|
|
110801
110959
|
cpu: options.pkg.cpu,
|
|
110802
110960
|
deprecated: options.pkg.deprecated,
|
|
110803
110961
|
engines: options.pkg.engines,
|
|
110804
|
-
os: options.pkg.os
|
|
110962
|
+
os: options.pkg.os,
|
|
110963
|
+
libc: options.pkg.libc
|
|
110805
110964
|
},
|
|
110806
110965
|
depPath: options.depPath,
|
|
110807
110966
|
dev: options.wantedDependency.dev,
|
|
@@ -112363,6 +112522,9 @@ var require_updateLockfile = __commonJS({
|
|
|
112363
112522
|
if (pkg.additionalInfo.os != null) {
|
|
112364
112523
|
result2["os"] = pkg.additionalInfo.os;
|
|
112365
112524
|
}
|
|
112525
|
+
if (pkg.additionalInfo.libc != null) {
|
|
112526
|
+
result2["libc"] = pkg.additionalInfo.libc;
|
|
112527
|
+
}
|
|
112366
112528
|
if (Array.isArray(pkg.additionalInfo.bundledDependencies) || Array.isArray(pkg.additionalInfo.bundleDependencies)) {
|
|
112367
112529
|
result2["bundledDependencies"] = pkg.additionalInfo.bundledDependencies ?? pkg.additionalInfo.bundleDependencies;
|
|
112368
112530
|
}
|
|
@@ -112776,9 +112938,9 @@ var require_lib97 = __commonJS({
|
|
|
112776
112938
|
}
|
|
112777
112939
|
});
|
|
112778
112940
|
|
|
112779
|
-
// ../../node_modules/.pnpm/@yarnpkg+
|
|
112780
|
-
var
|
|
112781
|
-
"../../node_modules/.pnpm/@yarnpkg+
|
|
112941
|
+
// ../../node_modules/.pnpm/@yarnpkg+extensions@1.1.0-rc.1_@yarnpkg+core@3.2.0/node_modules/@yarnpkg/extensions/lib/index.js
|
|
112942
|
+
var require_lib98 = __commonJS({
|
|
112943
|
+
"../../node_modules/.pnpm/@yarnpkg+extensions@1.1.0-rc.1_@yarnpkg+core@3.2.0/node_modules/@yarnpkg/extensions/lib/index.js"(exports2) {
|
|
112782
112944
|
"use strict";
|
|
112783
112945
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
112784
112946
|
exports2.packageExtensions = void 0;
|
|
@@ -113543,7 +113705,7 @@ var require_pipeWith = __commonJS({
|
|
|
113543
113705
|
});
|
|
113544
113706
|
|
|
113545
113707
|
// ../parse-wanted-dependency/lib/index.js
|
|
113546
|
-
var
|
|
113708
|
+
var require_lib99 = __commonJS({
|
|
113547
113709
|
"../parse-wanted-dependency/lib/index.js"(exports2) {
|
|
113548
113710
|
"use strict";
|
|
113549
113711
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -113586,7 +113748,7 @@ var require_parseWantedDependencies = __commonJS({
|
|
|
113586
113748
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
113587
113749
|
};
|
|
113588
113750
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113589
|
-
var parse_wanted_dependency_1 = __importDefault2(
|
|
113751
|
+
var parse_wanted_dependency_1 = __importDefault2(require_lib99());
|
|
113590
113752
|
var which_version_is_pinned_1 = __importDefault2(require_lib96());
|
|
113591
113753
|
function parseWantedDependencies(rawWantedDependencies, opts) {
|
|
113592
113754
|
return rawWantedDependencies.map((rawWantedDependency) => {
|
|
@@ -113881,7 +114043,7 @@ var require_createPackageExtender = __commonJS({
|
|
|
113881
114043
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
113882
114044
|
};
|
|
113883
114045
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113884
|
-
var parse_wanted_dependency_1 = __importDefault2(
|
|
114046
|
+
var parse_wanted_dependency_1 = __importDefault2(require_lib99());
|
|
113885
114047
|
var semver_12 = __importDefault2(require_semver2());
|
|
113886
114048
|
function default_1(packageExtensions) {
|
|
113887
114049
|
const extensionsByPkgName = {};
|
|
@@ -113920,7 +114082,7 @@ var require_createPackageExtender = __commonJS({
|
|
|
113920
114082
|
});
|
|
113921
114083
|
|
|
113922
114084
|
// ../parse-overrides/lib/index.js
|
|
113923
|
-
var
|
|
114085
|
+
var require_lib100 = __commonJS({
|
|
113924
114086
|
"../parse-overrides/lib/index.js"(exports2) {
|
|
113925
114087
|
"use strict";
|
|
113926
114088
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -113928,7 +114090,7 @@ var require_lib99 = __commonJS({
|
|
|
113928
114090
|
};
|
|
113929
114091
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113930
114092
|
var error_1 = __importDefault2(require_lib7());
|
|
113931
|
-
var parse_wanted_dependency_1 = __importDefault2(
|
|
114093
|
+
var parse_wanted_dependency_1 = __importDefault2(require_lib99());
|
|
113932
114094
|
var DELIMITER_REGEX = /[^ |@]>/;
|
|
113933
114095
|
function parseOverrides(overrides) {
|
|
113934
114096
|
return Object.entries(overrides).map(([selector, newPref]) => {
|
|
@@ -113973,7 +114135,7 @@ var require_createVersionsOverrider = __commonJS({
|
|
|
113973
114135
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113974
114136
|
var path_1 = __importDefault2(require("path"));
|
|
113975
114137
|
var partition_1 = __importDefault2(require_partition4());
|
|
113976
|
-
var parse_overrides_1 = __importDefault2(
|
|
114138
|
+
var parse_overrides_1 = __importDefault2(require_lib100());
|
|
113977
114139
|
var normalize_path_1 = __importDefault2(require_normalize_path());
|
|
113978
114140
|
var semver_12 = __importDefault2(require_semver2());
|
|
113979
114141
|
function default_1(overrides, rootDir) {
|
|
@@ -114715,7 +114877,7 @@ var require_install = __commonJS({
|
|
|
114715
114877
|
var read_project_manifest_1 = require_lib13();
|
|
114716
114878
|
var remove_bins_1 = require_lib92();
|
|
114717
114879
|
var resolve_dependencies_1 = __importStar(require_lib97());
|
|
114718
|
-
var extensions_1 =
|
|
114880
|
+
var extensions_1 = require_lib98();
|
|
114719
114881
|
var rimraf_1 = __importDefault2(require_rimraf2());
|
|
114720
114882
|
var is_inner_link_1 = __importDefault2(require_is_inner_link());
|
|
114721
114883
|
var p_filter_1 = __importDefault2(require_p_filter());
|
|
@@ -115562,7 +115724,7 @@ var require_api = __commonJS({
|
|
|
115562
115724
|
});
|
|
115563
115725
|
|
|
115564
115726
|
// ../core/lib/index.js
|
|
115565
|
-
var
|
|
115727
|
+
var require_lib101 = __commonJS({
|
|
115566
115728
|
"../core/lib/index.js"(exports2) {
|
|
115567
115729
|
"use strict";
|
|
115568
115730
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -115687,7 +115849,7 @@ var require_updateWorkspaceDependencies = __commonJS({
|
|
|
115687
115849
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
115688
115850
|
exports2.createWorkspaceSpecs = exports2.updateToWorkspacePackagesFromManifest = void 0;
|
|
115689
115851
|
var error_1 = __importDefault2(require_lib7());
|
|
115690
|
-
var parse_wanted_dependency_1 = __importDefault2(
|
|
115852
|
+
var parse_wanted_dependency_1 = __importDefault2(require_lib99());
|
|
115691
115853
|
function updateToWorkspacePackagesFromManifest(manifest, include, workspacePackages) {
|
|
115692
115854
|
const allDeps = {
|
|
115693
115855
|
...include.devDependencies ? manifest.devDependencies : {},
|
|
@@ -115823,7 +115985,7 @@ var require_recursive2 = __commonJS({
|
|
|
115823
115985
|
var pnpmfile_1 = require_lib9();
|
|
115824
115986
|
var sort_packages_1 = __importDefault2(require_lib82());
|
|
115825
115987
|
var store_connection_manager_1 = require_lib69();
|
|
115826
|
-
var core_1 =
|
|
115988
|
+
var core_1 = require_lib101();
|
|
115827
115989
|
var camelcase_keys_1 = __importDefault2(require_camelcase_keys());
|
|
115828
115990
|
var is_subdir_1 = __importDefault2(require_is_subdir());
|
|
115829
115991
|
var mem_1 = __importDefault2(require_dist2());
|
|
@@ -116236,7 +116398,7 @@ var require_installDeps = __commonJS({
|
|
|
116236
116398
|
var find_workspace_packages_1 = __importStar(require_lib23());
|
|
116237
116399
|
var plugin_commands_rebuild_1 = require_lib83();
|
|
116238
116400
|
var store_connection_manager_1 = require_lib69();
|
|
116239
|
-
var core_1 =
|
|
116401
|
+
var core_1 = require_lib101();
|
|
116240
116402
|
var logger_1 = __importDefault2(require_lib());
|
|
116241
116403
|
var sort_packages_1 = require_lib82();
|
|
116242
116404
|
var is_subdir_1 = __importDefault2(require_is_subdir());
|
|
@@ -116888,7 +117050,7 @@ var require_fetch3 = __commonJS({
|
|
|
116888
117050
|
var cli_utils_1 = require_lib21();
|
|
116889
117051
|
var common_cli_options_help_1 = require_lib60();
|
|
116890
117052
|
var store_connection_manager_1 = require_lib69();
|
|
116891
|
-
var core_1 =
|
|
117053
|
+
var core_1 = require_lib101();
|
|
116892
117054
|
var render_help_1 = __importDefault2(require_lib30());
|
|
116893
117055
|
var install_1 = require_install2();
|
|
116894
117056
|
Object.defineProperty(exports2, "cliOptionsTypes", { enumerable: true, get: function() {
|
|
@@ -116950,7 +117112,7 @@ var require_fetch3 = __commonJS({
|
|
|
116950
117112
|
});
|
|
116951
117113
|
|
|
116952
117114
|
// ../find-workspace-dir/lib/index.js
|
|
116953
|
-
var
|
|
117115
|
+
var require_lib102 = __commonJS({
|
|
116954
117116
|
"../find-workspace-dir/lib/index.js"(exports2) {
|
|
116955
117117
|
"use strict";
|
|
116956
117118
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -117020,10 +117182,10 @@ var require_link3 = __commonJS({
|
|
|
117020
117182
|
var common_cli_options_help_1 = require_lib60();
|
|
117021
117183
|
var config_1 = require_lib14();
|
|
117022
117184
|
var error_1 = __importDefault2(require_lib7());
|
|
117023
|
-
var find_workspace_dir_1 = __importDefault2(
|
|
117185
|
+
var find_workspace_dir_1 = __importDefault2(require_lib102());
|
|
117024
117186
|
var find_workspace_packages_1 = __importStar(require_lib23());
|
|
117025
117187
|
var store_connection_manager_1 = require_lib69();
|
|
117026
|
-
var core_1 =
|
|
117188
|
+
var core_1 = require_lib101();
|
|
117027
117189
|
var p_limit_12 = __importDefault2(require_p_limit());
|
|
117028
117190
|
var path_absolute_1 = __importDefault2(require_path_absolute());
|
|
117029
117191
|
var pick_1 = __importDefault2(require_pick());
|
|
@@ -117334,7 +117496,7 @@ var require_remove = __commonJS({
|
|
|
117334
117496
|
var find_workspace_packages_1 = __importStar(require_lib23());
|
|
117335
117497
|
var manifest_utils_1 = require_lib20();
|
|
117336
117498
|
var store_connection_manager_1 = require_lib69();
|
|
117337
|
-
var core_1 =
|
|
117499
|
+
var core_1 = require_lib101();
|
|
117338
117500
|
var pick_1 = __importDefault2(require_pick());
|
|
117339
117501
|
var without_1 = __importDefault2(require_without());
|
|
117340
117502
|
var render_help_1 = __importDefault2(require_lib30());
|
|
@@ -117490,7 +117652,7 @@ var require_unlink = __commonJS({
|
|
|
117490
117652
|
var cli_utils_1 = require_lib21();
|
|
117491
117653
|
var common_cli_options_help_1 = require_lib60();
|
|
117492
117654
|
var store_connection_manager_1 = require_lib69();
|
|
117493
|
-
var core_1 =
|
|
117655
|
+
var core_1 = require_lib101();
|
|
117494
117656
|
var render_help_1 = __importDefault2(require_lib30());
|
|
117495
117657
|
var getOptionsFromRootManifest_1 = __importDefault2(require_getOptionsFromRootManifest());
|
|
117496
117658
|
var install_1 = require_install2();
|
|
@@ -117778,7 +117940,7 @@ var require_outdatedDepsOfProjects = __commonJS({
|
|
|
117778
117940
|
});
|
|
117779
117941
|
|
|
117780
117942
|
// ../outdated/lib/index.js
|
|
117781
|
-
var
|
|
117943
|
+
var require_lib103 = __commonJS({
|
|
117782
117944
|
"../outdated/lib/index.js"(exports2) {
|
|
117783
117945
|
"use strict";
|
|
117784
117946
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -122270,7 +122432,7 @@ var require_enquirer = __commonJS({
|
|
|
122270
122432
|
});
|
|
122271
122433
|
|
|
122272
122434
|
// ../../node_modules/.pnpm/@pnpm+colorize-semver-diff@1.0.1/node_modules/@pnpm/colorize-semver-diff/lib/index.js
|
|
122273
|
-
var
|
|
122435
|
+
var require_lib104 = __commonJS({
|
|
122274
122436
|
"../../node_modules/.pnpm/@pnpm+colorize-semver-diff@1.0.1/node_modules/@pnpm/colorize-semver-diff/lib/index.js"(exports2) {
|
|
122275
122437
|
"use strict";
|
|
122276
122438
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -122309,7 +122471,7 @@ var require_lib103 = __commonJS({
|
|
|
122309
122471
|
});
|
|
122310
122472
|
|
|
122311
122473
|
// ../../node_modules/.pnpm/@pnpm+semver-diff@1.1.0/node_modules/@pnpm/semver-diff/lib/index.js
|
|
122312
|
-
var
|
|
122474
|
+
var require_lib105 = __commonJS({
|
|
122313
122475
|
"../../node_modules/.pnpm/@pnpm+semver-diff@1.1.0/node_modules/@pnpm/semver-diff/lib/index.js"(exports2) {
|
|
122314
122476
|
"use strict";
|
|
122315
122477
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -122387,8 +122549,8 @@ var require_getUpdateChoices = __commonJS({
|
|
|
122387
122549
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
122388
122550
|
};
|
|
122389
122551
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
122390
|
-
var colorize_semver_diff_1 = __importDefault2(
|
|
122391
|
-
var semver_diff_1 = __importDefault2(
|
|
122552
|
+
var colorize_semver_diff_1 = __importDefault2(require_lib104());
|
|
122553
|
+
var semver_diff_1 = __importDefault2(require_lib105());
|
|
122392
122554
|
var table_1 = require_dist9();
|
|
122393
122555
|
var isEmpty_1 = __importDefault2(require_isEmpty2());
|
|
122394
122556
|
var unnest_1 = __importDefault2(require_unnest());
|
|
@@ -122483,7 +122645,7 @@ var require_update = __commonJS({
|
|
|
122483
122645
|
var common_cli_options_help_1 = require_lib60();
|
|
122484
122646
|
var config_1 = require_lib14();
|
|
122485
122647
|
var matcher_1 = __importDefault2(require_lib24());
|
|
122486
|
-
var outdated_1 =
|
|
122648
|
+
var outdated_1 = require_lib103();
|
|
122487
122649
|
var enquirer_1 = require_enquirer();
|
|
122488
122650
|
var chalk_1 = __importDefault2(require_source());
|
|
122489
122651
|
var pick_1 = __importDefault2(require_pick());
|
|
@@ -130491,7 +130653,7 @@ ${errors$1.map((error) => `
|
|
|
130491
130653
|
});
|
|
130492
130654
|
|
|
130493
130655
|
// ../../node_modules/.pnpm/typanion@3.8.0/node_modules/typanion/lib/index.js
|
|
130494
|
-
var
|
|
130656
|
+
var require_lib106 = __commonJS({
|
|
130495
130657
|
"../../node_modules/.pnpm/typanion@3.8.0/node_modules/typanion/lib/index.js"(exports2) {
|
|
130496
130658
|
"use strict";
|
|
130497
130659
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -131475,7 +131637,7 @@ var require_Command = __commonJS({
|
|
|
131475
131637
|
const cascade = commandClass.schema;
|
|
131476
131638
|
if (Array.isArray(cascade)) {
|
|
131477
131639
|
const { isDict, isUnknown, applyCascade } = await Promise.resolve().then(function() {
|
|
131478
|
-
return /* @__PURE__ */ _interopNamespace(
|
|
131640
|
+
return /* @__PURE__ */ _interopNamespace(require_lib106());
|
|
131479
131641
|
});
|
|
131480
131642
|
const schema = applyCascade(isDict(isUnknown()), cascade);
|
|
131481
131643
|
const errors = [];
|
|
@@ -156946,7 +157108,7 @@ var require_pipe5 = __commonJS({
|
|
|
156946
157108
|
});
|
|
156947
157109
|
|
|
156948
157110
|
// ../../node_modules/.pnpm/@yarnpkg+shell@3.2.0/node_modules/@yarnpkg/shell/lib/index.js
|
|
156949
|
-
var
|
|
157111
|
+
var require_lib107 = __commonJS({
|
|
156950
157112
|
"../../node_modules/.pnpm/@yarnpkg+shell@3.2.0/node_modules/@yarnpkg/shell/lib/index.js"(exports2) {
|
|
156951
157113
|
"use strict";
|
|
156952
157114
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -158382,7 +158544,7 @@ var require_scriptUtils = __commonJS({
|
|
|
158382
158544
|
var fslib_12 = require_lib74();
|
|
158383
158545
|
var fslib_2 = require_lib74();
|
|
158384
158546
|
var libzip_1 = require_sync8();
|
|
158385
|
-
var shell_1 =
|
|
158547
|
+
var shell_1 = require_lib107();
|
|
158386
158548
|
var capitalize_1 = tslib_12.__importDefault(require_capitalize());
|
|
158387
158549
|
var p_limit_12 = tslib_12.__importDefault(require_p_limit2());
|
|
158388
158550
|
var stream_12 = require("stream");
|
|
@@ -165208,7 +165370,7 @@ var require_xml = __commonJS({
|
|
|
165208
165370
|
});
|
|
165209
165371
|
|
|
165210
165372
|
// ../../node_modules/.pnpm/diff@4.0.2/node_modules/diff/lib/index.js
|
|
165211
|
-
var
|
|
165373
|
+
var require_lib108 = __commonJS({
|
|
165212
165374
|
"../../node_modules/.pnpm/diff@4.0.2/node_modules/diff/lib/index.js"(exports2) {
|
|
165213
165375
|
"use strict";
|
|
165214
165376
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -165967,7 +166129,7 @@ var require_Project = __commonJS({
|
|
|
165967
166129
|
var parsers_1 = require_lib75();
|
|
165968
166130
|
var clipanion_12 = require_advanced();
|
|
165969
166131
|
var crypto_1 = require("crypto");
|
|
165970
|
-
var diff_1 =
|
|
166132
|
+
var diff_1 = require_lib108();
|
|
165971
166133
|
var pick_1 = tslib_12.__importDefault(require_pick2());
|
|
165972
166134
|
var p_limit_12 = tslib_12.__importDefault(require_p_limit2());
|
|
165973
166135
|
var semver_12 = tslib_12.__importDefault(require_semver2());
|
|
@@ -167722,7 +167884,7 @@ var require_TelemetryManager = __commonJS({
|
|
|
167722
167884
|
});
|
|
167723
167885
|
|
|
167724
167886
|
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0/node_modules/@yarnpkg/core/lib/index.js
|
|
167725
|
-
var
|
|
167887
|
+
var require_lib109 = __commonJS({
|
|
167726
167888
|
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0/node_modules/@yarnpkg/core/lib/index.js"(exports2) {
|
|
167727
167889
|
"use strict";
|
|
167728
167890
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -167980,7 +168142,7 @@ var require_import = __commonJS({
|
|
|
167980
168142
|
var read_project_manifest_1 = require_lib13();
|
|
167981
168143
|
var store_connection_manager_1 = require_lib69();
|
|
167982
168144
|
var graceful_fs_1 = __importDefault2(require_lib12());
|
|
167983
|
-
var core_1 =
|
|
168145
|
+
var core_1 = require_lib101();
|
|
167984
168146
|
var find_workspace_packages_1 = __importDefault2(require_lib23());
|
|
167985
168147
|
var logger_1 = __importDefault2(require_lib());
|
|
167986
168148
|
var sort_packages_1 = require_lib82();
|
|
@@ -167988,7 +168150,7 @@ var require_import = __commonJS({
|
|
|
167988
168150
|
var load_json_file_1 = __importDefault2(require_load_json_file());
|
|
167989
168151
|
var render_help_1 = __importDefault2(require_lib30());
|
|
167990
168152
|
var lockfile_1 = require_lockfile();
|
|
167991
|
-
var yarnCore = __importStar(
|
|
168153
|
+
var yarnCore = __importStar(require_lib109());
|
|
167992
168154
|
var parsers_1 = require_lib75();
|
|
167993
168155
|
var path_exists_1 = __importDefault2(require_path_exists());
|
|
167994
168156
|
var getOptionsFromRootManifest_1 = __importDefault2(require_getOptionsFromRootManifest());
|
|
@@ -168165,7 +168327,7 @@ var require_import = __commonJS({
|
|
|
168165
168327
|
});
|
|
168166
168328
|
|
|
168167
168329
|
// ../plugin-commands-installation/lib/index.js
|
|
168168
|
-
var
|
|
168330
|
+
var require_lib110 = __commonJS({
|
|
168169
168331
|
"../plugin-commands-installation/lib/index.js"(exports2) {
|
|
168170
168332
|
"use strict";
|
|
168171
168333
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -168224,7 +168386,7 @@ var require_lib109 = __commonJS({
|
|
|
168224
168386
|
});
|
|
168225
168387
|
|
|
168226
168388
|
// ../dependencies-hierarchy/lib/index.js
|
|
168227
|
-
var
|
|
168389
|
+
var require_lib111 = __commonJS({
|
|
168228
168390
|
"../dependencies-hierarchy/lib/index.js"(exports2) {
|
|
168229
168391
|
"use strict";
|
|
168230
168392
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -168872,7 +169034,7 @@ ${depsLabel}
|
|
|
168872
169034
|
});
|
|
168873
169035
|
|
|
168874
169036
|
// ../list/lib/index.js
|
|
168875
|
-
var
|
|
169037
|
+
var require_lib112 = __commonJS({
|
|
168876
169038
|
"../list/lib/index.js"(exports2) {
|
|
168877
169039
|
"use strict";
|
|
168878
169040
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -168881,7 +169043,7 @@ var require_lib111 = __commonJS({
|
|
|
168881
169043
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
168882
169044
|
exports2.forPackages = void 0;
|
|
168883
169045
|
var read_project_manifest_1 = require_lib13();
|
|
168884
|
-
var dependencies_hierarchy_1 = __importDefault2(
|
|
169046
|
+
var dependencies_hierarchy_1 = __importDefault2(require_lib111());
|
|
168885
169047
|
var createPackagesSearcher_1 = __importDefault2(require_createPackagesSearcher());
|
|
168886
169048
|
var renderJson_1 = __importDefault2(require_renderJson());
|
|
168887
169049
|
var renderParseable_1 = __importDefault2(require_renderParseable());
|
|
@@ -169053,7 +169215,7 @@ var require_list3 = __commonJS({
|
|
|
169053
169215
|
var cli_utils_1 = require_lib21();
|
|
169054
169216
|
var common_cli_options_help_1 = require_lib60();
|
|
169055
169217
|
var config_1 = require_lib14();
|
|
169056
|
-
var list_1 = __importStar(
|
|
169218
|
+
var list_1 = __importStar(require_lib112());
|
|
169057
169219
|
var pick_1 = __importDefault2(require_pick());
|
|
169058
169220
|
var render_help_1 = __importDefault2(require_lib30());
|
|
169059
169221
|
var recursive_1 = __importDefault2(require_recursive3());
|
|
@@ -169357,7 +169519,7 @@ For example: pnpm why babel-* eslint-*`,
|
|
|
169357
169519
|
});
|
|
169358
169520
|
|
|
169359
169521
|
// ../plugin-commands-listing/lib/index.js
|
|
169360
|
-
var
|
|
169522
|
+
var require_lib113 = __commonJS({
|
|
169361
169523
|
"../plugin-commands-listing/lib/index.js"(exports2) {
|
|
169362
169524
|
"use strict";
|
|
169363
169525
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -169463,7 +169625,7 @@ var require_recursive4 = __commonJS({
|
|
|
169463
169625
|
};
|
|
169464
169626
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
169465
169627
|
var cli_utils_1 = require_lib21();
|
|
169466
|
-
var outdated_1 =
|
|
169628
|
+
var outdated_1 = require_lib103();
|
|
169467
169629
|
var table_1 = require_dist9();
|
|
169468
169630
|
var chalk_1 = __importDefault2(require_source());
|
|
169469
169631
|
var isEmpty_1 = __importDefault2(require_isEmpty2());
|
|
@@ -169581,11 +169743,11 @@ var require_outdated2 = __commonJS({
|
|
|
169581
169743
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
169582
169744
|
exports2.renderDetails = exports2.renderLatest = exports2.renderCurrent = exports2.renderPackageName = exports2.toOutdatedWithVersionDiff = exports2.getCellWidth = exports2.handler = exports2.completion = exports2.help = exports2.commandNames = exports2.shorthands = exports2.cliOptionsTypes = exports2.rcOptionsTypes = void 0;
|
|
169583
169745
|
var cli_utils_1 = require_lib21();
|
|
169584
|
-
var colorize_semver_diff_1 = __importDefault2(
|
|
169746
|
+
var colorize_semver_diff_1 = __importDefault2(require_lib104());
|
|
169585
169747
|
var common_cli_options_help_1 = require_lib60();
|
|
169586
169748
|
var config_1 = require_lib14();
|
|
169587
|
-
var outdated_1 =
|
|
169588
|
-
var semver_diff_1 = __importDefault2(
|
|
169749
|
+
var outdated_1 = require_lib103();
|
|
169750
|
+
var semver_diff_1 = __importDefault2(require_lib105());
|
|
169589
169751
|
var table_1 = require_dist9();
|
|
169590
169752
|
var chalk_1 = __importDefault2(require_source());
|
|
169591
169753
|
var pick_1 = __importDefault2(require_pick());
|
|
@@ -169824,7 +169986,7 @@ ${details}`;
|
|
|
169824
169986
|
});
|
|
169825
169987
|
|
|
169826
169988
|
// ../plugin-commands-outdated/lib/index.js
|
|
169827
|
-
var
|
|
169989
|
+
var require_lib114 = __commonJS({
|
|
169828
169990
|
"../plugin-commands-outdated/lib/index.js"(exports2) {
|
|
169829
169991
|
"use strict";
|
|
169830
169992
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -169892,6 +170054,7 @@ var require_overridePublishConfig = __commonJS({
|
|
|
169892
170054
|
"umd:main",
|
|
169893
170055
|
"os",
|
|
169894
170056
|
"cpu",
|
|
170057
|
+
"libc",
|
|
169895
170058
|
"typesVersions"
|
|
169896
170059
|
]);
|
|
169897
170060
|
function overridePublishConfig(publishManifest) {
|
|
@@ -169911,7 +170074,7 @@ var require_overridePublishConfig = __commonJS({
|
|
|
169911
170074
|
});
|
|
169912
170075
|
|
|
169913
170076
|
// ../exportable-manifest/lib/index.js
|
|
169914
|
-
var
|
|
170077
|
+
var require_lib115 = __commonJS({
|
|
169915
170078
|
"../exportable-manifest/lib/index.js"(exports2) {
|
|
169916
170079
|
"use strict";
|
|
169917
170080
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -169994,7 +170157,7 @@ var require_lib114 = __commonJS({
|
|
|
169994
170157
|
});
|
|
169995
170158
|
|
|
169996
170159
|
// ../run-npm/lib/index.js
|
|
169997
|
-
var
|
|
170160
|
+
var require_lib116 = __commonJS({
|
|
169998
170161
|
"../run-npm/lib/index.js"(exports2) {
|
|
169999
170162
|
"use strict";
|
|
170000
170163
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -170254,7 +170417,7 @@ var require_publish2 = __commonJS({
|
|
|
170254
170417
|
var config_1 = require_lib14();
|
|
170255
170418
|
var error_1 = __importDefault2(require_lib7());
|
|
170256
170419
|
var lifecycle_1 = __importDefault2(require_lib78());
|
|
170257
|
-
var run_npm_1 = __importDefault2(
|
|
170420
|
+
var run_npm_1 = __importDefault2(require_lib116());
|
|
170258
170421
|
var enquirer_1 = require_enquirer();
|
|
170259
170422
|
var rimraf_1 = __importDefault2(require_rimraf2());
|
|
170260
170423
|
var pick_1 = __importDefault2(require_pick());
|
|
@@ -170473,7 +170636,7 @@ var require_pack3 = __commonJS({
|
|
|
170473
170636
|
var error_1 = __importDefault2(require_lib7());
|
|
170474
170637
|
var config_1 = require_lib14();
|
|
170475
170638
|
var cli_utils_1 = require_lib21();
|
|
170476
|
-
var exportable_manifest_1 = __importDefault2(
|
|
170639
|
+
var exportable_manifest_1 = __importDefault2(require_lib115());
|
|
170477
170640
|
var package_bins_1 = __importDefault2(require_lib79());
|
|
170478
170641
|
var fast_glob_1 = __importDefault2(require_out4());
|
|
170479
170642
|
var pick_1 = __importDefault2(require_pick());
|
|
@@ -170607,7 +170770,7 @@ var require_pack3 = __commonJS({
|
|
|
170607
170770
|
});
|
|
170608
170771
|
|
|
170609
170772
|
// ../plugin-commands-publishing/lib/index.js
|
|
170610
|
-
var
|
|
170773
|
+
var require_lib117 = __commonJS({
|
|
170611
170774
|
"../plugin-commands-publishing/lib/index.js"(exports2) {
|
|
170612
170775
|
"use strict";
|
|
170613
170776
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -170691,7 +170854,7 @@ var require_dlx = __commonJS({
|
|
|
170691
170854
|
var cli_utils_1 = require_lib21();
|
|
170692
170855
|
var common_cli_options_help_1 = require_lib60();
|
|
170693
170856
|
var error_1 = __importDefault2(require_lib7());
|
|
170694
|
-
var plugin_commands_installation_1 =
|
|
170857
|
+
var plugin_commands_installation_1 = require_lib110();
|
|
170695
170858
|
var read_package_json_1 = require_lib34();
|
|
170696
170859
|
var package_bins_1 = __importDefault2(require_lib79());
|
|
170697
170860
|
var store_path_1 = __importDefault2(require_lib33());
|
|
@@ -170753,13 +170916,17 @@ var require_dlx = __commonJS({
|
|
|
170753
170916
|
dir: prefix,
|
|
170754
170917
|
bin: binsDir
|
|
170755
170918
|
}, pkgs);
|
|
170756
|
-
const binName = opts.package ? command : await getBinName(modulesDir,
|
|
170919
|
+
const binName = opts.package ? command : await getBinName(modulesDir, await getPkgName(prefix));
|
|
170757
170920
|
await (0, execa_1.default)(binName, args2, {
|
|
170758
170921
|
env,
|
|
170759
170922
|
stdio: "inherit"
|
|
170760
170923
|
});
|
|
170761
170924
|
}
|
|
170762
170925
|
exports2.handler = handler;
|
|
170926
|
+
async function getPkgName(pkgDir) {
|
|
170927
|
+
const manifest = await (0, read_package_json_1.fromDir)(pkgDir);
|
|
170928
|
+
return Object.keys(manifest.dependencies ?? {})[0];
|
|
170929
|
+
}
|
|
170763
170930
|
async function getBinName(modulesDir, pkgName) {
|
|
170764
170931
|
const pkgDir = path_1.default.join(modulesDir, pkgName);
|
|
170765
170932
|
const manifest = await (0, read_package_json_1.fromDir)(pkgDir);
|
|
@@ -170787,12 +170954,6 @@ ${binNames.map((name) => `pnpm --package=${pkgName} dlx ${name}`).join("\n")}
|
|
|
170787
170954
|
}
|
|
170788
170955
|
return pkgName;
|
|
170789
170956
|
}
|
|
170790
|
-
function versionless(pkgName) {
|
|
170791
|
-
const index = pkgName.indexOf("@", 1);
|
|
170792
|
-
if (index === -1)
|
|
170793
|
-
return pkgName;
|
|
170794
|
-
return pkgName.substring(0, index);
|
|
170795
|
-
}
|
|
170796
170957
|
async function getDlxDir(opts) {
|
|
170797
170958
|
const storeDir = await (0, store_path_1.default)({
|
|
170798
170959
|
pkgRoot: opts.dir,
|
|
@@ -170983,7 +171144,7 @@ var require_runRecursive = __commonJS({
|
|
|
170983
171144
|
passes: 0
|
|
170984
171145
|
};
|
|
170985
171146
|
const limitRun = (0, p_limit_12.default)(opts.workspaceConcurrency ?? 4);
|
|
170986
|
-
const stdio = opts.workspaceConcurrency === 1 || packageChunks.length === 1 && packageChunks[0].length === 1 ? "inherit" : "pipe";
|
|
171147
|
+
const stdio = !opts.stream && (opts.workspaceConcurrency === 1 || packageChunks.length === 1 && packageChunks[0].length === 1) ? "inherit" : "pipe";
|
|
170987
171148
|
const existsPnp = existsInDir_1.default.bind(null, ".pnp.cjs");
|
|
170988
171149
|
const workspacePnpPath = opts.workspaceDir && await existsPnp(opts.workspaceDir);
|
|
170989
171150
|
for (const chunk of packageChunks) {
|
|
@@ -171613,7 +171774,7 @@ var require_test = __commonJS({
|
|
|
171613
171774
|
});
|
|
171614
171775
|
|
|
171615
171776
|
// ../plugin-commands-script-runners/lib/index.js
|
|
171616
|
-
var
|
|
171777
|
+
var require_lib118 = __commonJS({
|
|
171617
171778
|
"../plugin-commands-script-runners/lib/index.js"(exports2) {
|
|
171618
171779
|
"use strict";
|
|
171619
171780
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -172278,7 +172439,7 @@ var require_server = __commonJS({
|
|
|
172278
172439
|
});
|
|
172279
172440
|
|
|
172280
172441
|
// ../plugin-commands-server/lib/index.js
|
|
172281
|
-
var
|
|
172442
|
+
var require_lib119 = __commonJS({
|
|
172282
172443
|
"../plugin-commands-server/lib/index.js"(exports2) {
|
|
172283
172444
|
"use strict";
|
|
172284
172445
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -172320,6 +172481,27 @@ var require_lib118 = __commonJS({
|
|
|
172320
172481
|
}
|
|
172321
172482
|
});
|
|
172322
172483
|
|
|
172484
|
+
// ../plugin-commands-setup/lib/BadHomeDirError.js
|
|
172485
|
+
var require_BadHomeDirError = __commonJS({
|
|
172486
|
+
"../plugin-commands-setup/lib/BadHomeDirError.js"(exports2) {
|
|
172487
|
+
"use strict";
|
|
172488
|
+
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
172489
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
172490
|
+
};
|
|
172491
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
172492
|
+
exports2.BadHomeDirError = void 0;
|
|
172493
|
+
var error_1 = __importDefault2(require_lib7());
|
|
172494
|
+
var BadHomeDirError = class extends error_1.default {
|
|
172495
|
+
constructor({ wantedDir, currentDir }) {
|
|
172496
|
+
super("DIFFERENT_HOME_DIR_IS_SET", `Currently 'PNPM_HOME' is set to '${currentDir}'`, {
|
|
172497
|
+
hint: "If you want to override the existing PNPM_HOME env variable, use the --force option"
|
|
172498
|
+
});
|
|
172499
|
+
}
|
|
172500
|
+
};
|
|
172501
|
+
exports2.BadHomeDirError = BadHomeDirError;
|
|
172502
|
+
}
|
|
172503
|
+
});
|
|
172504
|
+
|
|
172323
172505
|
// ../plugin-commands-setup/lib/setupOnWindows.js
|
|
172324
172506
|
var require_setupOnWindows = __commonJS({
|
|
172325
172507
|
"../plugin-commands-setup/lib/setupOnWindows.js"(exports2) {
|
|
@@ -172331,26 +172513,52 @@ var require_setupOnWindows = __commonJS({
|
|
|
172331
172513
|
exports2.setupWindowsEnvironmentPath = void 0;
|
|
172332
172514
|
var path_1 = require("path");
|
|
172333
172515
|
var execa_1 = __importDefault2(require_lib17());
|
|
172334
|
-
|
|
172335
|
-
|
|
172336
|
-
|
|
172337
|
-
const
|
|
172338
|
-
|
|
172516
|
+
var BadHomeDirError_1 = require_BadHomeDirError();
|
|
172517
|
+
var REG_KEY = "HKEY_CURRENT_USER\\Environment";
|
|
172518
|
+
function findEnvValuesInRegistry(regEntries, envVarName) {
|
|
172519
|
+
const regexp = new RegExp(`^ {4}(?<name>${envVarName}) {4}(?<type>\\w+) {4}(?<data>.*)$`, "gim");
|
|
172520
|
+
return Array.from(regEntries.matchAll(regexp));
|
|
172521
|
+
}
|
|
172522
|
+
function setEnvVarInRegistry(envVarName, envVarValue) {
|
|
172523
|
+
return (0, execa_1.default)("reg", ["add", REG_KEY, "/v", envVarName, "/t", "REG_EXPAND_SZ", "/d", envVarValue, "/f"], { windowsHide: false });
|
|
172524
|
+
}
|
|
172525
|
+
function pathIncludesDir(pathValue, dir) {
|
|
172526
|
+
const dirPath = path_1.win32.parse(path_1.win32.normalize(dir));
|
|
172527
|
+
return pathValue.split(path_1.win32.delimiter).map((p) => path_1.win32.normalize(p)).map((p) => path_1.win32.parse(p)).map((p) => `${p.dir}${path_1.win32.sep}${p.base}`.toUpperCase()).filter((p) => p !== "").includes(`${dirPath.dir}${path_1.win32.sep}${dirPath.base}`.toUpperCase());
|
|
172528
|
+
}
|
|
172529
|
+
async function setupWindowsEnvironmentPath(pnpmHomeDir, opts) {
|
|
172530
|
+
const chcpResult = await (0, execa_1.default)("chcp");
|
|
172531
|
+
const cpMatch = /\d+/.exec(chcpResult.stdout) ?? [];
|
|
172532
|
+
const cpBak = parseInt(cpMatch[0]);
|
|
172533
|
+
if (chcpResult.failed || !(cpBak > 0)) {
|
|
172534
|
+
return `exec chcp failed: ${cpBak}, ${chcpResult.stderr}`;
|
|
172535
|
+
}
|
|
172536
|
+
await (0, execa_1.default)("chcp", ["65001"]);
|
|
172537
|
+
try {
|
|
172538
|
+
return await _setupWindowsEnvironmentPath(path_1.win32.normalize(pnpmHomeDir), opts);
|
|
172539
|
+
} finally {
|
|
172540
|
+
await (0, execa_1.default)("chcp", [cpBak.toString()]);
|
|
172541
|
+
}
|
|
172542
|
+
}
|
|
172543
|
+
exports2.setupWindowsEnvironmentPath = setupWindowsEnvironmentPath;
|
|
172544
|
+
async function _setupWindowsEnvironmentPath(pnpmHomeDir, opts) {
|
|
172545
|
+
const queryResult = await (0, execa_1.default)("reg", ["query", REG_KEY], { windowsHide: false });
|
|
172339
172546
|
if (queryResult.failed) {
|
|
172340
172547
|
return "Win32 registry environment values could not be retrieved";
|
|
172341
172548
|
}
|
|
172342
172549
|
const queryOutput = queryResult.stdout;
|
|
172343
|
-
const pathValueMatch =
|
|
172344
|
-
const homeValueMatch =
|
|
172550
|
+
const pathValueMatch = findEnvValuesInRegistry(queryOutput, "PATH");
|
|
172551
|
+
const homeValueMatch = findEnvValuesInRegistry(queryOutput, "PNPM_HOME");
|
|
172345
172552
|
let commitNeeded = false;
|
|
172346
|
-
let homeDir = pnpmHomeDir;
|
|
172347
172553
|
const logger = [];
|
|
172348
|
-
if (homeValueMatch.length === 1) {
|
|
172349
|
-
|
|
172350
|
-
|
|
172554
|
+
if (homeValueMatch.length === 1 && !opts.force) {
|
|
172555
|
+
const currentHomeDir = homeValueMatch[0].groups.data;
|
|
172556
|
+
if (currentHomeDir !== pnpmHomeDir) {
|
|
172557
|
+
throw new BadHomeDirError_1.BadHomeDirError({ currentDir: currentHomeDir, wantedDir: pnpmHomeDir });
|
|
172558
|
+
}
|
|
172351
172559
|
} else {
|
|
172352
|
-
logger.push(`Setting 'PNPM_HOME' to value '${
|
|
172353
|
-
const addResult = await (
|
|
172560
|
+
logger.push(`Setting 'PNPM_HOME' to value '${pnpmHomeDir}'`);
|
|
172561
|
+
const addResult = await setEnvVarInRegistry("PNPM_HOME", pnpmHomeDir);
|
|
172354
172562
|
if (addResult.failed) {
|
|
172355
172563
|
logger.push(` ${addResult.stderr}`);
|
|
172356
172564
|
} else {
|
|
@@ -172358,34 +172566,29 @@ var require_setupOnWindows = __commonJS({
|
|
|
172358
172566
|
logger.push(` ${addResult.stdout}`);
|
|
172359
172567
|
}
|
|
172360
172568
|
}
|
|
172361
|
-
|
|
172362
|
-
|
|
172363
|
-
|
|
172364
|
-
|
|
172569
|
+
const pathData = pathValueMatch[0]?.groups.data;
|
|
172570
|
+
if (pathData === void 0) {
|
|
172571
|
+
logger.push("Current PATH is not set. No changes to this environment variable are applied");
|
|
172572
|
+
} else if (pathData == null || pathData.trim() === "") {
|
|
172573
|
+
logger.push("Current PATH is empty. No changes to this environment variable are applied");
|
|
172574
|
+
} else if (pathIncludesDir(pathData, pnpmHomeDir) || pathData.split(path_1.win32.delimiter).includes("%PNPM_HOME%")) {
|
|
172575
|
+
logger.push("PATH already contains PNPM_HOME");
|
|
172576
|
+
} else {
|
|
172577
|
+
logger.push("Updating PATH");
|
|
172578
|
+
const newPathValue = `%PNPM_HOME%${path_1.win32.delimiter}${pathData}`;
|
|
172579
|
+
const addResult = await setEnvVarInRegistry(pathValueMatch[0].groups.name, newPathValue);
|
|
172580
|
+
if (addResult.failed) {
|
|
172581
|
+
logger.push(` ${addResult.stderr}`);
|
|
172365
172582
|
} else {
|
|
172366
|
-
|
|
172367
|
-
|
|
172368
|
-
logger.push("PATH already contains PNPM_HOME");
|
|
172369
|
-
} else {
|
|
172370
|
-
logger.push("Updating PATH");
|
|
172371
|
-
const addResult = await (0, execa_1.default)("reg", ["add", regKey, "/v", pathValueMatch[0].groups.name, "/t", "REG_EXPAND_SZ", "/d", `${homeDir}${path_1.win32.delimiter}${pathData}`, "/f"]);
|
|
172372
|
-
if (addResult.failed) {
|
|
172373
|
-
logger.push(` ${addResult.stderr}`);
|
|
172374
|
-
} else {
|
|
172375
|
-
commitNeeded = true;
|
|
172376
|
-
logger.push(` ${addResult.stdout}`);
|
|
172377
|
-
}
|
|
172378
|
-
}
|
|
172583
|
+
commitNeeded = true;
|
|
172584
|
+
logger.push(` ${addResult.stdout}`);
|
|
172379
172585
|
}
|
|
172380
|
-
} else {
|
|
172381
|
-
logger.push("Current PATH is not set. No changes to this environment variable are applied");
|
|
172382
172586
|
}
|
|
172383
172587
|
if (commitNeeded) {
|
|
172384
|
-
await (0, execa_1.default)("setx", ["PNPM_HOME",
|
|
172588
|
+
await (0, execa_1.default)("setx", ["PNPM_HOME", pnpmHomeDir]);
|
|
172385
172589
|
}
|
|
172386
172590
|
return logger.join("\n");
|
|
172387
172591
|
}
|
|
172388
|
-
exports2.setupWindowsEnvironmentPath = setupWindowsEnvironmentPath;
|
|
172389
172592
|
}
|
|
172390
172593
|
});
|
|
172391
172594
|
|
|
@@ -172405,16 +172608,30 @@ var require_setup = __commonJS({
|
|
|
172405
172608
|
var logger_1 = __importDefault2(require_lib());
|
|
172406
172609
|
var render_help_1 = __importDefault2(require_lib30());
|
|
172407
172610
|
var setupOnWindows_1 = require_setupOnWindows();
|
|
172611
|
+
var BadHomeDirError_1 = require_BadHomeDirError();
|
|
172408
172612
|
var rcOptionsTypes = () => ({});
|
|
172409
172613
|
exports2.rcOptionsTypes = rcOptionsTypes;
|
|
172410
|
-
var cliOptionsTypes = () => ({
|
|
172614
|
+
var cliOptionsTypes = () => ({
|
|
172615
|
+
force: Boolean
|
|
172616
|
+
});
|
|
172411
172617
|
exports2.cliOptionsTypes = cliOptionsTypes;
|
|
172412
172618
|
exports2.shorthands = {};
|
|
172413
172619
|
exports2.commandNames = ["setup"];
|
|
172414
172620
|
function help() {
|
|
172415
172621
|
return (0, render_help_1.default)({
|
|
172416
172622
|
description: "Sets up pnpm",
|
|
172417
|
-
descriptionLists: [
|
|
172623
|
+
descriptionLists: [
|
|
172624
|
+
{
|
|
172625
|
+
title: "Options",
|
|
172626
|
+
list: [
|
|
172627
|
+
{
|
|
172628
|
+
description: "Override the PNPM_HOME env variable in case it already exists",
|
|
172629
|
+
name: "--force",
|
|
172630
|
+
shortAlias: "-f"
|
|
172631
|
+
}
|
|
172632
|
+
]
|
|
172633
|
+
}
|
|
172634
|
+
],
|
|
172418
172635
|
url: (0, cli_utils_1.docsUrl)("setup"),
|
|
172419
172636
|
usages: ["pnpm setup"]
|
|
172420
172637
|
});
|
|
@@ -172438,74 +172655,108 @@ var require_setup = __commonJS({
|
|
|
172438
172655
|
fs_1.default.copyFileSync(currentLocation, newExecPath);
|
|
172439
172656
|
}
|
|
172440
172657
|
async function handler(opts) {
|
|
172441
|
-
const currentShell =
|
|
172658
|
+
const currentShell = detectCurrentShell();
|
|
172442
172659
|
const execPath = getExecPath();
|
|
172443
172660
|
if (execPath.match(/\.[cm]?js$/) == null) {
|
|
172444
172661
|
copyCli(execPath, opts.pnpmHomeDir);
|
|
172445
172662
|
}
|
|
172446
|
-
const updateOutput = await updateShell(currentShell, opts.pnpmHomeDir);
|
|
172663
|
+
const updateOutput = await updateShell(currentShell, opts.pnpmHomeDir, { force: opts.force ?? false });
|
|
172447
172664
|
return `${updateOutput}
|
|
172448
172665
|
|
|
172449
172666
|
Setup complete. Open a new terminal to start using pnpm.`;
|
|
172450
172667
|
}
|
|
172451
172668
|
exports2.handler = handler;
|
|
172452
|
-
|
|
172669
|
+
function detectCurrentShell() {
|
|
172670
|
+
if (process.env.ZSH_VERSION)
|
|
172671
|
+
return "zsh";
|
|
172672
|
+
if (process.env.BASH_VERSION)
|
|
172673
|
+
return "bash";
|
|
172674
|
+
if (process.env.FISH_VERSION)
|
|
172675
|
+
return "fish";
|
|
172676
|
+
return typeof process.env.SHELL === "string" ? path_1.default.basename(process.env.SHELL) : null;
|
|
172677
|
+
}
|
|
172678
|
+
async function updateShell(currentShell, pnpmHomeDir, opts) {
|
|
172453
172679
|
switch (currentShell) {
|
|
172454
172680
|
case "bash": {
|
|
172455
172681
|
const configFile = path_1.default.join(os_1.default.homedir(), ".bashrc");
|
|
172456
|
-
return setupShell(configFile, pnpmHomeDir);
|
|
172682
|
+
return setupShell(configFile, pnpmHomeDir, opts);
|
|
172457
172683
|
}
|
|
172458
172684
|
case "zsh": {
|
|
172459
172685
|
const configFile = path_1.default.join(os_1.default.homedir(), ".zshrc");
|
|
172460
|
-
return setupShell(configFile, pnpmHomeDir);
|
|
172686
|
+
return setupShell(configFile, pnpmHomeDir, opts);
|
|
172461
172687
|
}
|
|
172462
172688
|
case "fish": {
|
|
172463
|
-
return setupFishShell(pnpmHomeDir);
|
|
172689
|
+
return setupFishShell(pnpmHomeDir, opts);
|
|
172464
172690
|
}
|
|
172465
172691
|
}
|
|
172466
172692
|
if (process.platform === "win32") {
|
|
172467
|
-
return (0, setupOnWindows_1.setupWindowsEnvironmentPath)(pnpmHomeDir);
|
|
172693
|
+
return (0, setupOnWindows_1.setupWindowsEnvironmentPath)(pnpmHomeDir, opts);
|
|
172468
172694
|
}
|
|
172469
172695
|
return "Could not infer shell type.";
|
|
172470
172696
|
}
|
|
172471
|
-
async function setupShell(configFile, pnpmHomeDir) {
|
|
172472
|
-
const content =
|
|
172697
|
+
async function setupShell(configFile, pnpmHomeDir, opts) {
|
|
172698
|
+
const content = `# pnpm
|
|
172699
|
+
export PNPM_HOME="${pnpmHomeDir}"
|
|
172473
172700
|
export PATH="$PNPM_HOME:$PATH"
|
|
172701
|
+
# pnpm end
|
|
172474
172702
|
`;
|
|
172475
172703
|
if (!fs_1.default.existsSync(configFile)) {
|
|
172476
172704
|
await fs_1.default.promises.writeFile(configFile, content, "utf8");
|
|
172477
172705
|
return `Created ${configFile}`;
|
|
172478
172706
|
}
|
|
172479
172707
|
const configContent = await fs_1.default.promises.readFile(configFile, "utf8");
|
|
172480
|
-
if (configContent.includes("PNPM_HOME")) {
|
|
172481
|
-
|
|
172482
|
-
}
|
|
172483
|
-
await fs_1.default.promises.appendFile(configFile, `
|
|
172708
|
+
if (!configContent.includes("PNPM_HOME")) {
|
|
172709
|
+
await fs_1.default.promises.appendFile(configFile, `
|
|
172484
172710
|
${content}`, "utf8");
|
|
172485
|
-
|
|
172711
|
+
return `Updated ${configFile}`;
|
|
172712
|
+
}
|
|
172713
|
+
const match = configContent.match(/export PNPM_HOME="(.*)"/);
|
|
172714
|
+
if (match && match[1] !== pnpmHomeDir) {
|
|
172715
|
+
if (!opts.force) {
|
|
172716
|
+
throw new BadHomeDirError_1.BadHomeDirError({ currentDir: match[1], wantedDir: pnpmHomeDir });
|
|
172717
|
+
}
|
|
172718
|
+
const newConfigContent = replaceSection(configContent, content);
|
|
172719
|
+
await fs_1.default.promises.writeFile(configFile, newConfigContent, "utf8");
|
|
172720
|
+
return `Updated ${configFile}`;
|
|
172721
|
+
}
|
|
172722
|
+
return `PNPM_HOME is already in ${configFile}`;
|
|
172486
172723
|
}
|
|
172487
|
-
async function setupFishShell(pnpmHomeDir) {
|
|
172724
|
+
async function setupFishShell(pnpmHomeDir, opts) {
|
|
172488
172725
|
const configFile = path_1.default.join(os_1.default.homedir(), ".config/fish/config.fish");
|
|
172489
|
-
const content =
|
|
172726
|
+
const content = `# pnpm
|
|
172727
|
+
set -gx PNPM_HOME "${pnpmHomeDir}"
|
|
172490
172728
|
set -gx PATH "$PNPM_HOME" $PATH
|
|
172729
|
+
# pnpm end
|
|
172491
172730
|
`;
|
|
172492
172731
|
if (!fs_1.default.existsSync(configFile)) {
|
|
172493
172732
|
await fs_1.default.promises.writeFile(configFile, content, "utf8");
|
|
172494
172733
|
return `Created ${configFile}`;
|
|
172495
172734
|
}
|
|
172496
172735
|
const configContent = await fs_1.default.promises.readFile(configFile, "utf8");
|
|
172497
|
-
if (configContent.includes("PNPM_HOME")) {
|
|
172498
|
-
|
|
172499
|
-
}
|
|
172500
|
-
await fs_1.default.promises.appendFile(configFile, `
|
|
172736
|
+
if (!configContent.includes("PNPM_HOME")) {
|
|
172737
|
+
await fs_1.default.promises.appendFile(configFile, `
|
|
172501
172738
|
${content}`, "utf8");
|
|
172502
|
-
|
|
172739
|
+
return `Updated ${configFile}`;
|
|
172740
|
+
}
|
|
172741
|
+
const match = configContent.match(/set -gx PNPM_HOME "(.*)"/);
|
|
172742
|
+
if (match && match[1] !== pnpmHomeDir) {
|
|
172743
|
+
if (!opts.force) {
|
|
172744
|
+
throw new BadHomeDirError_1.BadHomeDirError({ currentDir: match[1], wantedDir: pnpmHomeDir });
|
|
172745
|
+
}
|
|
172746
|
+
const newConfigContent = replaceSection(configContent, content);
|
|
172747
|
+
await fs_1.default.promises.writeFile(configFile, newConfigContent, "utf8");
|
|
172748
|
+
return `Updated ${configFile}`;
|
|
172749
|
+
}
|
|
172750
|
+
return `PNPM_HOME is already in ${configFile}`;
|
|
172751
|
+
}
|
|
172752
|
+
function replaceSection(originalContent, newSection) {
|
|
172753
|
+
return originalContent.replace(/# pnpm[\s\S]*# pnpm end/g, newSection);
|
|
172503
172754
|
}
|
|
172504
172755
|
}
|
|
172505
172756
|
});
|
|
172506
172757
|
|
|
172507
172758
|
// ../plugin-commands-setup/lib/index.js
|
|
172508
|
-
var
|
|
172759
|
+
var require_lib120 = __commonJS({
|
|
172509
172760
|
"../plugin-commands-setup/lib/index.js"(exports2) {
|
|
172510
172761
|
"use strict";
|
|
172511
172762
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -172589,7 +172840,7 @@ var require_storeAdd = __commonJS({
|
|
|
172589
172840
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
172590
172841
|
var error_1 = __importDefault2(require_lib7());
|
|
172591
172842
|
var logger_1 = __importStar(require_lib());
|
|
172592
|
-
var parse_wanted_dependency_1 = __importDefault2(
|
|
172843
|
+
var parse_wanted_dependency_1 = __importDefault2(require_lib99());
|
|
172593
172844
|
var pick_registry_for_package_1 = __importDefault2(require_lib49());
|
|
172594
172845
|
async function default_1(fuzzyDeps, opts) {
|
|
172595
172846
|
const reporter = opts?.reporter;
|
|
@@ -173007,7 +173258,7 @@ var require_store = __commonJS({
|
|
|
173007
173258
|
});
|
|
173008
173259
|
|
|
173009
173260
|
// ../plugin-commands-store/lib/index.js
|
|
173010
|
-
var
|
|
173261
|
+
var require_lib121 = __commonJS({
|
|
173011
173262
|
"../plugin-commands-store/lib/index.js"(exports2) {
|
|
173012
173263
|
"use strict";
|
|
173013
173264
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -173180,7 +173431,7 @@ ${JSON.stringify(packageJson, null, 2)}`;
|
|
|
173180
173431
|
});
|
|
173181
173432
|
|
|
173182
173433
|
// ../plugin-commands-init/lib/index.js
|
|
173183
|
-
var
|
|
173434
|
+
var require_lib122 = __commonJS({
|
|
173184
173435
|
"../plugin-commands-init/lib/index.js"(exports2) {
|
|
173185
173436
|
"use strict";
|
|
173186
173437
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -173691,7 +173942,7 @@ ${sourceLineForShell(scriptname, shell)}`);
|
|
|
173691
173942
|
});
|
|
173692
173943
|
|
|
173693
173944
|
// ../../node_modules/.pnpm/@pnpm+tabtab@0.1.2/node_modules/@pnpm/tabtab/lib/index.js
|
|
173694
|
-
var
|
|
173945
|
+
var require_lib123 = __commonJS({
|
|
173695
173946
|
"../../node_modules/.pnpm/@pnpm+tabtab@0.1.2/node_modules/@pnpm/tabtab/lib/index.js"(exports2, module2) {
|
|
173696
173947
|
var { SHELL_LOCATIONS } = require_constants13();
|
|
173697
173948
|
var prompt = require_prompt2();
|
|
@@ -174842,7 +175093,7 @@ var require_dist14 = __commonJS({
|
|
|
174842
175093
|
});
|
|
174843
175094
|
|
|
174844
175095
|
// ../parse-cli-args/lib/index.js
|
|
174845
|
-
var
|
|
175096
|
+
var require_lib124 = __commonJS({
|
|
174846
175097
|
"../parse-cli-args/lib/index.js"(exports2) {
|
|
174847
175098
|
"use strict";
|
|
174848
175099
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -174882,7 +175133,7 @@ var require_lib123 = __commonJS({
|
|
|
174882
175133
|
};
|
|
174883
175134
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
174884
175135
|
var error_1 = __importDefault2(require_lib7());
|
|
174885
|
-
var find_workspace_dir_1 = __importDefault2(
|
|
175136
|
+
var find_workspace_dir_1 = __importDefault2(require_lib102());
|
|
174886
175137
|
var nopt_1 = __importDefault2(require_nopt());
|
|
174887
175138
|
var didyoumean2_1 = __importStar(require_dist14());
|
|
174888
175139
|
var RECURSIVE_CMDS = /* @__PURE__ */ new Set(["recursive", "multi", "m"]);
|
|
@@ -175078,7 +175329,7 @@ var require_parseCliArgs = __commonJS({
|
|
|
175078
175329
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
175079
175330
|
};
|
|
175080
175331
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
175081
|
-
var parse_cli_args_1 = __importDefault2(
|
|
175332
|
+
var parse_cli_args_1 = __importDefault2(require_lib124());
|
|
175082
175333
|
var cmd_1 = require_cmd();
|
|
175083
175334
|
var shorthands_1 = __importDefault2(require_shorthands());
|
|
175084
175335
|
var RENAMED_OPTIONS = {
|
|
@@ -175132,7 +175383,7 @@ var require_complete = __commonJS({
|
|
|
175132
175383
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
175133
175384
|
};
|
|
175134
175385
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
175135
|
-
var find_workspace_dir_1 = __importDefault2(
|
|
175386
|
+
var find_workspace_dir_1 = __importDefault2(require_lib102());
|
|
175136
175387
|
var find_workspace_packages_1 = __importDefault2(require_lib23());
|
|
175137
175388
|
var getOptionType_1 = require_getOptionType();
|
|
175138
175389
|
var optionTypesToCompletions_1 = __importDefault2(require_optionTypesToCompletions());
|
|
@@ -175198,7 +175449,7 @@ var require_completion = __commonJS({
|
|
|
175198
175449
|
};
|
|
175199
175450
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
175200
175451
|
var split_cmd_1 = require_split_cmd();
|
|
175201
|
-
var tabtab_1 = __importDefault2(
|
|
175452
|
+
var tabtab_1 = __importDefault2(require_lib123());
|
|
175202
175453
|
var getOptionType_1 = require_getOptionType();
|
|
175203
175454
|
var parseCliArgs_1 = __importDefault2(require_parseCliArgs());
|
|
175204
175455
|
var complete_1 = __importDefault2(require_complete());
|
|
@@ -175394,8 +175645,8 @@ var require_installTest = __commonJS({
|
|
|
175394
175645
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
175395
175646
|
exports2.handler = exports2.help = exports2.commandNames = exports2.rcOptionsTypes = exports2.cliOptionsTypes = void 0;
|
|
175396
175647
|
var cli_utils_1 = require_lib21();
|
|
175397
|
-
var plugin_commands_installation_1 =
|
|
175398
|
-
var plugin_commands_script_runners_1 =
|
|
175648
|
+
var plugin_commands_installation_1 = require_lib110();
|
|
175649
|
+
var plugin_commands_script_runners_1 = require_lib118();
|
|
175399
175650
|
var render_help_1 = __importDefault2(require_lib30());
|
|
175400
175651
|
exports2.cliOptionsTypes = plugin_commands_installation_1.install.cliOptionsTypes;
|
|
175401
175652
|
exports2.rcOptionsTypes = plugin_commands_installation_1.install.rcOptionsTypes;
|
|
@@ -175635,16 +175886,16 @@ var require_cmd = __commonJS({
|
|
|
175635
175886
|
var config_1 = require_lib14();
|
|
175636
175887
|
var plugin_commands_audit_1 = require_lib59();
|
|
175637
175888
|
var plugin_commands_env_1 = require_lib37();
|
|
175638
|
-
var plugin_commands_installation_1 =
|
|
175639
|
-
var plugin_commands_listing_1 =
|
|
175640
|
-
var plugin_commands_outdated_1 =
|
|
175641
|
-
var plugin_commands_publishing_1 =
|
|
175889
|
+
var plugin_commands_installation_1 = require_lib110();
|
|
175890
|
+
var plugin_commands_listing_1 = require_lib113();
|
|
175891
|
+
var plugin_commands_outdated_1 = require_lib114();
|
|
175892
|
+
var plugin_commands_publishing_1 = require_lib117();
|
|
175642
175893
|
var plugin_commands_rebuild_1 = require_lib83();
|
|
175643
|
-
var plugin_commands_script_runners_1 =
|
|
175644
|
-
var plugin_commands_server_1 =
|
|
175645
|
-
var plugin_commands_setup_1 =
|
|
175646
|
-
var plugin_commands_store_1 =
|
|
175647
|
-
var plugin_commands_init_1 =
|
|
175894
|
+
var plugin_commands_script_runners_1 = require_lib118();
|
|
175895
|
+
var plugin_commands_server_1 = require_lib119();
|
|
175896
|
+
var plugin_commands_setup_1 = require_lib120();
|
|
175897
|
+
var plugin_commands_store_1 = require_lib121();
|
|
175898
|
+
var plugin_commands_init_1 = require_lib122();
|
|
175648
175899
|
var pick_1 = __importDefault2(require_pick());
|
|
175649
175900
|
var bin = __importStar(require_bin());
|
|
175650
175901
|
var completion_1 = __importDefault2(require_completion());
|
|
@@ -175789,7 +176040,7 @@ Did you mean '${didYouMeanOptions.join("', or '")}'? Use "--config.unknown=value
|
|
|
175789
176040
|
});
|
|
175790
176041
|
|
|
175791
176042
|
// ../file-reporter/lib/index.js
|
|
175792
|
-
var
|
|
176043
|
+
var require_lib125 = __commonJS({
|
|
175793
176044
|
"../file-reporter/lib/index.js"(exports2) {
|
|
175794
176045
|
"use strict";
|
|
175795
176046
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -175866,7 +176117,7 @@ var require_fileLogger = __commonJS({
|
|
|
175866
176117
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
175867
176118
|
};
|
|
175868
176119
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
175869
|
-
var file_reporter_1 = __importDefault2(
|
|
176120
|
+
var file_reporter_1 = __importDefault2(require_lib125());
|
|
175870
176121
|
var logger_1 = require_lib();
|
|
175871
176122
|
(0, file_reporter_1.default)(logger_1.streamParser);
|
|
175872
176123
|
}
|
|
@@ -176057,6 +176308,9 @@ var require_main2 = __commonJS({
|
|
|
176057
176308
|
workspaceDir,
|
|
176058
176309
|
checkUnknownSetting: false
|
|
176059
176310
|
});
|
|
176311
|
+
if (cmd === "dlx") {
|
|
176312
|
+
config.useStderr = true;
|
|
176313
|
+
}
|
|
176060
176314
|
config.forceSharedLockfile = typeof config.workspaceDir === "string" && config.sharedWorkspaceLockfile === true;
|
|
176061
176315
|
config.argv = argv;
|
|
176062
176316
|
config.fallbackCommandUsed = fallbackCommandUsed;
|