@vexblocks/cli 1.0.7 → 1.0.9
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32,7 +32,8 @@ var MANAGED_PACKAGES = ["cms", "shared", "types"];
|
|
|
32
32
|
var PROTECTED_FILES = [
|
|
33
33
|
"packages/backend/vexblocks.config.ts",
|
|
34
34
|
"packages/backend/.env",
|
|
35
|
-
"packages/backend/.env.local"
|
|
35
|
+
"packages/backend/.env.local",
|
|
36
|
+
"packages/cms-shared/src/types/generated.ts"
|
|
36
37
|
];
|
|
37
38
|
var PACKAGE_DEPENDENCIES = {
|
|
38
39
|
cms: ["backend", "shared"],
|
|
@@ -486,7 +487,6 @@ async function installBackendPackage(targetPath, sourcePath, spinner) {
|
|
|
486
487
|
logger.info(`Backed up existing schema to ${path4.basename(backupPath)}`);
|
|
487
488
|
const cmsFiles = [
|
|
488
489
|
"convex/cms",
|
|
489
|
-
"convex/schema.cms.ts",
|
|
490
490
|
"convex/auth.ts",
|
|
491
491
|
"convex/auth.config.ts",
|
|
492
492
|
"convex/http.ts",
|
|
@@ -1160,7 +1160,7 @@ async function upgradePackage(cwd, pkg, version, manifest, options) {
|
|
|
1160
1160
|
});
|
|
1161
1161
|
} else {
|
|
1162
1162
|
spinner.text = `Upgrading CMS files in ${PACKAGE_NAMES[pkg]}...`;
|
|
1163
|
-
const cmsFiles = ["convex/cms"
|
|
1163
|
+
const cmsFiles = ["convex/cms"];
|
|
1164
1164
|
for (const file of cmsFiles) {
|
|
1165
1165
|
const targetFilePath = path7.join(targetPath, file);
|
|
1166
1166
|
const sourceFilePath = `packages/backend/${file}`;
|