pnpm 7.7.1 → 7.8.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/pnpm.cjs +28 -25
- package/dist/pnpx.cjs +27 -24
- package/package.json +1 -1
|
@@ -7,11 +7,11 @@ included:
|
|
|
7
7
|
injectedDeps: {}
|
|
8
8
|
layoutVersion: 5
|
|
9
9
|
nodeLinker: hoisted
|
|
10
|
-
packageManager: pnpm@7.7.
|
|
10
|
+
packageManager: pnpm@7.7.1
|
|
11
11
|
pendingBuilds:
|
|
12
12
|
- /node-gyp/8.4.1
|
|
13
13
|
- /encoding/0.1.13
|
|
14
|
-
prunedAt:
|
|
14
|
+
prunedAt: Sun, 31 Jul 2022 08:41:15 GMT
|
|
15
15
|
publicHoistPattern:
|
|
16
16
|
- '*eslint*'
|
|
17
17
|
- '*prettier*'
|
package/dist/pnpm.cjs
CHANGED
|
@@ -3206,7 +3206,7 @@ var require_lib4 = __commonJS({
|
|
|
3206
3206
|
var load_json_file_1 = __importDefault(require_load_json_file());
|
|
3207
3207
|
var defaultManifest = {
|
|
3208
3208
|
name: "pnpm" != null && true ? "pnpm" : "pnpm",
|
|
3209
|
-
version: "7.
|
|
3209
|
+
version: "7.8.0" != null && true ? "7.8.0" : "0.0.0"
|
|
3210
3210
|
};
|
|
3211
3211
|
var pkgJson;
|
|
3212
3212
|
if (require.main == null) {
|
|
@@ -13460,9 +13460,9 @@ var require_config_chain = __commonJS({
|
|
|
13460
13460
|
}
|
|
13461
13461
|
});
|
|
13462
13462
|
|
|
13463
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13463
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js
|
|
13464
13464
|
var require_envKeyToSetting = __commonJS({
|
|
13465
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13465
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js"(exports2, module2) {
|
|
13466
13466
|
module2.exports = function(x) {
|
|
13467
13467
|
const colonIndex = x.indexOf(":");
|
|
13468
13468
|
if (colonIndex === -1) {
|
|
@@ -13485,9 +13485,9 @@ var require_envKeyToSetting = __commonJS({
|
|
|
13485
13485
|
}
|
|
13486
13486
|
});
|
|
13487
13487
|
|
|
13488
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13488
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/util.js
|
|
13489
13489
|
var require_util = __commonJS({
|
|
13490
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13490
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/util.js"(exports2) {
|
|
13491
13491
|
"use strict";
|
|
13492
13492
|
var fs2 = require("fs");
|
|
13493
13493
|
var path2 = require("path");
|
|
@@ -13597,9 +13597,9 @@ var require_util = __commonJS({
|
|
|
13597
13597
|
}
|
|
13598
13598
|
});
|
|
13599
13599
|
|
|
13600
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13600
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/types.js
|
|
13601
13601
|
var require_types2 = __commonJS({
|
|
13602
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13602
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/types.js"(exports2) {
|
|
13603
13603
|
"use strict";
|
|
13604
13604
|
var path2 = require("path");
|
|
13605
13605
|
var Stream = require("stream").Stream;
|
|
@@ -13732,9 +13732,9 @@ var require_types2 = __commonJS({
|
|
|
13732
13732
|
}
|
|
13733
13733
|
});
|
|
13734
13734
|
|
|
13735
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13735
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/conf.js
|
|
13736
13736
|
var require_conf = __commonJS({
|
|
13737
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13737
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/conf.js"(exports2, module2) {
|
|
13738
13738
|
"use strict";
|
|
13739
13739
|
var { readCAFileSync } = require_dist();
|
|
13740
13740
|
var fs2 = require("fs");
|
|
@@ -13771,10 +13771,9 @@ var require_conf = __commonJS({
|
|
|
13771
13771
|
if (error.code === "ENOENT") {
|
|
13772
13772
|
this.add({}, marker);
|
|
13773
13773
|
} else {
|
|
13774
|
-
|
|
13774
|
+
return `Issue while reading "${file}". ${error.message}`;
|
|
13775
13775
|
}
|
|
13776
13776
|
}
|
|
13777
|
-
return this;
|
|
13778
13777
|
}
|
|
13779
13778
|
addEnv(env) {
|
|
13780
13779
|
env = env || process.env;
|
|
@@ -13865,9 +13864,9 @@ var require_conf = __commonJS({
|
|
|
13865
13864
|
}
|
|
13866
13865
|
});
|
|
13867
13866
|
|
|
13868
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13867
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/defaults.js
|
|
13869
13868
|
var require_defaults = __commonJS({
|
|
13870
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
13869
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/defaults.js"(exports2) {
|
|
13871
13870
|
"use strict";
|
|
13872
13871
|
var os = require("os");
|
|
13873
13872
|
var path2 = require("path");
|
|
@@ -14032,9 +14031,9 @@ var require_defaults = __commonJS({
|
|
|
14032
14031
|
}
|
|
14033
14032
|
});
|
|
14034
14033
|
|
|
14035
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
14034
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/index.js
|
|
14036
14035
|
var require_npm_conf = __commonJS({
|
|
14037
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
14036
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/index.js"(exports2, module2) {
|
|
14038
14037
|
"use strict";
|
|
14039
14038
|
var path2 = require("path");
|
|
14040
14039
|
var Conf = require_conf();
|
|
@@ -14042,6 +14041,7 @@ var require_npm_conf = __commonJS({
|
|
|
14042
14041
|
module2.exports = (opts, types, defaults2) => {
|
|
14043
14042
|
const conf = new Conf(Object.assign({}, _defaults.defaults, defaults2), types);
|
|
14044
14043
|
conf.add(Object.assign({}, opts), "cli");
|
|
14044
|
+
const warnings = [];
|
|
14045
14045
|
if (require.resolve.paths) {
|
|
14046
14046
|
const paths = require.resolve.paths("npm");
|
|
14047
14047
|
let npmPath;
|
|
@@ -14050,7 +14050,7 @@ var require_npm_conf = __commonJS({
|
|
|
14050
14050
|
} catch (error) {
|
|
14051
14051
|
}
|
|
14052
14052
|
if (npmPath) {
|
|
14053
|
-
conf.addFile(path2.resolve(path2.dirname(npmPath), "..", "npmrc"), "builtin");
|
|
14053
|
+
warnings.push(conf.addFile(path2.resolve(path2.dirname(npmPath), "..", "npmrc"), "builtin"));
|
|
14054
14054
|
}
|
|
14055
14055
|
}
|
|
14056
14056
|
conf.addEnv();
|
|
@@ -14058,27 +14058,30 @@ var require_npm_conf = __commonJS({
|
|
|
14058
14058
|
const projectConf = path2.resolve(conf.localPrefix, ".npmrc");
|
|
14059
14059
|
const userConf = conf.get("userconfig");
|
|
14060
14060
|
if (!conf.get("global") && projectConf !== userConf) {
|
|
14061
|
-
conf.addFile(projectConf, "project");
|
|
14061
|
+
warnings.push(conf.addFile(projectConf, "project"));
|
|
14062
14062
|
} else {
|
|
14063
14063
|
conf.add({}, "project");
|
|
14064
14064
|
}
|
|
14065
14065
|
if (conf.get("workspace-prefix") && conf.get("workspace-prefix") !== projectConf) {
|
|
14066
14066
|
const workspaceConf = path2.resolve(conf.get("workspace-prefix"), ".npmrc");
|
|
14067
|
-
conf.addFile(workspaceConf, "workspace");
|
|
14067
|
+
warnings.push(conf.addFile(workspaceConf, "workspace"));
|
|
14068
14068
|
}
|
|
14069
|
-
conf.addFile(conf.get("userconfig"), "user");
|
|
14069
|
+
warnings.push(conf.addFile(conf.get("userconfig"), "user"));
|
|
14070
14070
|
if (conf.get("prefix")) {
|
|
14071
14071
|
const etc = path2.resolve(conf.get("prefix"), "etc");
|
|
14072
14072
|
conf.root.globalconfig = path2.resolve(etc, "npmrc");
|
|
14073
14073
|
conf.root.globalignorefile = path2.resolve(etc, "npmignore");
|
|
14074
14074
|
}
|
|
14075
|
-
conf.addFile(conf.get("globalconfig"), "global");
|
|
14075
|
+
warnings.push(conf.addFile(conf.get("globalconfig"), "global"));
|
|
14076
14076
|
conf.loadUser();
|
|
14077
14077
|
const caFile = conf.get("cafile");
|
|
14078
14078
|
if (caFile) {
|
|
14079
14079
|
conf.loadCAFile(caFile);
|
|
14080
14080
|
}
|
|
14081
|
-
return
|
|
14081
|
+
return {
|
|
14082
|
+
config: conf,
|
|
14083
|
+
warnings: warnings.filter(Boolean)
|
|
14084
|
+
};
|
|
14082
14085
|
};
|
|
14083
14086
|
Object.defineProperty(module2.exports, "defaults", {
|
|
14084
14087
|
get() {
|
|
@@ -23680,7 +23683,6 @@ var require_lib18 = __commonJS({
|
|
|
23680
23683
|
const env = opts.env ?? process.env;
|
|
23681
23684
|
const packageManager = opts.packageManager ?? { name: "pnpm", version: "undefined" };
|
|
23682
23685
|
const cliOptions = opts.cliOptions ?? {};
|
|
23683
|
-
const warnings = new Array();
|
|
23684
23686
|
if (cliOptions["hoist"] === false) {
|
|
23685
23687
|
if (cliOptions["shamefully-hoist"] === true) {
|
|
23686
23688
|
throw new error_1.default("CONFIG_CONFLICT_HOIST", "--shamefully-hoist cannot be used with --no-hoist");
|
|
@@ -23705,7 +23707,7 @@ var require_lib18 = __commonJS({
|
|
|
23705
23707
|
cliOptions["prefix"] = cliOptions.dir;
|
|
23706
23708
|
}
|
|
23707
23709
|
const rcOptionsTypes = { ...exports2.types, ...opts.rcOptionsTypes };
|
|
23708
|
-
const npmConfig = (0, npm_conf_1.default)(cliOptions, rcOptionsTypes, {
|
|
23710
|
+
const { config: npmConfig, warnings } = (0, npm_conf_1.default)(cliOptions, rcOptionsTypes, {
|
|
23709
23711
|
"auto-install-peers": false,
|
|
23710
23712
|
bail: true,
|
|
23711
23713
|
color: "auto",
|
|
@@ -86417,7 +86419,7 @@ var require_lib46 = __commonJS({
|
|
|
86417
86419
|
};
|
|
86418
86420
|
}
|
|
86419
86421
|
function resolveLocalPackageDir(localPackage) {
|
|
86420
|
-
if (localPackage.manifest.publishConfig?.directory == null)
|
|
86422
|
+
if (localPackage.manifest.publishConfig?.directory == null || localPackage.manifest.publishConfig?.linkDirectory !== true)
|
|
86421
86423
|
return localPackage.dir;
|
|
86422
86424
|
return path_1.default.join(localPackage.dir, localPackage.manifest.publishConfig.directory);
|
|
86423
86425
|
}
|
|
@@ -89499,7 +89501,8 @@ var require_read = __commonJS({
|
|
|
89499
89501
|
lockfileFile.importers = {
|
|
89500
89502
|
".": {
|
|
89501
89503
|
specifiers: lockfileFile["specifiers"] ?? {},
|
|
89502
|
-
dependenciesMeta: lockfileFile["dependenciesMeta"]
|
|
89504
|
+
dependenciesMeta: lockfileFile["dependenciesMeta"],
|
|
89505
|
+
publishDirectory: lockfileFile["publishDirectory"]
|
|
89503
89506
|
}
|
|
89504
89507
|
};
|
|
89505
89508
|
delete lockfileFile.specifiers;
|
package/dist/pnpx.cjs
CHANGED
|
@@ -7790,9 +7790,9 @@ var require_config_chain = __commonJS({
|
|
|
7790
7790
|
}
|
|
7791
7791
|
});
|
|
7792
7792
|
|
|
7793
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
7793
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js
|
|
7794
7794
|
var require_envKeyToSetting = __commonJS({
|
|
7795
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
7795
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js"(exports2, module2) {
|
|
7796
7796
|
module2.exports = function(x) {
|
|
7797
7797
|
const colonIndex = x.indexOf(":");
|
|
7798
7798
|
if (colonIndex === -1) {
|
|
@@ -7815,9 +7815,9 @@ var require_envKeyToSetting = __commonJS({
|
|
|
7815
7815
|
}
|
|
7816
7816
|
});
|
|
7817
7817
|
|
|
7818
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
7818
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/util.js
|
|
7819
7819
|
var require_util = __commonJS({
|
|
7820
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
7820
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/util.js"(exports2) {
|
|
7821
7821
|
"use strict";
|
|
7822
7822
|
var fs2 = require("fs");
|
|
7823
7823
|
var path2 = require("path");
|
|
@@ -7927,9 +7927,9 @@ var require_util = __commonJS({
|
|
|
7927
7927
|
}
|
|
7928
7928
|
});
|
|
7929
7929
|
|
|
7930
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
7930
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/types.js
|
|
7931
7931
|
var require_types = __commonJS({
|
|
7932
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
7932
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/types.js"(exports2) {
|
|
7933
7933
|
"use strict";
|
|
7934
7934
|
var path2 = require("path");
|
|
7935
7935
|
var Stream = require("stream").Stream;
|
|
@@ -8062,9 +8062,9 @@ var require_types = __commonJS({
|
|
|
8062
8062
|
}
|
|
8063
8063
|
});
|
|
8064
8064
|
|
|
8065
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
8065
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/conf.js
|
|
8066
8066
|
var require_conf = __commonJS({
|
|
8067
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
8067
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/conf.js"(exports2, module2) {
|
|
8068
8068
|
"use strict";
|
|
8069
8069
|
var { readCAFileSync } = require_dist();
|
|
8070
8070
|
var fs2 = require("fs");
|
|
@@ -8101,10 +8101,9 @@ var require_conf = __commonJS({
|
|
|
8101
8101
|
if (error.code === "ENOENT") {
|
|
8102
8102
|
this.add({}, marker);
|
|
8103
8103
|
} else {
|
|
8104
|
-
|
|
8104
|
+
return `Issue while reading "${file}". ${error.message}`;
|
|
8105
8105
|
}
|
|
8106
8106
|
}
|
|
8107
|
-
return this;
|
|
8108
8107
|
}
|
|
8109
8108
|
addEnv(env) {
|
|
8110
8109
|
env = env || process.env;
|
|
@@ -8195,9 +8194,9 @@ var require_conf = __commonJS({
|
|
|
8195
8194
|
}
|
|
8196
8195
|
});
|
|
8197
8196
|
|
|
8198
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
8197
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/defaults.js
|
|
8199
8198
|
var require_defaults = __commonJS({
|
|
8200
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
8199
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/lib/defaults.js"(exports2) {
|
|
8201
8200
|
"use strict";
|
|
8202
8201
|
var os = require("os");
|
|
8203
8202
|
var path2 = require("path");
|
|
@@ -8362,9 +8361,9 @@ var require_defaults = __commonJS({
|
|
|
8362
8361
|
}
|
|
8363
8362
|
});
|
|
8364
8363
|
|
|
8365
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
8364
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/index.js
|
|
8366
8365
|
var require_npm_conf = __commonJS({
|
|
8367
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@
|
|
8366
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.0.0/node_modules/@pnpm/npm-conf/index.js"(exports2, module2) {
|
|
8368
8367
|
"use strict";
|
|
8369
8368
|
var path2 = require("path");
|
|
8370
8369
|
var Conf = require_conf();
|
|
@@ -8372,6 +8371,7 @@ var require_npm_conf = __commonJS({
|
|
|
8372
8371
|
module2.exports = (opts, types, defaults2) => {
|
|
8373
8372
|
const conf = new Conf(Object.assign({}, _defaults.defaults, defaults2), types);
|
|
8374
8373
|
conf.add(Object.assign({}, opts), "cli");
|
|
8374
|
+
const warnings = [];
|
|
8375
8375
|
if (require.resolve.paths) {
|
|
8376
8376
|
const paths = require.resolve.paths("npm");
|
|
8377
8377
|
let npmPath;
|
|
@@ -8380,7 +8380,7 @@ var require_npm_conf = __commonJS({
|
|
|
8380
8380
|
} catch (error) {
|
|
8381
8381
|
}
|
|
8382
8382
|
if (npmPath) {
|
|
8383
|
-
conf.addFile(path2.resolve(path2.dirname(npmPath), "..", "npmrc"), "builtin");
|
|
8383
|
+
warnings.push(conf.addFile(path2.resolve(path2.dirname(npmPath), "..", "npmrc"), "builtin"));
|
|
8384
8384
|
}
|
|
8385
8385
|
}
|
|
8386
8386
|
conf.addEnv();
|
|
@@ -8388,27 +8388,30 @@ var require_npm_conf = __commonJS({
|
|
|
8388
8388
|
const projectConf = path2.resolve(conf.localPrefix, ".npmrc");
|
|
8389
8389
|
const userConf = conf.get("userconfig");
|
|
8390
8390
|
if (!conf.get("global") && projectConf !== userConf) {
|
|
8391
|
-
conf.addFile(projectConf, "project");
|
|
8391
|
+
warnings.push(conf.addFile(projectConf, "project"));
|
|
8392
8392
|
} else {
|
|
8393
8393
|
conf.add({}, "project");
|
|
8394
8394
|
}
|
|
8395
8395
|
if (conf.get("workspace-prefix") && conf.get("workspace-prefix") !== projectConf) {
|
|
8396
8396
|
const workspaceConf = path2.resolve(conf.get("workspace-prefix"), ".npmrc");
|
|
8397
|
-
conf.addFile(workspaceConf, "workspace");
|
|
8397
|
+
warnings.push(conf.addFile(workspaceConf, "workspace"));
|
|
8398
8398
|
}
|
|
8399
|
-
conf.addFile(conf.get("userconfig"), "user");
|
|
8399
|
+
warnings.push(conf.addFile(conf.get("userconfig"), "user"));
|
|
8400
8400
|
if (conf.get("prefix")) {
|
|
8401
8401
|
const etc = path2.resolve(conf.get("prefix"), "etc");
|
|
8402
8402
|
conf.root.globalconfig = path2.resolve(etc, "npmrc");
|
|
8403
8403
|
conf.root.globalignorefile = path2.resolve(etc, "npmignore");
|
|
8404
8404
|
}
|
|
8405
|
-
conf.addFile(conf.get("globalconfig"), "global");
|
|
8405
|
+
warnings.push(conf.addFile(conf.get("globalconfig"), "global"));
|
|
8406
8406
|
conf.loadUser();
|
|
8407
8407
|
const caFile = conf.get("cafile");
|
|
8408
8408
|
if (caFile) {
|
|
8409
8409
|
conf.loadCAFile(caFile);
|
|
8410
8410
|
}
|
|
8411
|
-
return
|
|
8411
|
+
return {
|
|
8412
|
+
config: conf,
|
|
8413
|
+
warnings: warnings.filter(Boolean)
|
|
8414
|
+
};
|
|
8412
8415
|
};
|
|
8413
8416
|
Object.defineProperty(module2.exports, "defaults", {
|
|
8414
8417
|
get() {
|
|
@@ -18010,7 +18013,6 @@ var require_lib17 = __commonJS({
|
|
|
18010
18013
|
const env = opts.env ?? process.env;
|
|
18011
18014
|
const packageManager = opts.packageManager ?? { name: "pnpm", version: "undefined" };
|
|
18012
18015
|
const cliOptions = opts.cliOptions ?? {};
|
|
18013
|
-
const warnings = new Array();
|
|
18014
18016
|
if (cliOptions["hoist"] === false) {
|
|
18015
18017
|
if (cliOptions["shamefully-hoist"] === true) {
|
|
18016
18018
|
throw new error_1.default("CONFIG_CONFLICT_HOIST", "--shamefully-hoist cannot be used with --no-hoist");
|
|
@@ -18035,7 +18037,7 @@ var require_lib17 = __commonJS({
|
|
|
18035
18037
|
cliOptions["prefix"] = cliOptions.dir;
|
|
18036
18038
|
}
|
|
18037
18039
|
const rcOptionsTypes = { ...exports2.types, ...opts.rcOptionsTypes };
|
|
18038
|
-
const npmConfig = (0, npm_conf_1.default)(cliOptions, rcOptionsTypes, {
|
|
18040
|
+
const { config: npmConfig, warnings } = (0, npm_conf_1.default)(cliOptions, rcOptionsTypes, {
|
|
18039
18041
|
"auto-install-peers": false,
|
|
18040
18042
|
bail: true,
|
|
18041
18043
|
color: "auto",
|
|
@@ -81376,7 +81378,7 @@ var require_lib45 = __commonJS({
|
|
|
81376
81378
|
};
|
|
81377
81379
|
}
|
|
81378
81380
|
function resolveLocalPackageDir(localPackage) {
|
|
81379
|
-
if (localPackage.manifest.publishConfig?.directory == null)
|
|
81381
|
+
if (localPackage.manifest.publishConfig?.directory == null || localPackage.manifest.publishConfig?.linkDirectory !== true)
|
|
81380
81382
|
return localPackage.dir;
|
|
81381
81383
|
return path_1.default.join(localPackage.dir, localPackage.manifest.publishConfig.directory);
|
|
81382
81384
|
}
|
|
@@ -84458,7 +84460,8 @@ var require_read = __commonJS({
|
|
|
84458
84460
|
lockfileFile.importers = {
|
|
84459
84461
|
".": {
|
|
84460
84462
|
specifiers: lockfileFile["specifiers"] ?? {},
|
|
84461
|
-
dependenciesMeta: lockfileFile["dependenciesMeta"]
|
|
84463
|
+
dependenciesMeta: lockfileFile["dependenciesMeta"],
|
|
84464
|
+
publishDirectory: lockfileFile["publishDirectory"]
|
|
84462
84465
|
}
|
|
84463
84466
|
};
|
|
84464
84467
|
delete lockfileFile.specifiers;
|