-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.ts
More file actions
27 lines (24 loc) · 766 Bytes
/
Copy pathindex.ts
File metadata and controls
27 lines (24 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env node
/**
* Refactor Scripts Entry Point
*
* This script runs all refactoring scripts.
* Can be called from CI or manually.
*
* Usage:
* node scripts/refactor/index.ts [script-name]
*
* If no script name is provided, runs all scripts.
*
* Note: For includes/excludes, use the script name without .ts extension.
* For example, 'sort-manifest-fields' (not 'sort-manifest-fields.ts')
*/
import { type CategoryConfig, runCategoryScripts } from '../_shared/runner'
runCategoryScripts({
categoryName: 'refactor',
// Example: excludes: ['sort-manifest-fields'] to exclude it
// Example: includes: ['sort-manifest-fields'] to only run it
} as CategoryConfig).catch(error => {
console.error('Fatal error:', error)
process.exit(1)
})