mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-06 04:36:17 +02:00
Add pnpm update step to checkPlugin for dependency updates (#7404)
Run pnpm update on plugins during autofix to bump all dependencies to their latest compatible versions, reducing dependabot noise and keeping plugins current. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a6d283a809
commit
09df1ce65f
@ -403,6 +403,12 @@ log4js.configure({
|
||||
logger.warn('Test files not found, please create tests. https://github.com/ether/etherpad-lite/wiki/Creating-a-plugin#writing-and-running-front-end-tests-for-your-plugin');
|
||||
}
|
||||
|
||||
// Update all dependencies to their latest compatible versions.
|
||||
if (autoFix) {
|
||||
logger.info('Updating dependencies...');
|
||||
execSync('pnpm update', {cwd: `${pluginPath}/`, stdio: 'inherit'});
|
||||
}
|
||||
|
||||
// Install dependencies so we can run ESLint. This should also create or update package-lock.json
|
||||
// if autoFix is enabled.
|
||||
const npmInstall = `pnpm install`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user