@marvalt/digivalt-core 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/init.cjs +42 -0
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +4 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +7 -2
- package/template/.dev.vars.example +11 -0
- package/template/functions/api/fetch-with-access.ts +41 -0
- package/template/functions/api/gravity-forms-submit.ts +291 -0
- package/template/functions/api/mautic-submit.ts +19 -0
- package/template/functions/api/webhook.js +78 -0
- package/template/wrangler.toml +3 -0
package/dist/index.esm.js
CHANGED
|
@@ -2476,6 +2476,10 @@ async function generateAllData() {
|
|
|
2476
2476
|
dotenv.config();
|
|
2477
2477
|
dotenv.config({ path: '.env.local' });
|
|
2478
2478
|
console.log('🚀 Starting DigiVAlt static data generation...');
|
|
2479
|
+
if (process.env.VITE_IS_LOVABLE === 'true') {
|
|
2480
|
+
console.log('⚡ Lovable Environment Detected (VITE_IS_LOVABLE). Skipping static data generation to use GitHub synced static files.');
|
|
2481
|
+
return;
|
|
2482
|
+
}
|
|
2479
2483
|
const wpSuccess = await generateWordPressData();
|
|
2480
2484
|
const gfSuccess = await generateGravityFormsData();
|
|
2481
2485
|
const mauticSuccess = await generateMauticData();
|