chore: upgrade dependencies and tooling

This commit is contained in:
Andrey Avtomonov 2026-05-28 16:14:53 +02:00
parent fa7377ddd3
commit 44898d7c04
4 changed files with 295 additions and 169 deletions

View file

@ -7,6 +7,7 @@ import { fileURLToPath, pathToFileURL } from 'node:url';
import { promisify } from 'node:util';
const execFileAsync = promisify(execFileCallback);
const npmCheckUpdatesRejectArgs = ['--reject', 'fumadocs-core,fumadocs-ui'];
function ktxRootDir() {
return resolve(dirname(fileURLToPath(import.meta.url)), '..');
@ -61,8 +62,15 @@ export async function runDependencyUpgrade(options = {}) {
{
name: 'TypeScript dependency constraints',
command: 'pnpm',
args: ['dlx', 'npm-check-updates', '-u', '--deep', ...npmCheckUpdatesCooldownArgs],
retry: commandText('pnpm', ['dlx', 'npm-check-updates', '-u', '--deep', ...npmCheckUpdatesCooldownArgs]),
args: ['dlx', 'npm-check-updates', '-u', '--deep', ...npmCheckUpdatesRejectArgs, ...npmCheckUpdatesCooldownArgs],
retry: commandText('pnpm', [
'dlx',
'npm-check-updates',
'-u',
'--deep',
...npmCheckUpdatesRejectArgs,
...npmCheckUpdatesCooldownArgs,
]),
},
...pythonDependencyUpdatePhases(),
{