♻️ 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:
38
dealplustech-astro/node_modules/sharp/install/build.js
generated
vendored
38
dealplustech-astro/node_modules/sharp/install/build.js
generated
vendored
@@ -1,38 +0,0 @@
|
||||
/*!
|
||||
Copyright 2013 Lovell Fuller and others.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
const {
|
||||
useGlobalLibvips,
|
||||
globalLibvipsVersion,
|
||||
log,
|
||||
spawnRebuild,
|
||||
} = require('../lib/libvips');
|
||||
|
||||
log('Attempting to build from source via node-gyp');
|
||||
log('See https://sharp.pixelplumbing.com/install#building-from-source');
|
||||
|
||||
try {
|
||||
const addonApi = require('node-addon-api');
|
||||
log(`Found node-addon-api ${addonApi.version || ''}`);
|
||||
} catch (_err) {
|
||||
log('Please add node-addon-api to your dependencies');
|
||||
process.exit(1);
|
||||
}
|
||||
try {
|
||||
const gyp = require('node-gyp');
|
||||
log(`Found node-gyp ${gyp().version}`);
|
||||
} catch (_err) {
|
||||
log('Please add node-gyp to your dependencies');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
if (useGlobalLibvips(log)) {
|
||||
log(`Detected globally-installed libvips v${globalLibvipsVersion()}`);
|
||||
}
|
||||
|
||||
const status = spawnRebuild();
|
||||
if (status !== 0) {
|
||||
process.exit(status);
|
||||
}
|
||||
14
dealplustech-astro/node_modules/sharp/install/check.js
generated
vendored
14
dealplustech-astro/node_modules/sharp/install/check.js
generated
vendored
@@ -1,14 +0,0 @@
|
||||
/*!
|
||||
Copyright 2013 Lovell Fuller and others.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
try {
|
||||
const { useGlobalLibvips } = require('../lib/libvips');
|
||||
if (useGlobalLibvips() || process.env.npm_config_build_from_source) {
|
||||
process.exit(1);
|
||||
}
|
||||
} catch (err) {
|
||||
const summary = err.message.split(/\n/).slice(0, 1);
|
||||
console.log(`sharp: skipping install check: ${summary}`);
|
||||
}
|
||||
Reference in New Issue
Block a user