pnpm 6.32.13 → 6.32.14
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.
|
@@ -113,7 +113,7 @@ packages:
|
|
|
113
113
|
'@npmcli/move-file': 1.1.2
|
|
114
114
|
chownr: 2.0.0
|
|
115
115
|
fs-minipass: 2.1.0
|
|
116
|
-
glob: 7.2.
|
|
116
|
+
glob: 7.2.3
|
|
117
117
|
infer-owner: 1.0.4
|
|
118
118
|
lru-cache: 6.0.0
|
|
119
119
|
minipass: 3.1.6
|
|
@@ -234,8 +234,8 @@ packages:
|
|
|
234
234
|
dev: false
|
|
235
235
|
optional: true
|
|
236
236
|
|
|
237
|
-
/glob/7.2.
|
|
238
|
-
resolution: {integrity: sha512-
|
|
237
|
+
/glob/7.2.3:
|
|
238
|
+
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
|
|
239
239
|
dependencies:
|
|
240
240
|
fs.realpath: 1.0.0
|
|
241
241
|
inflight: 1.0.6
|
|
@@ -481,7 +481,7 @@ packages:
|
|
|
481
481
|
requiresBuild: true
|
|
482
482
|
dependencies:
|
|
483
483
|
env-paths: 2.2.1
|
|
484
|
-
glob: 7.2.
|
|
484
|
+
glob: 7.2.3
|
|
485
485
|
graceful-fs: 4.2.10
|
|
486
486
|
make-fetch-happen: 9.1.0
|
|
487
487
|
nopt: 5.0.0
|
|
@@ -570,7 +570,7 @@ packages:
|
|
|
570
570
|
resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
|
|
571
571
|
hasBin: true
|
|
572
572
|
dependencies:
|
|
573
|
-
glob: 7.2.
|
|
573
|
+
glob: 7.2.3
|
|
574
574
|
dev: false
|
|
575
575
|
optional: true
|
|
576
576
|
|
|
@@ -111,7 +111,7 @@ function setopts (self, pattern, options) {
|
|
|
111
111
|
options.nonegate = true
|
|
112
112
|
options.nocomment = true
|
|
113
113
|
// always treat \ in patterns as escapes, not path separators
|
|
114
|
-
options.allowWindowsEscape =
|
|
114
|
+
options.allowWindowsEscape = false
|
|
115
115
|
|
|
116
116
|
self.minimatch = new Minimatch(pattern, options)
|
|
117
117
|
self.options = self.minimatch.options
|
package/dist/pnpm.cjs
CHANGED
|
@@ -3182,7 +3182,7 @@ var require_lib4 = __commonJS({
|
|
|
3182
3182
|
var load_json_file_1 = __importDefault(require_load_json_file());
|
|
3183
3183
|
var defaultManifest = {
|
|
3184
3184
|
name: "pnpm" != null && true ? "pnpm" : "pnpm",
|
|
3185
|
-
version: "6.32.
|
|
3185
|
+
version: "6.32.14" != null && true ? "6.32.14" : "0.0.0"
|
|
3186
3186
|
};
|
|
3187
3187
|
var pkgJson;
|
|
3188
3188
|
if (require.main == null) {
|
|
@@ -73820,7 +73820,7 @@ var require_lib35 = __commonJS({
|
|
|
73820
73820
|
}
|
|
73821
73821
|
exports2.parse = parse;
|
|
73822
73822
|
function depPathToFilename(depPath, lockfileDir) {
|
|
73823
|
-
const filename = depPathToFilenameUnescaped(depPath, lockfileDir).replace(
|
|
73823
|
+
const filename = depPathToFilenameUnescaped(depPath, lockfileDir).replace(/[\\/:*?"<>|]/g, "+");
|
|
73824
73824
|
if (filename.length > 120 || filename !== filename.toLowerCase() && !filename.startsWith("local+")) {
|
|
73825
73825
|
return `${filename.substring(0, 50)}_${crypto_1.default.createHash("md5").update(filename).digest("hex")}`;
|
|
73826
73826
|
}
|
|
@@ -85008,7 +85008,7 @@ var require_parsePref = __commonJS({
|
|
|
85008
85008
|
async function fromHostedGit(hosted) {
|
|
85009
85009
|
var _a;
|
|
85010
85010
|
let fetchSpec = null;
|
|
85011
|
-
const gitUrl = (_a = hosted.
|
|
85011
|
+
const gitUrl = (_a = hosted.https({ noCommittish: true })) !== null && _a !== void 0 ? _a : hosted.ssh({ noCommittish: true });
|
|
85012
85012
|
if (gitUrl && await accessRepository(gitUrl)) {
|
|
85013
85013
|
fetchSpec = gitUrl;
|
|
85014
85014
|
}
|
|
@@ -182423,24 +182423,34 @@ var require_string_prototype = __commonJS({
|
|
|
182423
182423
|
}
|
|
182424
182424
|
});
|
|
182425
182425
|
|
|
182426
|
-
// ../plugin-commands-setup/lib/
|
|
182427
|
-
var
|
|
182428
|
-
"../plugin-commands-setup/lib/
|
|
182426
|
+
// ../plugin-commands-setup/lib/errors.js
|
|
182427
|
+
var require_errors9 = __commonJS({
|
|
182428
|
+
"../plugin-commands-setup/lib/errors.js"(exports2) {
|
|
182429
182429
|
"use strict";
|
|
182430
182430
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
182431
182431
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
182432
182432
|
};
|
|
182433
182433
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
182434
|
-
exports2.
|
|
182434
|
+
exports2.BadShellSectionError = exports2.BadEnvVariableError = void 0;
|
|
182435
182435
|
var error_1 = __importDefault(require_lib8());
|
|
182436
|
-
var
|
|
182437
|
-
constructor({
|
|
182438
|
-
super("
|
|
182439
|
-
hint:
|
|
182436
|
+
var BadEnvVariableError = class extends error_1.default {
|
|
182437
|
+
constructor({ envName, wantedValue, currentValue }) {
|
|
182438
|
+
super("BAD_ENV_FOUND", `Currently '${envName}' is set to '${wantedValue}'`, {
|
|
182439
|
+
hint: `If you want to override the existing ${envName} env variable, use the --force option`
|
|
182440
182440
|
});
|
|
182441
182441
|
}
|
|
182442
182442
|
};
|
|
182443
|
-
exports2.
|
|
182443
|
+
exports2.BadEnvVariableError = BadEnvVariableError;
|
|
182444
|
+
var BadShellSectionError = class extends error_1.default {
|
|
182445
|
+
constructor({ wanted, current, configFile }) {
|
|
182446
|
+
super("BAD_SHELL_SECTION", `The config file at "${configFile} already contains a pnpm section but with other configuration`, {
|
|
182447
|
+
hint: "If you want to override the existing configuration section, use the --force option"
|
|
182448
|
+
});
|
|
182449
|
+
this.current = current;
|
|
182450
|
+
this.wanted = wanted;
|
|
182451
|
+
}
|
|
182452
|
+
};
|
|
182453
|
+
exports2.BadShellSectionError = BadShellSectionError;
|
|
182444
182454
|
}
|
|
182445
182455
|
});
|
|
182446
182456
|
|
|
@@ -182453,22 +182463,12 @@ var require_setupOnWindows = __commonJS({
|
|
|
182453
182463
|
};
|
|
182454
182464
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
182455
182465
|
exports2.setupWindowsEnvironmentPath = void 0;
|
|
182466
|
+
var error_1 = __importDefault(require_lib8());
|
|
182456
182467
|
var path_1 = require("path");
|
|
182457
182468
|
var execa_1 = __importDefault(require_lib19());
|
|
182458
182469
|
var string_prototype_matchall_1 = __importDefault(require_string_prototype());
|
|
182459
|
-
var
|
|
182470
|
+
var errors_1 = require_errors9();
|
|
182460
182471
|
var REG_KEY = "HKEY_CURRENT_USER\\Environment";
|
|
182461
|
-
function findEnvValuesInRegistry(regEntries, envVarName) {
|
|
182462
|
-
const regexp = new RegExp(`^ {4}(?<name>${envVarName}) {4}(?<type>\\w+) {4}(?<data>.*)$`, "gim");
|
|
182463
|
-
return Array.from((0, string_prototype_matchall_1.default)(regEntries, regexp));
|
|
182464
|
-
}
|
|
182465
|
-
function setEnvVarInRegistry(envVarName, envVarValue) {
|
|
182466
|
-
return (0, execa_1.default)("reg", ["add", REG_KEY, "/v", envVarName, "/t", "REG_EXPAND_SZ", "/d", envVarValue, "/f"], { windowsHide: false });
|
|
182467
|
-
}
|
|
182468
|
-
function pathIncludesDir(pathValue, dir) {
|
|
182469
|
-
const dirPath = path_1.win32.parse(path_1.win32.normalize(dir));
|
|
182470
|
-
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());
|
|
182471
|
-
}
|
|
182472
182472
|
async function setupWindowsEnvironmentPath(pnpmHomeDir, opts) {
|
|
182473
182473
|
var _a;
|
|
182474
182474
|
const chcpResult = await (0, execa_1.default)("chcp");
|
|
@@ -182486,53 +182486,60 @@ var require_setupOnWindows = __commonJS({
|
|
|
182486
182486
|
}
|
|
182487
182487
|
exports2.setupWindowsEnvironmentPath = setupWindowsEnvironmentPath;
|
|
182488
182488
|
async function _setupWindowsEnvironmentPath(pnpmHomeDir, opts) {
|
|
182489
|
-
var _a;
|
|
182490
|
-
const queryResult = await (0, execa_1.default)("reg", ["query", REG_KEY], { windowsHide: false });
|
|
182491
|
-
if (queryResult.failed) {
|
|
182492
|
-
return "Win32 registry environment values could not be retrieved";
|
|
182493
|
-
}
|
|
182494
|
-
const queryOutput = queryResult.stdout;
|
|
182495
|
-
const pathValueMatch = findEnvValuesInRegistry(queryOutput, "PATH");
|
|
182496
|
-
const homeValueMatch = findEnvValuesInRegistry(queryOutput, "PNPM_HOME");
|
|
182497
|
-
let commitNeeded = false;
|
|
182498
182489
|
const logger = [];
|
|
182499
|
-
|
|
182500
|
-
|
|
182501
|
-
|
|
182502
|
-
|
|
182490
|
+
logger.push(logEnvUpdate(await updateEnvVariable("PNPM_HOME", pnpmHomeDir, opts), "PNPM_HOME"));
|
|
182491
|
+
logger.push(logEnvUpdate(await prependToPath("%PNPM_HOME%"), "Path"));
|
|
182492
|
+
return logger.join("\n");
|
|
182493
|
+
}
|
|
182494
|
+
function logEnvUpdate(envUpdateResult, envName) {
|
|
182495
|
+
switch (envUpdateResult) {
|
|
182496
|
+
case "skipped":
|
|
182497
|
+
return `${envName} was already up-to-date`;
|
|
182498
|
+
case "updated":
|
|
182499
|
+
return `${envName} was updated`;
|
|
182500
|
+
}
|
|
182501
|
+
return "";
|
|
182502
|
+
}
|
|
182503
|
+
async function updateEnvVariable(name, value, opts) {
|
|
182504
|
+
const currentValue = await getEnvValueFromRegistry(name);
|
|
182505
|
+
if (currentValue && !opts.force) {
|
|
182506
|
+
if (currentValue !== value) {
|
|
182507
|
+
throw new errors_1.BadEnvVariableError({ envName: name, currentValue, wantedValue: value });
|
|
182503
182508
|
}
|
|
182509
|
+
return "skipped";
|
|
182504
182510
|
} else {
|
|
182505
|
-
|
|
182506
|
-
|
|
182507
|
-
|
|
182508
|
-
|
|
182509
|
-
|
|
182510
|
-
|
|
182511
|
-
|
|
182512
|
-
|
|
182513
|
-
}
|
|
182514
|
-
|
|
182515
|
-
if (pathData === void 0) {
|
|
182516
|
-
logger.push("Current PATH is not set. No changes to this environment variable are applied");
|
|
182517
|
-
} else if (pathData == null || pathData.trim() === "") {
|
|
182518
|
-
logger.push("Current PATH is empty. No changes to this environment variable are applied");
|
|
182519
|
-
} else if (pathIncludesDir(pathData, pnpmHomeDir)) {
|
|
182520
|
-
logger.push("PATH already contains PNPM_HOME");
|
|
182511
|
+
await setEnvVarInRegistry(name, value);
|
|
182512
|
+
return "updated";
|
|
182513
|
+
}
|
|
182514
|
+
}
|
|
182515
|
+
async function prependToPath(prependDir) {
|
|
182516
|
+
const pathData = await getEnvValueFromRegistry("Path");
|
|
182517
|
+
if (pathData === void 0 || pathData == null || pathData.trim() === "") {
|
|
182518
|
+
throw new error_1.default("NO_PATH", '"Path" environment variable is not found in the registry');
|
|
182519
|
+
} else if (pathData.split(path_1.win32.delimiter).includes(prependDir)) {
|
|
182520
|
+
return "skipped";
|
|
182521
182521
|
} else {
|
|
182522
|
-
|
|
182523
|
-
|
|
182524
|
-
|
|
182525
|
-
if (addResult.failed) {
|
|
182526
|
-
logger.push(` ${addResult.stderr}`);
|
|
182527
|
-
} else {
|
|
182528
|
-
commitNeeded = true;
|
|
182529
|
-
logger.push(` ${addResult.stdout}`);
|
|
182530
|
-
}
|
|
182522
|
+
const newPathValue = `${prependDir}${path_1.win32.delimiter}${pathData}`;
|
|
182523
|
+
await setEnvVarInRegistry("Path", newPathValue);
|
|
182524
|
+
return "updated";
|
|
182531
182525
|
}
|
|
182532
|
-
|
|
182533
|
-
|
|
182526
|
+
}
|
|
182527
|
+
async function getEnvValueFromRegistry(envVarName) {
|
|
182528
|
+
const queryResult = await (0, execa_1.default)("reg", ["query", REG_KEY, "/v", envVarName], { windowsHide: false });
|
|
182529
|
+
if (queryResult.failed) {
|
|
182530
|
+
throw new error_1.default("REG_READ", "Win32 registry environment values could not be retrieved");
|
|
182531
|
+
}
|
|
182532
|
+
const regexp = new RegExp(`^ {4}(?<name>${envVarName}) {4}(?<type>\\w+) {4}(?<data>.*)$`, "gim");
|
|
182533
|
+
const match = Array.from((0, string_prototype_matchall_1.default)(queryResult.stdout, regexp))[0];
|
|
182534
|
+
return match === null || match === void 0 ? void 0 : match.groups.data;
|
|
182535
|
+
}
|
|
182536
|
+
async function setEnvVarInRegistry(envVarName, envVarValue) {
|
|
182537
|
+
const addResult = await (0, execa_1.default)("reg", ["add", REG_KEY, "/v", envVarName, "/t", "REG_EXPAND_SZ", "/d", envVarValue, "/f"], { windowsHide: false });
|
|
182538
|
+
if (addResult.failed) {
|
|
182539
|
+
throw new error_1.default("FAILED_SET_ENV", `Failed to set "${envVarName}" to "${envVarValue}": ${addResult.stderr}`);
|
|
182540
|
+
} else {
|
|
182541
|
+
await (0, execa_1.default)("setx", [envVarName, envVarValue]);
|
|
182534
182542
|
}
|
|
182535
|
-
return logger.join("\n");
|
|
182536
182543
|
}
|
|
182537
182544
|
}
|
|
182538
182545
|
});
|
|
@@ -182553,7 +182560,7 @@ var require_setup = __commonJS({
|
|
|
182553
182560
|
var logger_1 = __importDefault(require_lib6());
|
|
182554
182561
|
var render_help_1 = __importDefault(require_lib32());
|
|
182555
182562
|
var setupOnWindows_1 = require_setupOnWindows();
|
|
182556
|
-
var
|
|
182563
|
+
var errors_1 = require_errors9();
|
|
182557
182564
|
var rcOptionsTypes = () => ({});
|
|
182558
182565
|
exports2.rcOptionsTypes = rcOptionsTypes;
|
|
182559
182566
|
var cliOptionsTypes = () => ({
|
|
@@ -182601,11 +182608,11 @@ var require_setup = __commonJS({
|
|
|
182601
182608
|
}
|
|
182602
182609
|
async function handler(opts) {
|
|
182603
182610
|
var _a;
|
|
182604
|
-
const currentShell = detectCurrentShell();
|
|
182605
182611
|
const execPath = getExecPath();
|
|
182606
182612
|
if (execPath.match(/\.[cm]?js$/) == null) {
|
|
182607
182613
|
copyCli(execPath, opts.pnpmHomeDir);
|
|
182608
182614
|
}
|
|
182615
|
+
const currentShell = detectCurrentShell();
|
|
182609
182616
|
const updateOutput = await updateShell(currentShell, opts.pnpmHomeDir, { force: (_a = opts.force) !== null && _a !== void 0 ? _a : false });
|
|
182610
182617
|
return `${updateOutput}
|
|
182611
182618
|
|
|
@@ -182623,16 +182630,12 @@ Setup complete. Open a new terminal to start using pnpm.`;
|
|
|
182623
182630
|
}
|
|
182624
182631
|
async function updateShell(currentShell, pnpmHomeDir, opts) {
|
|
182625
182632
|
switch (currentShell) {
|
|
182626
|
-
case "bash":
|
|
182627
|
-
const configFile = path_1.default.join(os_1.default.homedir(), ".bashrc");
|
|
182628
|
-
return setupShell(configFile, pnpmHomeDir, opts);
|
|
182629
|
-
}
|
|
182633
|
+
case "bash":
|
|
182630
182634
|
case "zsh": {
|
|
182631
|
-
|
|
182632
|
-
return setupShell(configFile, pnpmHomeDir, opts);
|
|
182635
|
+
return reportShellChange(await setupShell(currentShell, pnpmHomeDir, opts));
|
|
182633
182636
|
}
|
|
182634
182637
|
case "fish": {
|
|
182635
|
-
return setupFishShell(pnpmHomeDir, opts);
|
|
182638
|
+
return reportShellChange(await setupFishShell(pnpmHomeDir, opts));
|
|
182636
182639
|
}
|
|
182637
182640
|
}
|
|
182638
182641
|
if (process.platform === "win32") {
|
|
@@ -182640,60 +182643,61 @@ Setup complete. Open a new terminal to start using pnpm.`;
|
|
|
182640
182643
|
}
|
|
182641
182644
|
return "Could not infer shell type.";
|
|
182642
182645
|
}
|
|
182643
|
-
|
|
182646
|
+
function reportShellChange({ action, configFile }) {
|
|
182647
|
+
switch (action) {
|
|
182648
|
+
case "created":
|
|
182649
|
+
return `Created ${configFile}`;
|
|
182650
|
+
case "added":
|
|
182651
|
+
return `Appended new lines to ${configFile}`;
|
|
182652
|
+
case "updated":
|
|
182653
|
+
return `Replaced configuration in ${configFile}`;
|
|
182654
|
+
case "skipped":
|
|
182655
|
+
return `Configuration already up-to-date in ${configFile}`;
|
|
182656
|
+
}
|
|
182657
|
+
}
|
|
182658
|
+
async function setupShell(shell, pnpmHomeDir, opts) {
|
|
182659
|
+
const configFile = path_1.default.join(os_1.default.homedir(), `.${shell}rc`);
|
|
182644
182660
|
const content = `# pnpm
|
|
182645
182661
|
export PNPM_HOME="${pnpmHomeDir}"
|
|
182646
182662
|
export PATH="$PNPM_HOME:$PATH"
|
|
182647
|
-
# pnpm end
|
|
182648
|
-
|
|
182649
|
-
|
|
182650
|
-
|
|
182651
|
-
|
|
182652
|
-
}
|
|
182653
|
-
const configContent = await fs_1.default.promises.readFile(configFile, "utf8");
|
|
182654
|
-
if (!configContent.includes("PNPM_HOME")) {
|
|
182655
|
-
await fs_1.default.promises.appendFile(configFile, `
|
|
182656
|
-
${content}`, "utf8");
|
|
182657
|
-
return `Updated ${configFile}`;
|
|
182658
|
-
}
|
|
182659
|
-
const match = configContent.match(/export PNPM_HOME="(.*)"/);
|
|
182660
|
-
if (match && match[1] !== pnpmHomeDir) {
|
|
182661
|
-
if (!opts.force) {
|
|
182662
|
-
throw new BadHomeDirError_1.BadHomeDirError({ currentDir: match[1], wantedDir: pnpmHomeDir });
|
|
182663
|
-
}
|
|
182664
|
-
const newConfigContent = replaceSection(configContent, content);
|
|
182665
|
-
await fs_1.default.promises.writeFile(configFile, newConfigContent, "utf8");
|
|
182666
|
-
return `Updated ${configFile}`;
|
|
182667
|
-
}
|
|
182668
|
-
return `PNPM_HOME is already in ${configFile}`;
|
|
182663
|
+
# pnpm end`;
|
|
182664
|
+
return {
|
|
182665
|
+
action: await updateShellConfig(configFile, content, opts),
|
|
182666
|
+
configFile
|
|
182667
|
+
};
|
|
182669
182668
|
}
|
|
182670
182669
|
async function setupFishShell(pnpmHomeDir, opts) {
|
|
182671
182670
|
const configFile = path_1.default.join(os_1.default.homedir(), ".config/fish/config.fish");
|
|
182672
182671
|
const content = `# pnpm
|
|
182673
182672
|
set -gx PNPM_HOME "${pnpmHomeDir}"
|
|
182674
182673
|
set -gx PATH "$PNPM_HOME" $PATH
|
|
182675
|
-
# pnpm end
|
|
182676
|
-
|
|
182674
|
+
# pnpm end`;
|
|
182675
|
+
return {
|
|
182676
|
+
action: await updateShellConfig(configFile, content, opts),
|
|
182677
|
+
configFile
|
|
182678
|
+
};
|
|
182679
|
+
}
|
|
182680
|
+
async function updateShellConfig(configFile, newContent, opts) {
|
|
182677
182681
|
if (!fs_1.default.existsSync(configFile)) {
|
|
182678
|
-
await fs_1.default.promises.writeFile(configFile,
|
|
182679
|
-
return
|
|
182682
|
+
await fs_1.default.promises.writeFile(configFile, newContent, "utf8");
|
|
182683
|
+
return "created";
|
|
182680
182684
|
}
|
|
182681
182685
|
const configContent = await fs_1.default.promises.readFile(configFile, "utf8");
|
|
182682
|
-
|
|
182686
|
+
const match = configContent.match(/# pnpm[\s\S]*# pnpm end/);
|
|
182687
|
+
if (!match) {
|
|
182683
182688
|
await fs_1.default.promises.appendFile(configFile, `
|
|
182684
|
-
${
|
|
182685
|
-
return
|
|
182689
|
+
${newContent}`, "utf8");
|
|
182690
|
+
return "added";
|
|
182686
182691
|
}
|
|
182687
|
-
|
|
182688
|
-
if (match && match[1] !== pnpmHomeDir) {
|
|
182692
|
+
if (match[0] !== newContent) {
|
|
182689
182693
|
if (!opts.force) {
|
|
182690
|
-
throw new
|
|
182694
|
+
throw new errors_1.BadShellSectionError({ current: match[1], wanted: newContent, configFile });
|
|
182691
182695
|
}
|
|
182692
|
-
const newConfigContent = replaceSection(configContent,
|
|
182696
|
+
const newConfigContent = replaceSection(configContent, newContent);
|
|
182693
182697
|
await fs_1.default.promises.writeFile(configFile, newConfigContent, "utf8");
|
|
182694
|
-
return
|
|
182698
|
+
return "updated";
|
|
182695
182699
|
}
|
|
182696
|
-
return
|
|
182700
|
+
return "skipped";
|
|
182697
182701
|
}
|
|
182698
182702
|
function replaceSection(originalContent, newSection) {
|
|
182699
182703
|
return originalContent.replace(/# pnpm[\s\S]*# pnpm end/g, newSection);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pnpm",
|
|
3
3
|
"description": "Fast, disk space efficient package manager",
|
|
4
|
-
"version": "6.32.
|
|
4
|
+
"version": "6.32.14",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pnpm": "bin/pnpm.cjs",
|
|
7
7
|
"pnpx": "bin/pnpx.cjs"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@pnpm/byline": "^1.0.0",
|
|
24
24
|
"@pnpm/cli-meta": "workspace:2.0.2",
|
|
25
25
|
"@pnpm/cli-utils": "workspace:0.6.53",
|
|
26
|
-
"@pnpm/client": "workspace:6.1.
|
|
26
|
+
"@pnpm/client": "workspace:6.1.4",
|
|
27
27
|
"@pnpm/command": "workspace:2.0.0",
|
|
28
28
|
"@pnpm/common-cli-options-help": "workspace:0.8.0",
|
|
29
29
|
"@pnpm/config": "workspace:13.13.3",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
"@pnpm/nopt": "^0.2.1",
|
|
41
41
|
"@pnpm/parse-cli-args": "workspace:4.4.1",
|
|
42
42
|
"@pnpm/pick-registry-for-package": "workspace:2.0.11",
|
|
43
|
-
"@pnpm/plugin-commands-audit": "workspace:5.1.
|
|
44
|
-
"@pnpm/plugin-commands-env": "workspace:1.4.
|
|
45
|
-
"@pnpm/plugin-commands-installation": "workspace:8.4.
|
|
46
|
-
"@pnpm/plugin-commands-listing": "workspace:4.1.
|
|
47
|
-
"@pnpm/plugin-commands-outdated": "workspace:5.1.
|
|
48
|
-
"@pnpm/plugin-commands-publishing": "workspace:4.5.
|
|
49
|
-
"@pnpm/plugin-commands-rebuild": "workspace:5.4.
|
|
50
|
-
"@pnpm/plugin-commands-script-runners": "workspace:4.6.
|
|
51
|
-
"@pnpm/plugin-commands-server": "workspace:3.0.
|
|
43
|
+
"@pnpm/plugin-commands-audit": "workspace:5.1.46",
|
|
44
|
+
"@pnpm/plugin-commands-env": "workspace:1.4.20",
|
|
45
|
+
"@pnpm/plugin-commands-installation": "workspace:8.4.14",
|
|
46
|
+
"@pnpm/plugin-commands-listing": "workspace:4.1.15",
|
|
47
|
+
"@pnpm/plugin-commands-outdated": "workspace:5.1.14",
|
|
48
|
+
"@pnpm/plugin-commands-publishing": "workspace:4.5.8",
|
|
49
|
+
"@pnpm/plugin-commands-rebuild": "workspace:5.4.20",
|
|
50
|
+
"@pnpm/plugin-commands-script-runners": "workspace:4.6.8",
|
|
51
|
+
"@pnpm/plugin-commands-server": "workspace:3.0.76",
|
|
52
52
|
"@pnpm/plugin-commands-setup": "workspace:1.1.39",
|
|
53
|
-
"@pnpm/plugin-commands-store": "workspace:4.1.
|
|
53
|
+
"@pnpm/plugin-commands-store": "workspace:4.1.19",
|
|
54
54
|
"@pnpm/prepare": "workspace:*",
|
|
55
55
|
"@pnpm/read-package-json": "workspace:5.0.12",
|
|
56
56
|
"@pnpm/read-project-manifest": "workspace:2.0.13",
|