♻️ Restructure: Move Astro to repository root
BREAKING CHANGE: Astro project is now at repository root - Removed dealplustech-astro subdirectory - Moved all Astro files to root - Updated PostCSS config to .cjs - Removed old Next.js files ✅ 11 pages built successfully ✅ Cookie consent banner included ✅ Privacy/Terms links in footer ✅ Ready for Easypanel deployment (no root dir needed) Migration path: - Old structure: /dealplustech-astro/ - New structure: / (root)
This commit is contained in:
16
dealplustech-astro/node_modules/astro/dist/env/errors.js
generated
vendored
16
dealplustech-astro/node_modules/astro/dist/env/errors.js
generated
vendored
@@ -1,16 +0,0 @@
|
||||
function invalidVariablesToError(invalid) {
|
||||
const _errors = [];
|
||||
for (const { key, type, errors } of invalid) {
|
||||
if (errors[0] === "missing") {
|
||||
_errors.push(`${key} is missing`);
|
||||
} else if (errors[0] === "type") {
|
||||
_errors.push(`${key}'s type is invalid, expected: ${type}`);
|
||||
} else {
|
||||
_errors.push(`The following constraints for ${key} are not met: ${errors.join(", ")}`);
|
||||
}
|
||||
}
|
||||
return _errors;
|
||||
}
|
||||
export {
|
||||
invalidVariablesToError
|
||||
};
|
||||
Reference in New Issue
Block a user