完成40%
This commit is contained in:
@@ -17,7 +17,6 @@ $requiredFiles = @(
|
||||
'pages/auth/a02-login.vue',
|
||||
'pages/genealogy/g01-my-genealogies.vue',
|
||||
'pages/genealogy/g03-create-genealogy.vue',
|
||||
'pages/genealogy/g04-first-ancestor.vue',
|
||||
'pages/genealogy/g05-genealogy-overview.vue',
|
||||
'pages/genealogy/g06-search-genealogies.vue',
|
||||
'pages/genealogy/g10-application-review.vue',
|
||||
@@ -44,7 +43,6 @@ $requiredRoutes = @(
|
||||
'pages/auth/a02-login',
|
||||
'pages/genealogy/g01-my-genealogies',
|
||||
'pages/genealogy/g03-create-genealogy',
|
||||
'pages/genealogy/g04-first-ancestor',
|
||||
'pages/genealogy/g05-genealogy-overview',
|
||||
'pages/genealogy/g06-search-genealogies',
|
||||
'pages/genealogy/g10-application-review',
|
||||
@@ -60,6 +58,9 @@ $missingRoutes = $requiredRoutes | Where-Object { $_ -notin $paths }
|
||||
if ($missingRoutes) {
|
||||
throw "Missing page routes: $($missingRoutes -join ', ')"
|
||||
}
|
||||
if ($paths -contains 'pages/genealogy/g04-first-ancestor') {
|
||||
throw 'G04 route must be merged into G03'
|
||||
}
|
||||
|
||||
$tokens = Get-Content -Raw -Encoding UTF8 (Join-Path $root 'uni.scss')
|
||||
foreach ($token in @('$brand-red:', '$ink:', '$paper:', '$gold:')) {
|
||||
|
||||
Reference in New Issue
Block a user