mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
chore(projects): update @sa/scripts
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
export * from './git-commit';
|
||||
export * from './cleanup';
|
||||
export * from './update-pkg';
|
||||
export * from './prettier';
|
||||
export * from './lint-staged';
|
||||
|
@ -1,5 +0,0 @@
|
||||
export async function execLintStaged(config: Record<string, string | string[]>) {
|
||||
const lintStaged = (await import('lint-staged')).default;
|
||||
|
||||
return lintStaged({ config, allowEmpty: true });
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
import { execCommand } from '../shared';
|
||||
|
||||
export async function prettierWrite(writeGlob: string[]) {
|
||||
await execCommand('npx', ['prettier', '--write', '.', ...writeGlob], {
|
||||
stdio: 'inherit'
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user