@vexblocks/cli 2.0.7 → 2.0.8

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -249,7 +249,8 @@ async function downloadAndExtractPackage(packagePath, targetDir, onProgress, opt
249
249
  const localFiles = await collectLocalFiles(targetDir);
250
250
  for (const localFile of localFiles) {
251
251
  const relPath = path2.relative(targetDir, localFile);
252
- if (!remoteRelativePaths.has(relPath)) {
252
+ const isHidden = relPath.split(path2.sep).some((segment) => segment.startsWith("."));
253
+ if (!isHidden && !remoteRelativePaths.has(relPath)) {
253
254
  await fs2.remove(localFile);
254
255
  }
255
256
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vexblocks/cli",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "CLI for adding VexBlocks Headless CMS to your Turborepo project",
5
5
  "keywords": [
6
6
  "cms",