Rename legacy storefront app and references to carplace
Build & Push / Build & Push Docker Image (push) Failing after 10m39s
Build & Push / Build & Push Docker Image (push) Failing after 10m39s
Replace storefront naming across source, tests, docs, config, and production scripts. Rename the legacy top-level app directory and Carplace component files, remove duplicate storefront startup scripts, and refresh the lockfile.
This commit is contained in:
@@ -27,7 +27,7 @@ function requireText(contents, required, label) {
|
||||
}
|
||||
}
|
||||
|
||||
for (const app of ['admin', 'api', 'dashboard', 'homepage', 'storefront']) {
|
||||
for (const app of ['admin', 'api', 'dashboard', 'homepage', 'carplace']) {
|
||||
if (!(await exists(path.join(root, app)))) errors.push(`missing application directory: ${app}`);
|
||||
if (!(await exists(path.join(root, app, 'package.json')))) errors.push(`${app}: missing package.json`);
|
||||
}
|
||||
@@ -104,11 +104,11 @@ for (const relative of authChecks) {
|
||||
}
|
||||
|
||||
for (const relative of [
|
||||
'storefront/src/components/public/SiteNavbar.tsx',
|
||||
'storefront/src/components/public/SiteFooter.tsx',
|
||||
'storefront/src/components/public/SitePageLayout.tsx',
|
||||
'carplace/src/components/public/SiteNavbar.tsx',
|
||||
'carplace/src/components/public/SiteFooter.tsx',
|
||||
'carplace/src/components/public/SitePageLayout.tsx',
|
||||
]) {
|
||||
if (!(await exists(path.join(root, relative)))) errors.push(`missing shared storefront component: ${relative}`);
|
||||
if (!(await exists(path.join(root, relative)))) errors.push(`missing shared carplace component: ${relative}`);
|
||||
}
|
||||
|
||||
if (errors.length) {
|
||||
|
||||
Reference in New Issue
Block a user