Switch to "pnpm" from "yarn"
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user