@vexblocks/cli 1.0.9 → 1.1.0

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 +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -491,7 +491,8 @@ async function installBackendPackage(targetPath, sourcePath, spinner) {
491
491
  "convex/auth.config.ts",
492
492
  "convex/http.ts",
493
493
  "better-auth",
494
- "emails"
494
+ "emails",
495
+ "vexblocks.config.ts"
495
496
  ];
496
497
  for (const file of cmsFiles) {
497
498
  const fullSourcePath = `${sourcePath}/${file}`;
@@ -578,7 +579,7 @@ async function mergeSchemaFile(schemaPath, spinner) {
578
579
  }
579
580
  spinner.text = "Merging CMS schema into existing schema.ts...";
580
581
  let newContent = content;
581
- const importStatement = 'import { cmsSchemaExports } from "./schema.cms"';
582
+ const importStatement = 'import { cmsSchemaExports } from "./cms/schema.cms"';
582
583
  const hasImport = content.includes(importStatement);
583
584
  if (!hasImport) {
584
585
  const importRegex = /^import\s+.*from\s+['"].*['"];?\s*$/gm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vexblocks/cli",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "CLI for adding VexBlocks Headless CMS to your Turborepo project",
5
5
  "keywords": [
6
6
  "cms",