@marvalt/digivalt-core 0.2.22 → 0.2.25
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/CHANGELOG.md +10 -0
- package/bin/env-example-fragments.cjs +7 -0
- package/bin/init.cjs +2 -0
- package/dist/generators.cjs +35 -2541
- package/dist/generators.cjs.map +1 -1
- package/dist/generators.esm.js +32 -2538
- package/dist/generators.esm.js.map +1 -1
- package/dist/index.cjs +49 -2555
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +46 -2552
- package/dist/index.esm.js.map +1 -1
- package/docs/ENVIRONMENT.md +1 -1
- package/package.json +2 -2
- package/template/scripts/deploy-pages.js +88 -0
- package/template/scripts/deploy-secrets.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.25] - 2026-07-08
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Rollup externals:** `@marvalt/plister/generators` (and other subpath deps) are no longer inlined into `dist/generators.*` — build uses installed plister restapi mode correctly.
|
|
12
|
+
|
|
13
|
+
## [0.2.24] - 2026-07-08
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- **`generateAllData`**: Mautic, SuiteCRM, PHPList, and Google Reviews are **warn-only** — build no longer exits when optional integration generators fail. Only WordPress and Gravity Forms failures block the build.
|
|
17
|
+
|
|
8
18
|
## [0.2.22] - 2026-06-18
|
|
9
19
|
|
|
10
20
|
### Added
|
|
@@ -91,6 +91,13 @@ VITE_SUITECRM_PASSWORD=
|
|
|
91
91
|
# Supabase service role (only if needed; never expose in client bundles inappropriately)
|
|
92
92
|
# VITE_SUPABASE_SERVICE_ROLE_KEY=
|
|
93
93
|
|
|
94
|
+
# PHPList REST API (build generator + Pages Function proxy — prefer without VITE_ prefix)
|
|
95
|
+
PHPLIST_API_USER=
|
|
96
|
+
PHPLIST_API_PASSWORD=
|
|
97
|
+
# Optional Node aliases (same values; uploaded by deploy-secrets if set)
|
|
98
|
+
# PHPLIST_URL=
|
|
99
|
+
# PHPLIST_LIST_ID=
|
|
100
|
+
|
|
94
101
|
# cf-wp-webhook-refresh + Cloudflare Pages Functions
|
|
95
102
|
VITE_FRONTEND_SECRET=
|
|
96
103
|
VITE_WP_REFRESH_SECRET=
|
package/bin/init.cjs
CHANGED
|
@@ -29,6 +29,7 @@ const TEMPLATE_MANAGED_FILES = new Set([
|
|
|
29
29
|
'functions/api/mautic-submit.ts',
|
|
30
30
|
'functions/api/webhook.js',
|
|
31
31
|
'scripts/deploy-secrets.js',
|
|
32
|
+
'scripts/deploy-pages.js',
|
|
32
33
|
'scripts/generate.ts',
|
|
33
34
|
'wrangler.toml',
|
|
34
35
|
]);
|
|
@@ -465,6 +466,7 @@ function printSummary() {
|
|
|
465
466
|
console.log('4. Confirm `wrangler.toml` matches your Cloudflare Pages project name.');
|
|
466
467
|
console.log('5. Run `npm run build` to verify static generation now runs before `vite build`.');
|
|
467
468
|
console.log('6. Run `node scripts/deploy-secrets.js` when you are ready to sync allowed env vars to Cloudflare Pages.');
|
|
469
|
+
console.log('7. Run `node scripts/deploy-pages.js` (or `npm run deploy:pages`) to build and deploy via Wrangler.');
|
|
468
470
|
}
|
|
469
471
|
|
|
470
472
|
try {
|