feat(structure): add region/city structure model with validation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
* was produced ships to the client.
|
||||
*
|
||||
* Exclusion rule (keep in sync with the "no docs/AI files in zips" preference):
|
||||
* - any path segment: .git, .claude, .github, docs, build, node_modules
|
||||
* - any path segment: .git, .claude, .github, docs, build, node_modules, tests
|
||||
* - any *.md file
|
||||
* - dotfiles at any level except .htaccess
|
||||
*/
|
||||
@@ -22,7 +22,7 @@ if ( '' === $src || '' === $out || ! is_dir( $src ) ) {
|
||||
exit( 1 );
|
||||
}
|
||||
|
||||
$excluded_dirs = array( '.git', '.claude', '.github', 'docs', 'build', 'node_modules' );
|
||||
$excluded_dirs = array( '.git', '.claude', '.github', 'docs', 'build', 'node_modules', 'tests' );
|
||||
|
||||
function is_excluded( $rel, array $excluded_dirs ) {
|
||||
$parts = explode( '/', $rel );
|
||||
|
||||
Reference in New Issue
Block a user