@vexblocks/cli 1.1.1 → 1.1.2
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/dist/index.js +13 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33,7 +33,11 @@ var PROTECTED_FILES = [
|
|
|
33
33
|
"packages/backend/convex/cms/vexblocks.config.ts",
|
|
34
34
|
"packages/backend/.env",
|
|
35
35
|
"packages/backend/.env.local",
|
|
36
|
-
"packages/cms-shared/src/types/generated.ts"
|
|
36
|
+
"packages/cms-shared/src/types/generated.ts",
|
|
37
|
+
"packages/backend/emails/change-email-template.ts",
|
|
38
|
+
"packages/backend/emails/otp-email-template.ts",
|
|
39
|
+
"packages/backend/emails/delete-account-template.ts",
|
|
40
|
+
"packages/backend/emails/invite-email-template.ts"
|
|
37
41
|
];
|
|
38
42
|
var PACKAGE_DEPENDENCIES = {
|
|
39
43
|
cms: ["backend", "shared"],
|
|
@@ -474,7 +478,14 @@ async function installBackendPackage(targetPath, sourcePath, spinner) {
|
|
|
474
478
|
const hasSchema = await fs4.pathExists(existingSchemaPath);
|
|
475
479
|
if (hasSchema) {
|
|
476
480
|
spinner.text = "Detected existing Convex schema, merging CMS tables...";
|
|
477
|
-
const cmsFiles = [
|
|
481
|
+
const cmsFiles = [
|
|
482
|
+
"convex/cms",
|
|
483
|
+
"convex/auth.ts",
|
|
484
|
+
"convex/auth.config.ts",
|
|
485
|
+
"convex/http.ts",
|
|
486
|
+
"better-auth",
|
|
487
|
+
"emails"
|
|
488
|
+
];
|
|
478
489
|
for (const file of cmsFiles) {
|
|
479
490
|
const fullSourcePath = `${sourcePath}/${file}`;
|
|
480
491
|
const fullTargetPath = path4.join(targetPath, file);
|