@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.
Files changed (2) hide show
  1. package/dist/index.js +13 -2
  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 = ["convex/cms", "convex/auth.ts", "convex/auth.config.ts", "convex/http.ts", "better-auth", "emails"];
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vexblocks/cli",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "CLI for adding VexBlocks Headless CMS to your Turborepo project",
5
5
  "keywords": [
6
6
  "cms",