Switch to "pnpm" from "yarn"

This commit is contained in:
schroda
2026-05-15 15:11:47 +02:00
parent 7a5b5624e7
commit c19f7164e0
15 changed files with 11107 additions and 10186 deletions

View File

@@ -76,9 +76,9 @@ const generateResources = async () => {
updateI18nIndex(resourceNames);
updateLinguiConfig(resourceNames);
execSync('yarn tsc', { stdio: 'inherit' });
execSync(`yarn oxlint --fix ${I18N_INDEX_PATH} ${LINGUI_CONFIG_PATH}`, { stdio: 'inherit' });
execSync(`yarn oxfmt --write ${I18N_INDEX_PATH} ${LINGUI_CONFIG_PATH}`, { stdio: 'inherit' });
execSync('pnpm tsc', { stdio: 'inherit' });
execSync(`pnpm oxlint --fix ${I18N_INDEX_PATH} ${LINGUI_CONFIG_PATH}`, { stdio: 'inherit' });
execSync(`pnpm oxfmt --write ${I18N_INDEX_PATH} ${LINGUI_CONFIG_PATH}`, { stdio: 'inherit' });
const hasI18nIndexChanged = execSync('git status --porcelain').toString().includes(I18N_INDEX_PATH);
const hasLinguiConfigChanged = execSync('git status --porcelain').toString().includes(LINGUI_CONFIG_PATH);