Skip to content
Snippets Groups Projects
Unverified Commit 6ac9a842 authored by RahulGautamSingh's avatar RahulGautamSingh Committed by GitHub
Browse files

fix(pnpm): extract engine constraint (#21959)

parent 0b36f97b
Branches
Tags 35.73.2
No related merge requests found
......@@ -129,6 +129,7 @@ exports[`modules/manager/npm/extract/index .extractPackageFile() extracts engine
"extractedConstraints": {
"node": ">= 8.9.2",
"npm": "^8.0.0",
"pnpm": "^1.2.0",
"vscode": ">=1.49.3",
"yarn": "disabled",
},
......
......@@ -418,6 +418,7 @@ describe('modules/manager/npm/extract/index', () => {
extractedConstraints: {
node: '>= 8.9.2',
npm: '^8.0.0',
pnpm: '^1.2.0',
vscode: '>=1.49.3',
yarn: 'disabled',
},
......
......@@ -233,6 +233,7 @@ export async function extractPackageFile(
} else if (depName === 'pnpm') {
dep.datasource = NpmDatasource.id;
dep.commitMessageTopic = 'pnpm';
extractedConstraints.pnpm = dep.currentValue;
} else if (depName === 'vscode') {
dep.datasource = GithubTagsDatasource.id;
dep.packageName = 'microsoft/vscode';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment