mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-28 08:49:38 +02:00
chore: upgrade dependencies and tooling
This commit is contained in:
parent
fa7377ddd3
commit
44898d7c04
4 changed files with 295 additions and 169 deletions
|
|
@ -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(),
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue